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 : 214284 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 (2715390) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2715390) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945658 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2715390'] with mtr_portfolio_ids : ['21945658'] and first list_photo_ids : [] new path : /proc/214284/ Name: python3 Umask: 0002 State: R (running) Tgid: 214284 Ngid: 0 Pid: 214284 PPid: 214280 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 214284 NSpid: 214284 NSpgid: 213303 NSsid: 213303 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97868 kB VmRSS: 97868 kB RssAnon: 59760 kB RssFile: 38108 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 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: 46 nonvoluntary_ctxt_switches: 107 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '214284', 'Ngid': '0', 'Pid': '214284', 'PPid': '214280', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '214284', 'NSpid': '214284', 'NSpgid': '213303', 'NSsid': '213303', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97868 kB', 'VmRSS': '97868 kB', 'RssAnon': '59760 kB', 'RssFile': '38108 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 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': '46', 'nonvoluntary_ctxt_switches': '107'} ('datou_batch_current', '214284', '1106928', '0', '1106928', '865676', '97868', b'', 'marlene', '2715390') 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 (21945658) 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 (2715390 ) ) 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 (21945658) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1349286883, 'portfolio_id': 21945658}, {'photo_id': 1349286781, 'portfolio_id': 21945658}, {'photo_id': 1349286777, 'portfolio_id': 21945658}, {'photo_id': 1349286503, 'portfolio_id': 21945658}, {'photo_id': 1349286498, 'portfolio_id': 21945658}, {'photo_id': 1349286459, 'portfolio_id': 21945658}, {'photo_id': 1349286454, 'portfolio_id': 21945658}, {'photo_id': 1349286449, 'portfolio_id': 21945658}, {'photo_id': 1349286443, 'portfolio_id': 21945658}, {'photo_id': 1349286409, 'portfolio_id': 21945658}, {'photo_id': 1349286407, 'portfolio_id': 21945658}, {'photo_id': 1349286404, 'portfolio_id': 21945658}, {'photo_id': 1349286377, 'portfolio_id': 21945658}, {'photo_id': 1349286371, 'portfolio_id': 21945658}, {'photo_id': 1349286365, 'portfolio_id': 21945658}, {'photo_id': 1349286361, 'portfolio_id': 21945658}, {'photo_id': 1349286355, 'portfolio_id': 21945658}, {'photo_id': 1349286352, 'portfolio_id': 21945658}, {'photo_id': 1349286311, 'portfolio_id': 21945658}, {'photo_id': 1349286306, 'portfolio_id': 21945658}, {'photo_id': 1349286302, 'portfolio_id': 21945658}, {'photo_id': 1349286296, 'portfolio_id': 21945658}, {'photo_id': 1349286291, 'portfolio_id': 21945658}, {'photo_id': 1349286283, 'portfolio_id': 21945658}, {'photo_id': 1349286247, 'portfolio_id': 21945658}, {'photo_id': 1349286244, 'portfolio_id': 21945658}, {'photo_id': 1349286239, 'portfolio_id': 21945658}, {'photo_id': 1349286234, 'portfolio_id': 21945658}, {'photo_id': 1349286081, 'portfolio_id': 21945658}, {'photo_id': 1349286077, 'portfolio_id': 21945658}, {'photo_id': 1349286074, 'portfolio_id': 21945658}, {'photo_id': 1349286072, 'portfolio_id': 21945658}, {'photo_id': 1349286012, 'portfolio_id': 21945658}, {'photo_id': 1349286007, 'portfolio_id': 21945658}, {'photo_id': 1349285995, 'portfolio_id': 21945658}, {'photo_id': 1349285984, 'portfolio_id': 21945658}, {'photo_id': 1349285967, 'portfolio_id': 21945658}, {'photo_id': 1349285688, 'portfolio_id': 21945658}, {'photo_id': 1349285667, 'portfolio_id': 21945658}, {'photo_id': 1349285641, 'portfolio_id': 21945658}] map_portfolio_id_photo_id: {21945658: [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641]} ##### 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.04432868957519531 #### 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 2 05:41:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21945658) 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 : 21945658 get user id for portfolio 21945658 get sub ptf for main ptf 21945658, type 3726 and hashtags ['plastique', 'Carton_gris', 'environnement', 'metal', 'flou', 'mal_croppe', 'Teint_Dans_La_Masse', 'Carton_brun', 'kraft', 'papier', 'autre_refus', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21945658 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','environnement','metal','flou','mal_croppe','Teint_Dans_La_Masse','Carton_brun','kraft','papier','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21945658 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','environnement','metal','flou','mal_croppe','Teint_Dans_La_Masse','Carton_brun','kraft','papier','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21945658, 'sub_port_id': 21945662, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448100, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'autre_refus': {'main_port_id': 21945658, 'sub_port_id': 21945663, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448101, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'metal': {'main_port_id': 21945658, 'sub_port_id': 21945664, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448102, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'flou': {'main_port_id': 21945658, 'sub_port_id': 21945665, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448103, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'plastique': {'main_port_id': 21945658, 'sub_port_id': 21945666, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448104, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'Teint_Dans_La_Masse': {'main_port_id': 21945658, 'sub_port_id': 21945667, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448105, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'papier': {'main_port_id': 21945658, 'sub_port_id': 21945668, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448106, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'cartonnette': {'main_port_id': 21945658, 'sub_port_id': 21945669, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448107, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'Carton_gris': {'main_port_id': 21945658, 'sub_port_id': 21945670, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448108, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'kraft': {'main_port_id': 21945658, 'sub_port_id': 21945671, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448109, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'environnement': {'main_port_id': 21945658, 'sub_port_id': 21945672, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448110, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}, 'Carton_brun': {'main_port_id': 21945658, 'sub_port_id': 21945673, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448111, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21945662 , 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=21945658 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 (21945662) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945663 , 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=21945658 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 (21945663) result : ((1349286285,), (1349286489,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945664 , 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=21945658 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 (21945664) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945665 , 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=21945658 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 (21945665) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945666 , 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=21945658 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 (21945666) result : ((1349286521,), (1349286522,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945667 , 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=21945658 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 (21945667) result : ((1349286284,), (1349286379,), (1349286483,), (1349286484,), (1349286485,), (1349286486,), (1349286487,), (1349286504,), (1349286505,), (1349286982,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945668 , 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=21945658 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 (21945668) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945669 , 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=21945658 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 (21945669) result : ((1349286258,), (1349286287,), (1349286380,), (1349286491,), (1349286564,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945670 , 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=21945658 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 (21945670) result : ((1349286255,), (1349286256,), (1349286274,), (1349286490,), (1349286508,), (1349286509,), (1349286510,), (1349286511,), (1349286562,), (1349286563,), (1349286983,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945671 , 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=21945658 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 (21945671) result : ((1349286493,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945672 , 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=21945658 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 (21945672) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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 21945673 , 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=21945658 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 (21945673) result : ((1349286259,), (1349286492,), (1349286514,), (1349286515,), (1349286516,), (1349286517,), (1349286518,), (1349286519,), (1349286520,), (1349286565,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21945658) result : ((1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,)) 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`=21945658 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','environnement','metal','flou','mal_croppe','Teint_Dans_La_Masse','Carton_brun','kraft','papier','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21945658 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','environnement','metal','flou','mal_croppe','Teint_Dans_La_Masse','Carton_brun','kraft','papier','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 21945658, 'sub_port_id': 21945674, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448112, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'autre_refus': {'main_port_id': 21945658, 'sub_port_id': 21945675, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448113, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'metal': {'main_port_id': 21945658, 'sub_port_id': 21945676, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448114, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'flou': {'main_port_id': 21945658, 'sub_port_id': 21945677, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448115, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'plastique': {'main_port_id': 21945658, 'sub_port_id': 21945678, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448116, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 21945658, 'sub_port_id': 21945679, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448117, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'papier': {'main_port_id': 21945658, 'sub_port_id': 21945680, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448118, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'cartonnette': {'main_port_id': 21945658, 'sub_port_id': 21945681, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448119, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'Carton_gris': {'main_port_id': 21945658, 'sub_port_id': 21945682, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448120, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'kraft': {'main_port_id': 21945658, 'sub_port_id': 21945683, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448121, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'environnement': {'main_port_id': 21945658, 'sub_port_id': 21945684, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448122, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 21, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}, 'Carton_brun': {'main_port_id': 21945658, 'sub_port_id': 21945685, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14448123, 'last_updated_at': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_desc': datetime.datetime(2025, 4, 1, 14, 33), 'last_updated_at_asc': datetime.datetime(2025, 4, 1, 14, 21, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945674,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945662 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945675,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945663 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945676,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945664 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945677,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945665 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945678,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945666 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945679,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945667 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945680,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945668 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945681,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945669 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945682,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945670 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945683,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945671 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945684,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945672 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21945685,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21945673 lien utilise dans velours : https://www.fotonower.com/velours/21945674,21945675,21945676,21945677,21945678,21945679,21945680,21945681,21945682,21945683,21945684,21945685?tags=mal_croppe,autre_refus,metal,flou,plastique,Teint_Dans_La_Masse,papier,cartonnette,Carton_gris,kraft,environnement,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21945658]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] map_info['map_portfolio_photo'] : {21945658: [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641]} final : False mtd_id 4302 list_pids : [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] Looping around the photos to save general results len do output : 1 /21945658. 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, '2715390') ('4302', '21945658', '1349286883', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21945658', "{'mal_croppe': 21945662, 'autre_refus': 21945663, 'metal': 21945664, 'flou': 21945665, 'plastique': 21945666, 'Teint_Dans_La_Masse': 21945667, 'papier': 21945668, 'cartonnette': 21945669, 'Carton_gris': 21945670, 'kraft': 21945671, 'environnement': 21945672, 'Carton_brun': 21945673}", None, None, None, None, '2715390'), ('4302', '21945658', '1349286883', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390')] time used for this insertion : 0.020183324813842773 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5562310218811035 time spend to save output : 0.020692825317382812 total time spend for step 1 : 2.5769238471984863 step2:final Wed Apr 2 05:41: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 (21945658) 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 21945658 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349285688,1349285667,1349285641,1349286012,1349286007,1349285995,1349285984,1349285967,1349286081,1349286077,1349286074,1349286072,1349286247,1349286244,1349286239,1349286234,1349286311,1349286306,1349286302,1349286296,1349286291,1349286283,1349286377,1349286371,1349286365,1349286361,1349286355,1349286352,1349286409,1349286407,1349286404,1349286459,1349286454,1349286449,1349286443,1349286503,1349286498,1349286781,1349286777,1349286883); 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([21945658]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} new output for save of step final : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] map_info['map_portfolio_photo'] : {21945658: [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641]} final : False mtd_id 4302 list_pids : [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] Looping around the photos to save general results len do output : 40 /1349286883.Didn't retrieve data . /1349286781.Didn't retrieve data . /1349286777.Didn't retrieve data . /1349286503.Didn't retrieve data . /1349286498.Didn't retrieve data . /1349286459.Didn't retrieve data . /1349286454.Didn't retrieve data . /1349286449.Didn't retrieve data . /1349286443.Didn't retrieve data . /1349286409.Didn't retrieve data . /1349286407.Didn't retrieve data . /1349286404.Didn't retrieve data . /1349286377.Didn't retrieve data . /1349286371.Didn't retrieve data . /1349286365.Didn't retrieve data . /1349286361.Didn't retrieve data . /1349286355.Didn't retrieve data . /1349286352.Didn't retrieve data . /1349286311.Didn't retrieve data . /1349286306.Didn't retrieve data . /1349286302.Didn't retrieve data . /1349286296.Didn't retrieve data . /1349286291.Didn't retrieve data . /1349286283.Didn't retrieve data . /1349286247.Didn't retrieve data . /1349286244.Didn't retrieve data . /1349286239.Didn't retrieve data . /1349286234.Didn't retrieve data . /1349286081.Didn't retrieve data . /1349286077.Didn't retrieve data . /1349286074.Didn't retrieve data . /1349286072.Didn't retrieve data . /1349286012.Didn't retrieve data . /1349286007.Didn't retrieve data . /1349285995.Didn't retrieve data . /1349285984.Didn't retrieve data . /1349285967.Didn't retrieve data . /1349285688.Didn't retrieve data . /1349285667.Didn't retrieve data . /1349285641.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, '2715390') ('4302', '21945658', '1349286883', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21945658', '1349286883', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286781', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286777', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286503', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286498', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286459', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286454', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286449', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286443', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286409', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286407', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286404', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286377', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286371', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286365', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286361', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286355', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286352', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286311', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286306', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286302', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286296', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286291', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286283', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286247', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286244', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286239', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286234', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286081', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286077', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286074', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286072', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286012', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349286007', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349285995', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349285984', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349285967', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349285688', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349285667', '0.043950260118446084', None, None, None, None, '2715390'), ('4302', '21945658', '1349285641', '0.043950260118446084', None, None, None, None, '2715390')] time used for this insertion : 0.1944882869720459 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0675051212310791 time spend to save output : 0.19570136070251465 total time spend for step 2 : 0.26320648193359375 step3:velours_tree Wed Apr 2 05:41: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 : {21945658: [{'mal_croppe': 21945662, 'autre_refus': 21945663, 'metal': 21945664, 'flou': 21945665, 'plastique': 21945666, 'Teint_Dans_La_Masse': 21945667, 'papier': 21945668, 'cartonnette': 21945669, 'Carton_gris': 21945670, 'kraft': 21945671, 'environnement': 21945672, 'Carton_brun': 21945673}]} input_args_next_step : {21945658: ()} output_args : {21945658: [{'mal_croppe': 21945662, 'autre_refus': 21945663, 'metal': 21945664, 'flou': 21945665, 'plastique': 21945666, 'Teint_Dans_La_Masse': 21945667, 'papier': 21945668, 'cartonnette': 21945669, 'Carton_gris': 21945670, 'kraft': 21945671, 'environnement': 21945672, 'Carton_brun': 21945673}]} args : 21945658 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 : ({'mal_croppe': 21945662, 'autre_refus': 21945663, 'metal': 21945664, 'flou': 21945665, 'plastique': 21945666, 'Teint_Dans_La_Masse': 21945667, 'papier': 21945668, 'cartonnette': 21945669, 'Carton_gris': 21945670, 'kraft': 21945671, 'environnement': 21945672, 'Carton_brun': 21945673},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21945658) 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([21945658]) 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.2766098976135254 time spend to save output : 3.886222839355469e-05 total time spend for step 3 : 0.27664875984191895 step4:send_mail_cod Wed Apr 2 05:41: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 : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} input_args_next_step : {1349286883: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286883 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286781 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286777 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286503 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286498 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286459 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286454 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286449 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286443 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286409 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286407 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286404 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286377 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286371 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286365 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286361 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286355 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286352 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286311 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286306 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286302 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286296 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286291 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286283 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286247 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286244 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286239 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286234 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286081 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286077 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286074 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286072 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286012 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349286007 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349285995 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349285984 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349285967 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349285688 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349285667 depend.output_id : 0 input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ()} output_args : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',)} args : 1349285641 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 : {21945658: [{'mal_croppe': 21945662, 'autre_refus': 21945663, 'metal': 21945664, 'flou': 21945665, 'plastique': 21945666, 'Teint_Dans_La_Masse': 21945667, 'papier': 21945668, 'cartonnette': 21945669, 'Carton_gris': 21945670, 'kraft': 21945671, 'environnement': 21945672, 'Carton_brun': 21945673}]} input_args_next_step : {1349286883: ('0.043950260118446084',), 1349286781: ('0.043950260118446084',), 1349286777: ('0.043950260118446084',), 1349286503: ('0.043950260118446084',), 1349286498: ('0.043950260118446084',), 1349286459: ('0.043950260118446084',), 1349286454: ('0.043950260118446084',), 1349286449: ('0.043950260118446084',), 1349286443: ('0.043950260118446084',), 1349286409: ('0.043950260118446084',), 1349286407: ('0.043950260118446084',), 1349286404: ('0.043950260118446084',), 1349286377: ('0.043950260118446084',), 1349286371: ('0.043950260118446084',), 1349286365: ('0.043950260118446084',), 1349286361: ('0.043950260118446084',), 1349286355: ('0.043950260118446084',), 1349286352: ('0.043950260118446084',), 1349286311: ('0.043950260118446084',), 1349286306: ('0.043950260118446084',), 1349286302: ('0.043950260118446084',), 1349286296: ('0.043950260118446084',), 1349286291: ('0.043950260118446084',), 1349286283: ('0.043950260118446084',), 1349286247: ('0.043950260118446084',), 1349286244: ('0.043950260118446084',), 1349286239: ('0.043950260118446084',), 1349286234: ('0.043950260118446084',), 1349286081: ('0.043950260118446084',), 1349286077: ('0.043950260118446084',), 1349286074: ('0.043950260118446084',), 1349286072: ('0.043950260118446084',), 1349286012: ('0.043950260118446084',), 1349286007: ('0.043950260118446084',), 1349285995: ('0.043950260118446084',), 1349285984: ('0.043950260118446084',), 1349285967: ('0.043950260118446084',), 1349285688: ('0.043950260118446084',), 1349285667: ('0.043950260118446084',), 1349285641: ('0.043950260118446084',), 21945658: ()} output_args : {21945658: [{'mal_croppe': 21945662, 'autre_refus': 21945663, 'metal': 21945664, 'flou': 21945665, 'plastique': 21945666, 'Teint_Dans_La_Masse': 21945667, 'papier': 21945668, 'cartonnette': 21945669, 'Carton_gris': 21945670, 'kraft': 21945671, 'environnement': 21945672, 'Carton_brun': 21945673}]} args : 21945658 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :41, first value : ('0.043950260118446084',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21945658) 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 (1349286883,1349286781,1349286777,1349286503,1349286498,1349286459,1349286454,1349286449,1349286443,1349286409,1349286407,1349286404,1349286377,1349286371,1349286365,1349286361,1349286355,1349286352,1349286311,1349286306,1349286302,1349286296,1349286291,1349286283,1349286247,1349286244,1349286239,1349286234,1349286081,1349286077,1349286074,1349286072,1349286012,1349286007,1349285995,1349285984,1349285967,1349285688,1349285667,1349285641) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349285641 begin to download photo : 1349286074 begin to download photo : 1349286296 begin to download photo : 1349286377 begin to download photo : 1349286503 download finish for photo 1349286503 begin to download photo : 1349286777 download finish for photo 1349286074 begin to download photo : 1349286077 download finish for photo 1349285641 begin to download photo : 1349285667 download finish for photo 1349286296 begin to download photo : 1349286302 download finish for photo 1349286377 begin to download photo : 1349286404 download finish for photo 1349286777 begin to download photo : 1349286781 download finish for photo 1349285667 begin to download photo : 1349285688 download finish for photo 1349286404 begin to download photo : 1349286407 download finish for photo 1349286302 begin to download photo : 1349286306 download finish for photo 1349286077 begin to download photo : 1349286081 download finish for photo 1349286781 begin to download photo : 1349286883 download finish for photo 1349285688 begin to download photo : 1349285967 download finish for photo 1349286306 begin to download photo : 1349286311 download finish for photo 1349286407 begin to download photo : 1349286409 download finish for photo 1349286081 begin to download photo : 1349286234 download finish for photo 1349286883 download finish for photo 1349286311 begin to download photo : 1349286352 download finish for photo 1349285967 begin to download photo : 1349285984 download finish for photo 1349286409 begin to download photo : 1349286443 download finish for photo 1349286234 begin to download photo : 1349286239 download finish for photo 1349286352 begin to download photo : 1349286355 download finish for photo 1349286443 begin to download photo : 1349286449 download finish for photo 1349285984 begin to download photo : 1349285995 download finish for photo 1349286239 begin to download photo : 1349286244 download finish for photo 1349286355 begin to download photo : 1349286361 download finish for photo 1349286449 begin to download photo : 1349286454 download finish for photo 1349285995 begin to download photo : 1349286007 download finish for photo 1349286244 begin to download photo : 1349286247 download finish for photo 1349286361 begin to download photo : 1349286365 download finish for photo 1349286454 begin to download photo : 1349286459 download finish for photo 1349286007 begin to download photo : 1349286012 download finish for photo 1349286247 begin to download photo : 1349286283 download finish for photo 1349286459 begin to download photo : 1349286498 download finish for photo 1349286012 begin to download photo : 1349286072 download finish for photo 1349286365 begin to download photo : 1349286371 download finish for photo 1349286283 begin to download photo : 1349286291 download finish for photo 1349286072 download finish for photo 1349286291 download finish for photo 1349286371 download finish for photo 1349286498 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette219456621743565292/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P21945658_02-04-2025_05_41_32.pdf 21945662 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=21945662 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219456621743565292 21945663 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=21945663 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286285: '1743509972_278689_1349285967_e68b2ed4d53367fc21504ec016a7c19b_rle_crop_3742778971_0.png', 1349286489: '1743510193_280787_1349286355_aed8d8f30181c0119816b6382fd6a06e_rle_crop_3742782832_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/a9a7f7e475514951aad18a634e519fee_59916581.png change filename to text .imagette219456631743565292/ imagette219456631743565292/1743509972_278689_1349285967_e68b2ed4d53367fc21504ec016a7c19b_rle_crop_3742778971_0.png.png imagette219456631743565292/1743510193_280787_1349286355_aed8d8f30181c0119816b6382fd6a06e_rle_crop_3742782832_0.png.png imagette219456641743565292/ imagette219456651743565292/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/771e64440ce31cb98c3ece38c761b4db_21055254.png imagette219456631743565292 21945664 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=21945664 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219456641743565292 21945665 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=21945665 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette219456651743565292 21945666 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=21945666 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286521: '1743510212_281050_1349286306_0a840e56b8c5df4928f49633367a1f49_rle_crop_3742782869_0.png', 1349286522: '1743510212_281050_1349286302_b10d75a4d089699a63561c929ed08a3e_rle_crop_3742782879_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/85d98cf58bfcb253bdb1a10ce4dcd8d5_51163855.png change filename to text .imagette219456661743565292/ imagette219456661743565292/1743510212_281050_1349286306_0a840e56b8c5df4928f49633367a1f49_rle_crop_3742782869_0.png.png imagette219456661743565292/1743510212_281050_1349286302_b10d75a4d089699a63561c929ed08a3e_rle_crop_3742782879_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/dac5be2b19d9e9057fb7e7eb69825216_11325051.png imagette219456661743565292 21945669 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=21945669 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286258: '1743509931_278208_1349286074_b45671186474353d09064309df383ca7_rle_crop_3742778710_0.png', 1349286287: '1743509972_278689_1349285984_e1515b68b4656ce72d4bcc39f6e1d977_rle_crop_3742778959_0.png', 1349286380: '1743510051_279514_1349286244_e3a201f6dcfffdb569ed9f5dc48d4a7e_rle_crop_3742780886_0.png', 1349286491: '1743510193_280787_1349286365_d4376f636b4216ffa02812e4cebeb3df_rle_crop_3742782804_0.png', 1349286564: '1743510301_282200_1349286449_f5d932f25cda881bf21a7866a4f7b1d6_rle_crop_3742783495_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/9123581df7f831da610f17006702b21c_64890926.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/4dd148eaa7ca5a13512f5952904518b5_94003612.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/8aeefa4ea4131d5688c74fac8a3f6157_16687573.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/7d14cf9026bf2b8ea88dcd5fcb9b8193_45416068.png change filename to text .imagette219456691743565292/ imagette219456691743565292/1743510301_282200_1349286449_f5d932f25cda881bf21a7866a4f7b1d6_rle_crop_3742783495_0.png.png imagette219456691743565292/1743510193_280787_1349286365_d4376f636b4216ffa02812e4cebeb3df_rle_crop_3742782804_0.png.png imagette219456691743565292/1743509972_278689_1349285984_e1515b68b4656ce72d4bcc39f6e1d977_rle_crop_3742778959_0.png.png imagette219456691743565292/1743510051_279514_1349286244_e3a201f6dcfffdb569ed9f5dc48d4a7e_rle_crop_3742780886_0.png.png imagette219456691743565292/1743509931_278208_1349286074_b45671186474353d09064309df383ca7_rle_crop_3742778710_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/32b0900df0216590c1737ff28ab2d58b_2215238.png imagette219456691743565292 21945671 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=21945671 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286493: '1743510193_280787_1349286361_69109de8c071c54839bef14b00b6afab_rle_crop_3742782819_0.png'} change filename to text .imagette219456711743565293/ imagette219456711743565293/1743510193_280787_1349286361_69109de8c071c54839bef14b00b6afab_rle_crop_3742782819_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/c63d6a1a9e39e552ce4e00109c7dd539_76022423.png imagette219456711743565293 21945667 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=21945667 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286284: '1743509972_278689_1349285995_62d8a361bde5d0f294bf806028f7e42f_rle_crop_3742778950_0.png', 1349286379: '1743510051_279514_1349286239_9cd673d8684e555630e2f121847ed522_rle_crop_3742780899_0.png', 1349286483: '1743510193_280787_1349286409_891cf14700a850cc1d194cee414aef21_rle_crop_3742782777_0.png', 1349286484: '1743510193_280787_1349286371_f507e19a457fa3292d3f95156d423794_rle_crop_3742782786_0.png', 1349286485: '1743510193_280787_1349286371_f507e19a457fa3292d3f95156d423794_rle_crop_3742782787_0.png', 1349286486: '1743510193_280787_1349286361_69109de8c071c54839bef14b00b6afab_rle_crop_3742782816_0.png', 1349286487: '1743510193_280787_1349286361_69109de8c071c54839bef14b00b6afab_rle_crop_3742782823_0.png', 1349286504: '1743510212_281050_1349286306_0a840e56b8c5df4928f49633367a1f49_rle_crop_3742782866_0.png', 1349286505: '1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782910_0.png', 1349286982: '1743510791_286174_1349286883_7039faee3a6ed7c6a5f2152a485e2b43_rle_crop_3742788171_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/74fb6837d22979270b46d2ce7eacf006_99168156.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/c0e40127ef52132c2ec725296f39ea11_17430334.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/d1e4dbe7d437c7b0c7de5644ee5514de_3082916.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/1c7bdad1afb2f2c4b1e2586743482414_31625864.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/146e0c8ec03fa92d03fa6a4e4ba00a3c_85682232.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/33a9a219e020372edbdf39a9b0503145_28720059.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/57c4bf5a2d632181a1e9f41d352dbad7_56556387.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/5a8b5250903043d05cc0f85b62e9ea47_20626095.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/398142707949adff533626525dd49744_60551468.png change filename to text .imagette219456671743565293/ imagette219456671743565293/1743510193_280787_1349286371_f507e19a457fa3292d3f95156d423794_rle_crop_3742782786_0.png.png imagette219456671743565293/1743510193_280787_1349286361_69109de8c071c54839bef14b00b6afab_rle_crop_3742782816_0.png.png imagette219456671743565293/1743510212_281050_1349286306_0a840e56b8c5df4928f49633367a1f49_rle_crop_3742782866_0.png.png imagette219456671743565293/1743510193_280787_1349286361_69109de8c071c54839bef14b00b6afab_rle_crop_3742782823_0.png.png imagette219456671743565293/1743510791_286174_1349286883_7039faee3a6ed7c6a5f2152a485e2b43_rle_crop_3742788171_0.png.png imagette219456671743565293/1743510193_280787_1349286409_891cf14700a850cc1d194cee414aef21_rle_crop_3742782777_0.png.png imagette219456671743565293/1743509972_278689_1349285995_62d8a361bde5d0f294bf806028f7e42f_rle_crop_3742778950_0.png.png imagette219456671743565293/1743510193_280787_1349286371_f507e19a457fa3292d3f95156d423794_rle_crop_3742782787_0.png.png imagette219456671743565293/1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782910_0.png.png imagette219456671743565293/1743510051_279514_1349286239_9cd673d8684e555630e2f121847ed522_rle_crop_3742780899_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/b410ca61029ee6c037d8869aa8c52a0c_67679410.png imagette219456671743565293 21945670 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=21945670 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286255: '1743509931_278208_1349286072_2df60b9acb554cbed87da225a74fba06_rle_crop_3742778720_0.png', 1349286256: '1743509931_278208_1349286072_2df60b9acb554cbed87da225a74fba06_rle_crop_3742778722_0.png', 1349286274: '1743509968_2969534_1349285688_e6817b39b214545d54699352c63e423f_rle_crop_3742778810_0.png', 1349286490: '1743510193_280787_1349286409_891cf14700a850cc1d194cee414aef21_rle_crop_3742782768_0.png', 1349286508: '1743510212_281050_1349286377_1a2ec77f12f4e42f8315d0510db024c1_rle_crop_3742782850_0.png', 1349286509: '1743510212_281050_1349286296_5a4a10e90e8f2c6009d235312e6b1830_rle_crop_3742782882_0.png', 1349286510: '1743510212_281050_1349286291_cf25267693c01ab35ec44cac29b9e865_rle_crop_3742782891_0.png', 1349286511: '1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782908_0.png', 1349286562: '1743510301_282200_1349286449_f5d932f25cda881bf21a7866a4f7b1d6_rle_crop_3742783508_0.png', 1349286563: '1743510301_282200_1349286449_f5d932f25cda881bf21a7866a4f7b1d6_rle_crop_3742783500_0.png', 1349286983: '1743510791_286174_1349286883_7039faee3a6ed7c6a5f2152a485e2b43_rle_crop_3742788170_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/b3f0a39734eee629939a5d7e85c33470_68495284.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/5117de3e4187b42707c1e0b3d9ec1716_57165203.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/c148baad23d0d0010a3b4b30e9740c64_98373938.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/bc8ed586fd2c94e4bd5cc9c912776ae9_96121492.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/44de886d88c2c5dfa10248817938d23a_23184169.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/e7b4336d6aa7c2034ad0ee7a2588128a_87251367.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/183dbb8c3e98a5b0f3bb5c3582aa765a_29378927.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/41f5b9bfaa13d967f9ac0b3cbbff6502_54778340.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/95a41f3acaf9713f1a7a95756c41a407_73157133.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/18811be19a2cfa2e7c4ebf4a3ac005c9_94331235.png change filename to text .imagette219456701743565294/ imagette219456701743565294/1743509968_2969534_1349285688_e6817b39b214545d54699352c63e423f_rle_crop_3742778810_0.png.png imagette219456701743565294/1743509931_278208_1349286072_2df60b9acb554cbed87da225a74fba06_rle_crop_3742778722_0.png.png imagette219456701743565294/1743510212_281050_1349286377_1a2ec77f12f4e42f8315d0510db024c1_rle_crop_3742782850_0.png.png imagette219456701743565294/1743510212_281050_1349286291_cf25267693c01ab35ec44cac29b9e865_rle_crop_3742782891_0.png.png imagette219456701743565294/1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782908_0.png.png imagette219456701743565294/1743510212_281050_1349286296_5a4a10e90e8f2c6009d235312e6b1830_rle_crop_3742782882_0.png.png imagette219456701743565294/1743509931_278208_1349286072_2df60b9acb554cbed87da225a74fba06_rle_crop_3742778720_0.png.png imagette219456701743565294/1743510193_280787_1349286409_891cf14700a850cc1d194cee414aef21_rle_crop_3742782768_0.png.png imagette219456701743565294/1743510301_282200_1349286449_f5d932f25cda881bf21a7866a4f7b1d6_rle_crop_3742783500_0.png.png imagette219456701743565294/1743510301_282200_1349286449_f5d932f25cda881bf21a7866a4f7b1d6_rle_crop_3742783508_0.png.png imagette219456701743565294/1743510791_286174_1349286883_7039faee3a6ed7c6a5f2152a485e2b43_rle_crop_3742788170_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/1d4225c1ee98e30f5f4aa900690f78d8_65956947.png imagette219456701743565294 21945673 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=21945673 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1349286259: '1743509931_278208_1349286072_2df60b9acb554cbed87da225a74fba06_rle_crop_3742778726_0.png', 1349286492: '1743510193_280787_1349286409_891cf14700a850cc1d194cee414aef21_rle_crop_3742782774_0.png', 1349286514: '1743510212_281050_1349286306_0a840e56b8c5df4928f49633367a1f49_rle_crop_3742782864_0.png', 1349286515: '1743510212_281050_1349286302_b10d75a4d089699a63561c929ed08a3e_rle_crop_3742782876_0.png', 1349286516: '1743510212_281050_1349286296_5a4a10e90e8f2c6009d235312e6b1830_rle_crop_3742782884_0.png', 1349286517: '1743510212_281050_1349286291_cf25267693c01ab35ec44cac29b9e865_rle_crop_3742782896_0.png', 1349286518: '1743510212_281050_1349286291_cf25267693c01ab35ec44cac29b9e865_rle_crop_3742782892_0.png', 1349286519: '1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782904_0.png', 1349286520: '1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782907_0.png', 1349286565: '1743510301_282200_1349286454_c21cfab80b7ff20cc1691057ed6d2eb9_rle_crop_3742783486_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/4619488b309a46cf88c2b4bd7d35c283_87980370.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/e2479870cbdc65827d13ff1871265505_76991871.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/82c0c80c835c0a88b8fc3908a548760a_15467210.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/23aae1762459c2a934d1b67c646ee43b_24613980.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/3521e5254fb10f3169c9db5e4d65643a_8613512.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/fcd3f78c09191f8f4fb1f2925df0fb34_16992718.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/833b33d2ef8afd0443eb2f5df0441f10_5381390.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/8cf5545cbbb03945de7be7ef5bff5517_80747881.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/cc84c5ad40c76a61fd74b2fb36044ca7_75765613.png change filename to text .imagette219456731743565296/ imagette219456731743565296/1743510212_281050_1349286296_5a4a10e90e8f2c6009d235312e6b1830_rle_crop_3742782884_0.png.png imagette219456731743565296/1743510212_281050_1349286291_cf25267693c01ab35ec44cac29b9e865_rle_crop_3742782896_0.png.png imagette219456731743565296/1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782907_0.png.png imagette219456731743565296/1743510301_282200_1349286454_c21cfab80b7ff20cc1691057ed6d2eb9_rle_crop_3742783486_0.png.png imagette219456731743565296/1743510212_281050_1349286283_83798924f3d31195c7cc678baaba47c8_rle_crop_3742782904_0.png.png imagette219456731743565296/1743510212_281050_1349286306_0a840e56b8c5df4928f49633367a1f49_rle_crop_3742782864_0.png.png imagette219456731743565296/1743510193_280787_1349286409_891cf14700a850cc1d194cee414aef21_rle_crop_3742782774_0.png.png imagette219456731743565296/1743510212_281050_1349286291_cf25267693c01ab35ec44cac29b9e865_rle_crop_3742782892_0.png.png imagette219456731743565296/1743509931_278208_1349286072_2df60b9acb554cbed87da225a74fba06_rle_crop_3742778726_0.png.png imagette219456731743565296/1743510212_281050_1349286302_b10d75a4d089699a63561c929ed08a3e_rle_crop_3742782876_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/e5f5b5ce8bea18441d470da8e757cd7f_67951857.png imagette219456731743565296 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21945658 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21945674,21945675,21945676,21945677,21945678,21945679,21945680,21945681,21945682,21945683,21945684,21945685?tags=mal_croppe,autre_refus,metal,flou,plastique,Teint_Dans_La_Masse,papier,cartonnette,Carton_gris,kraft,environnement,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1349286883] : ('0.043950260118446084',) no score found for photo 1349286883 We are sending mail with results at report@fotonower.com args[1349286781] : ('0.043950260118446084',) no score found for photo 1349286781 We are sending mail with results at report@fotonower.com args[1349286777] : ('0.043950260118446084',) no score found for photo 1349286777 We are sending mail with results at report@fotonower.com args[1349286503] : ('0.043950260118446084',) no score found for photo 1349286503 We are sending mail with results at report@fotonower.com args[1349286498] : ('0.043950260118446084',) no score found for photo 1349286498 We are sending mail with results at report@fotonower.com args[1349286459] : ('0.043950260118446084',) no score found for photo 1349286459 We are sending mail with results at report@fotonower.com args[1349286454] : ('0.043950260118446084',) no score found for photo 1349286454 We are sending mail with results at report@fotonower.com args[1349286449] : ('0.043950260118446084',) no score found for photo 1349286449 We are sending mail with results at report@fotonower.com args[1349286443] : ('0.043950260118446084',) no score found for photo 1349286443 We are sending mail with results at report@fotonower.com args[1349286409] : ('0.043950260118446084',) no score found for photo 1349286409 We are sending mail with results at report@fotonower.com args[1349286407] : ('0.043950260118446084',) no score found for photo 1349286407 We are sending mail with results at report@fotonower.com args[1349286404] : ('0.043950260118446084',) no score found for photo 1349286404 We are sending mail with results at report@fotonower.com args[1349286377] : ('0.043950260118446084',) no score found for photo 1349286377 We are sending mail with results at report@fotonower.com args[1349286371] : ('0.043950260118446084',) no score found for photo 1349286371 We are sending mail with results at report@fotonower.com args[1349286365] : ('0.043950260118446084',) no score found for photo 1349286365 We are sending mail with results at report@fotonower.com args[1349286361] : ('0.043950260118446084',) no score found for photo 1349286361 We are sending mail with results at report@fotonower.com args[1349286355] : ('0.043950260118446084',) no score found for photo 1349286355 We are sending mail with results at report@fotonower.com args[1349286352] : ('0.043950260118446084',) no score found for photo 1349286352 We are sending mail with results at report@fotonower.com args[1349286311] : ('0.043950260118446084',) no score found for photo 1349286311 We are sending mail with results at report@fotonower.com args[1349286306] : ('0.043950260118446084',) no score found for photo 1349286306 We are sending mail with results at report@fotonower.com args[1349286302] : ('0.043950260118446084',) no score found for photo 1349286302 We are sending mail with results at report@fotonower.com args[1349286296] : ('0.043950260118446084',) no score found for photo 1349286296 We are sending mail with results at report@fotonower.com args[1349286291] : ('0.043950260118446084',) no score found for photo 1349286291 We are sending mail with results at report@fotonower.com args[1349286283] : ('0.043950260118446084',) no score found for photo 1349286283 We are sending mail with results at report@fotonower.com args[1349286247] : ('0.043950260118446084',) no score found for photo 1349286247 We are sending mail with results at report@fotonower.com args[1349286244] : ('0.043950260118446084',) no score found for photo 1349286244 We are sending mail with results at report@fotonower.com args[1349286239] : ('0.043950260118446084',) no score found for photo 1349286239 We are sending mail with results at report@fotonower.com args[1349286234] : ('0.043950260118446084',) no score found for photo 1349286234 We are sending mail with results at report@fotonower.com args[1349286081] : ('0.043950260118446084',) no score found for photo 1349286081 We are sending mail with results at report@fotonower.com args[1349286077] : ('0.043950260118446084',) no score found for photo 1349286077 We are sending mail with results at report@fotonower.com args[1349286074] : ('0.043950260118446084',) no score found for photo 1349286074 We are sending mail with results at report@fotonower.com args[1349286072] : ('0.043950260118446084',) no score found for photo 1349286072 We are sending mail with results at report@fotonower.com args[1349286012] : ('0.043950260118446084',) no score found for photo 1349286012 We are sending mail with results at report@fotonower.com args[1349286007] : ('0.043950260118446084',) no score found for photo 1349286007 We are sending mail with results at report@fotonower.com args[1349285995] : ('0.043950260118446084',) no score found for photo 1349285995 We are sending mail with results at report@fotonower.com args[1349285984] : ('0.043950260118446084',) no score found for photo 1349285984 We are sending mail with results at report@fotonower.com args[1349285967] : ('0.043950260118446084',) no score found for photo 1349285967 We are sending mail with results at report@fotonower.com args[1349285688] : ('0.043950260118446084',) no score found for photo 1349285688 We are sending mail with results at report@fotonower.com args[1349285667] : ('0.043950260118446084',) no score found for photo 1349285667 We are sending mail with results at report@fotonower.com args[1349285641] : ('0.043950260118446084',) no score found for photo 1349285641 We are sending mail with results at report@fotonower.com refus_total : 0.043950260118446084 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=21945658 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_P21945658_02-04-2025_05_41_32.pdf results_Auto_P21945658_02-04-2025_05_41_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945658_02-04-2025_05_41_32.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','21945658','results_Auto_P21945658_02-04-2025_05_41_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945658_02-04-2025_05_41_32.pdf','pdf','','0.4','0.043950260118446084') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21945658]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] map_info['map_portfolio_photo'] : {21945658: [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641]} final : False mtd_id 4302 list_pids : [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] 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, '2715390') ('4302', '21945658', '1349286883', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21945658', '1349286883', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390')] time used for this insertion : 0.022545337677001953 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.51320767402649 time spend to save output : 0.023107290267944336 total time spend for step 4 : 9.536314964294434 step5:split_time_score Wed Apr 2 05:41:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21945658'] 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 : [('21945658',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21945658) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349286503: {'path': 'temp/1743565290_214284_1349286503_64123d3a8634e9a9f652c30b707e871d.jpg', 'extension': 'jpg'}, 1349286777: {'path': 'temp/1743565290_214284_1349286777_5e75ec815243af04f4b975326db6ed7a.jpg', 'extension': 'jpg'}, 1349286781: {'path': 'temp/1743565290_214284_1349286781_ce586db350d42205a58886dd4f57b06d.jpg', 'extension': 'jpg'}, 1349286883: {'path': 'temp/1743565290_214284_1349286883_7039faee3a6ed7c6a5f2152a485e2b43.jpg', 'extension': 'jpg'}, 1349285641: {'path': 'temp/1743565290_214284_1349285641_494ada727a17fdb218bac4d5bd671887.jpg', 'extension': 'jpg'}, 1349285667: {'path': 'temp/1743565290_214284_1349285667_02f39eed0a57c4ad51a1bf1390f261d0.jpg', 'extension': 'jpg'}, 1349285688: {'path': 'temp/1743565290_214284_1349285688_e6817b39b214545d54699352c63e423f.jpg', 'extension': 'jpg'}, 1349285967: {'path': 'temp/1743565290_214284_1349285967_e68b2ed4d53367fc21504ec016a7c19b.jpg', 'extension': 'jpg'}, 1349285984: {'path': 'temp/1743565290_214284_1349285984_e1515b68b4656ce72d4bcc39f6e1d977.jpg', 'extension': 'jpg'}, 1349285995: {'path': 'temp/1743565290_214284_1349285995_62d8a361bde5d0f294bf806028f7e42f.jpg', 'extension': 'jpg'}, 1349286007: {'path': 'temp/1743565290_214284_1349286007_44c674e6638efb585f8b4db3a41d1af5.jpg', 'extension': 'jpg'}, 1349286012: {'path': 'temp/1743565290_214284_1349286012_2dfaf2fdd64d7084501a6808017e65b8.jpg', 'extension': 'jpg'}, 1349286072: {'path': 'temp/1743565290_214284_1349286072_2df60b9acb554cbed87da225a74fba06.jpg', 'extension': 'jpg'}, 1349286074: {'path': 'temp/1743565290_214284_1349286074_b45671186474353d09064309df383ca7.jpg', 'extension': 'jpg'}, 1349286077: {'path': 'temp/1743565290_214284_1349286077_e7058986c962ce8784e5fb7c0544f10a.jpg', 'extension': 'jpg'}, 1349286081: {'path': 'temp/1743565290_214284_1349286081_4126a378ac6e8ea43a4c82df8f03f909.jpg', 'extension': 'jpg'}, 1349286234: {'path': 'temp/1743565290_214284_1349286234_23679ad2ee318256bd9c4d60966c2516.jpg', 'extension': 'jpg'}, 1349286239: {'path': 'temp/1743565290_214284_1349286239_9cd673d8684e555630e2f121847ed522.jpg', 'extension': 'jpg'}, 1349286244: {'path': 'temp/1743565290_214284_1349286244_e3a201f6dcfffdb569ed9f5dc48d4a7e.jpg', 'extension': 'jpg'}, 1349286247: {'path': 'temp/1743565290_214284_1349286247_236580deb1d6f11ef61e071fdf413efc.jpg', 'extension': 'jpg'}, 1349286283: {'path': 'temp/1743565290_214284_1349286283_83798924f3d31195c7cc678baaba47c8.jpg', 'extension': 'jpg'}, 1349286291: {'path': 'temp/1743565290_214284_1349286291_cf25267693c01ab35ec44cac29b9e865.jpg', 'extension': 'jpg'}, 1349286296: {'path': 'temp/1743565290_214284_1349286296_5a4a10e90e8f2c6009d235312e6b1830.jpg', 'extension': 'jpg'}, 1349286302: {'path': 'temp/1743565290_214284_1349286302_b10d75a4d089699a63561c929ed08a3e.jpg', 'extension': 'jpg'}, 1349286306: {'path': 'temp/1743565290_214284_1349286306_0a840e56b8c5df4928f49633367a1f49.jpg', 'extension': 'jpg'}, 1349286311: {'path': 'temp/1743565290_214284_1349286311_8303b94f231fb09b747a1f8c56685b46.jpg', 'extension': 'jpg'}, 1349286352: {'path': 'temp/1743565290_214284_1349286352_f7c3a14cf9300a82a97d60e0c683fbd5.jpg', 'extension': 'jpg'}, 1349286355: {'path': 'temp/1743565290_214284_1349286355_aed8d8f30181c0119816b6382fd6a06e.jpg', 'extension': 'jpg'}, 1349286361: {'path': 'temp/1743565290_214284_1349286361_69109de8c071c54839bef14b00b6afab.jpg', 'extension': 'jpg'}, 1349286365: {'path': 'temp/1743565290_214284_1349286365_d4376f636b4216ffa02812e4cebeb3df.jpg', 'extension': 'jpg'}, 1349286371: {'path': 'temp/1743565290_214284_1349286371_f507e19a457fa3292d3f95156d423794.jpg', 'extension': 'jpg'}, 1349286377: {'path': 'temp/1743565290_214284_1349286377_1a2ec77f12f4e42f8315d0510db024c1.jpg', 'extension': 'jpg'}, 1349286404: {'path': 'temp/1743565290_214284_1349286404_2aa9f9606f00918cd874b07fe0a75049.jpg', 'extension': 'jpg'}, 1349286407: {'path': 'temp/1743565290_214284_1349286407_767fd5563b7745c258b1c8e8811b4fca.jpg', 'extension': 'jpg'}, 1349286409: {'path': 'temp/1743565290_214284_1349286409_891cf14700a850cc1d194cee414aef21.jpg', 'extension': 'jpg'}, 1349286443: {'path': 'temp/1743565290_214284_1349286443_0774ecd11649eb9ea4d734a250de4c8b.jpg', 'extension': 'jpg'}, 1349286449: {'path': 'temp/1743565290_214284_1349286449_f5d932f25cda881bf21a7866a4f7b1d6.jpg', 'extension': 'jpg'}, 1349286454: {'path': 'temp/1743565290_214284_1349286454_c21cfab80b7ff20cc1691057ed6d2eb9.jpg', 'extension': 'jpg'}, 1349286459: {'path': 'temp/1743565290_214284_1349286459_076b224693790a56f7973322fd387c8c.jpg', 'extension': 'jpg'}, 1349286498: {'path': 'temp/1743565290_214284_1349286498_c1495fef04799ef5afb3b98f5c2d917d.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 = 21945658; (('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 = 21945658 group by h (('14', 40),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21945658 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 (21945658) 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 (21945658) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01042025 21945658 Nombre de photos uploadées : 40 / 23040 (0%) 01042025 21945658 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 01042025 21945658 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1349285688, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/e6817b39b214545d54699352c63e423f.jpg', 'username': None, 'uploaded_at': 1743509768, 'text': 'image_01042025_14_15_04_010151m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349285667, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/02f39eed0a57c4ad51a1bf1390f261d0.jpg', 'username': None, 'uploaded_at': 1743509768, 'text': 'image_01042025_14_15_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349285641, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/494ada727a17fdb218bac4d5bd671887.jpg', 'username': None, 'uploaded_at': 1743509768, 'text': 'image_01042025_14_15_44_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1349286012, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/1/2dfaf2fdd64d7084501a6808017e65b8.jpg', 'username': None, 'uploaded_at': 1743509828, 'text': 'image_01042025_14_15_54_010134m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022211074829101562 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21945658, '2025-04-01' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1705632,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028815031051635742 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= 1705632 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21931365, 'dashboard_result_id': 9801854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931365_02-04-2025_05_35_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21931419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21931420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21931421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21931422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21931423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21931424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21931425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21931426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21931427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21931428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21931429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21931430, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21931497, 'dashboard_result_id': 9801855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931497_02-04-2025_05_35_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21931499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21931500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21931501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21931502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21931503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21931504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21931505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21931506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21931507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21931508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21931509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21931510, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21932408, 'dashboard_result_id': 9801856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21932408_02-04-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21932410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21932411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21932412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21932413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21932414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21932415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21932416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21932417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21932418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21932419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21932420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21932421, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21933164, 'dashboard_result_id': 9801857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933164_02-04-2025_05_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21933171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933178, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21933416, 'dashboard_result_id': 9801858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933416_02-04-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21933429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933430, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21933884, 'dashboard_result_id': 9801859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933884_02-04-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21933912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933923, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21934417, 'dashboard_result_id': 9801860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934417_02-04-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21934420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21934421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21934422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21934423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21934424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21934425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21934426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21934427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21934428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21934429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21934430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21934431, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21934914, 'dashboard_result_id': 9801861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934914_02-04-2025_05_37_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21934963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21934964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21934965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21934966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21934967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21934968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21934969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21934970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21934971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21934972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21934973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21934974, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21935562, 'dashboard_result_id': 9801862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935562_02-04-2025_05_37_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21935589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21935590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21935591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21935592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21935593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21935594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21935595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21935596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21935597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21935598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21935599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21935600, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21935870, 'dashboard_result_id': 9801863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935870_01-04-2025_06_40_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21935921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21935922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21935923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21935924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21935925, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21935926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21935927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21935928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21935929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21935930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21935931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21935932, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21936299, 'dashboard_result_id': 9801864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936299_02-04-2025_05_40_16.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21936302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21936303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21936304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21936305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21936306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21936307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21936308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21936309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21936310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21936311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21936312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21936313, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21936767, 'dashboard_result_id': 9801865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936767_01-04-2025_07_23_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21936831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21936832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21936833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21936834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21936835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21936836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21936837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21936838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21936839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21936840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21936841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21936842, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21937221, 'dashboard_result_id': 9801866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21937221_02-04-2025_05_40_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21937228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21937229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21937230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21937231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21937232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21937233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21937234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21937235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21937236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21937237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21937238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21937239, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21938116, 'dashboard_result_id': 9801867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938116_02-04-2025_05_40_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21938122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21938123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21938124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21938125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21938126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21938127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21938128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21938129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21938130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21938131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21938132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21938133, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21938715, 'dashboard_result_id': 9801868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938715_02-04-2025_05_40_17.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21938742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21938743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21938744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21938745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21938746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21938747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21938748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21938749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21938750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21938751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21938752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21938753, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21939479, 'dashboard_result_id': 9801869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21939479_02-04-2025_05_40_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21939482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21939483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21939484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21939485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21939486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21939487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21939488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21939489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21939490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21939491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21939492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21939493, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21940075, 'dashboard_result_id': 9801870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940075_02-04-2025_05_40_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21940079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21940080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21940081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21940082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21940083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21940084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21940085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21940086, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21940087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21940088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21940089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21940090, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21940655, 'dashboard_result_id': 9801871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940655_02-04-2025_05_41_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21940690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21940691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21940692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21940693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21940694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21940695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21940696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21940697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21940698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21940699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21940700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21940701, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21941026, 'dashboard_result_id': 9801872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21941026_02-04-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21941055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21941056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21941057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21941058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21941059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21941060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21941061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21941062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21941063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21941064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21941065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21941066, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21945514, 'dashboard_result_id': 9801873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945514_01-04-2025_14_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945529, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21945658, 'dashboard_result_id': 9801874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945658_01-04-2025_14_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945673, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21945960, 'dashboard_result_id': 9801875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945960_01-04-2025_14_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945974, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21946263, 'dashboard_result_id': 9801876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946263_01-04-2025_15_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21946269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21946270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21946271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21946272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21946273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21946274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21946275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21946276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21946277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21946278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21946279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21946280, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21946690, 'dashboard_result_id': 9801877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946690_01-04-2025_15_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21946710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21946711, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21946712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21946713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21946714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21946715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21946716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21946717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21946718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21946719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21946720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21946721, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21947123, 'dashboard_result_id': 9801878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947123_01-04-2025_15_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21947179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947185, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21947606, 'dashboard_result_id': 9801879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947606_01-04-2025_15_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21947619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947620, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21947903, 'dashboard_result_id': 9801880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947903_01-04-2025_16_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21947907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947918, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21948384, 'dashboard_result_id': 9801881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21948384_01-04-2025_16_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21948388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21948389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21948390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21948391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21948392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21948393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21948394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21948395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21948396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21948397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21948398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21948399, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21949089, 'dashboard_result_id': 9801882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949089_01-04-2025_16_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21949102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949104, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21949258, 'dashboard_result_id': 9801883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949258_01-04-2025_16_47_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949267, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21949273, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21949788, 'dashboard_result_id': 9801884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949788_01-04-2025_17_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21949815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949826, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21950402, 'dashboard_result_id': 9801885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21950402_01-04-2025_17_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21950405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21950406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21950407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21950408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21950409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21950410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21950411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21950412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21950413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21950414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21950415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21950416, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21951031, 'dashboard_result_id': 9801886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21951031_01-04-2025_17_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21951035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21951036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21951037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21951038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21951039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21951040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21951041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21951042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21951043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21951044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21951045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21951046, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21952036, 'dashboard_result_id': 9801887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952036_01-04-2025_18_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21952039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21952040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21952041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21952042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21952043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21952044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21952045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21952046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21952047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21952048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21952049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21952050, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21952498, 'dashboard_result_id': 9801888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952498_01-04-2025_18_32_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21952503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21952504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21952505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21952506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21952507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21952508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21952509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21952510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21952511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21952512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21952513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21952515, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21953111, 'dashboard_result_id': 9801889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953111_01-04-2025_18_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21953149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21953150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21953151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21953152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21953153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21953154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21953155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21953156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21953157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21953158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21953159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21953160, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21953698, 'dashboard_result_id': 9801890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953698_01-04-2025_19_02_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21953727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21953728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21953729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21953730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21953731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21953732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21953733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21953734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21953735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21953736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21953737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21953738, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21954306, 'dashboard_result_id': 9801891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954306_01-04-2025_19_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21954309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21954310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21954311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21954312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21954313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21954314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21954315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21954316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21954317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21954318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21954319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21954320, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21954804, 'dashboard_result_id': 9801892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954804_01-04-2025_19_33_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21954831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21954832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21954833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21954834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21954835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21954836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21954837, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21954838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21954839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21954840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21954841, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21954842, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21955357, 'dashboard_result_id': 9801893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955357_01-04-2025_19_46_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21955409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21955410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21955411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21955412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21955413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21955414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21955415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21955416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21955417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21955418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21955419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21955420, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21955879, 'dashboard_result_id': 9801894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955879_01-04-2025_20_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21955882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21955883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21955884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21955885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21955886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21955887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21955888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21955889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21955890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21955891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21955892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21955893, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21956398, 'dashboard_result_id': 9801895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956398_01-04-2025_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21956425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21956426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21956427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21956428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21956429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21956430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21956431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21956432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21956433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21956434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21956435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21956436, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21956983, 'dashboard_result_id': 9801896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956983_01-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21957012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21957013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21957014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21957015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21957016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21957017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21957018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21957019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21957020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21957021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21957022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21957023, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21957541, 'dashboard_result_id': 9801897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21957541_01-04-2025_21_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21957567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21957568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21957569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21957570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21957571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21957572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21957573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21957574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21957575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21957576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21957577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21957578, 'pht': 3726}}"}, {'dashboat_entry_day': 1705632, 'dashboard_run_id': 1717449, 'mtr_portfolio_id': 21958543, 'dashboard_result_id': 9801898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21958543_01-04-2025_21_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21958546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21958547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21958548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21958549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21958550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21958551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21958552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21958553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21958554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21958555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21958556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21958557, '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 = 21931365 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': 2715370, 'mtr_portfolio_id': 21931365, 'created_at': datetime.datetime(2025, 4, 2, 5, 35, 2), 'result': '0.08432430922921529', 'result_long': None, 'result_double': None}] Qualite : 0.08432430922921529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21931365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931365_02-04-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21931365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931365_02-04-2025_05_35_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21931419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21931420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21931421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21931422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21931423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21931424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21931425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21931426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21931427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21931428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21931429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21931430, 'pht': 3726}}" where mtr_portfolio_id = 21931365 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21931365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801854, 0.08432430922921529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931365_02-04-2025_05_35_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21931419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21931420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21931421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21931422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21931423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21931424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21931425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21931426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21931427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21931428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21931429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21931430, '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 = 21931497 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': 2715371, 'mtr_portfolio_id': 21931497, 'created_at': datetime.datetime(2025, 4, 2, 5, 35, 35), 'result': '0.044061975705053824', 'result_long': None, 'result_double': None}] Qualite : 0.044061975705053824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21931497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931497_02-04-2025_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21931497 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931497_02-04-2025_05_35_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21931499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21931500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21931501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21931502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21931503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21931504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21931505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21931506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21931507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21931508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21931509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21931510, 'pht': 3726}}" where mtr_portfolio_id = 21931497 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21931497 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801855, 0.044061975705053824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21931497_02-04-2025_05_35_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21931499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21931500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21931501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21931502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21931503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21931504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21931505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21931506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21931507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21931508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21931509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21931510, '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 = 21932408 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': 2715372, 'mtr_portfolio_id': 21932408, 'created_at': datetime.datetime(2025, 4, 2, 5, 35, 30), 'result': '0.14507383145224567', 'result_long': None, 'result_double': None}] Qualite : 0.14507383145224567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21932408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21932408_02-04-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21932408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21932408_02-04-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21932410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21932411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21932412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21932413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21932414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21932415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21932416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21932417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21932418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21932419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21932420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21932421, 'pht': 3726}}" where mtr_portfolio_id = 21932408 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21932408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801856, 0.14507383145224567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21932408_02-04-2025_05_35_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21932410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21932411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21932412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21932413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21932414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21932415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21932416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21932417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21932418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21932419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21932420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21932421, '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 = 21933164 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': 2715373, 'mtr_portfolio_id': 21933164, 'created_at': datetime.datetime(2025, 4, 2, 5, 35, 57), 'result': '0.09772337234203497', 'result_long': None, 'result_double': None}] Qualite : 0.09772337234203497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21933164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933164_02-04-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21933164 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933164_02-04-2025_05_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21933171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933178, 'pht': 3726}}" where mtr_portfolio_id = 21933164 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21933164 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801857, 0.09772337234203497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933164_02-04-2025_05_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21933171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933178, '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 = 21933416 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': 2715374, 'mtr_portfolio_id': 21933416, 'created_at': datetime.datetime(2025, 4, 2, 5, 36, 30), 'result': '0.044308839521627515', 'result_long': None, 'result_double': None}] Qualite : 0.044308839521627515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21933416 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933416_02-04-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21933416 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933416_02-04-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21933429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933430, 'pht': 3726}}" where mtr_portfolio_id = 21933416 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21933416 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801858, 0.044308839521627515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933416_02-04-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21933429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933430, '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 = 21933884 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': 2715375, 'mtr_portfolio_id': 21933884, 'created_at': datetime.datetime(2025, 4, 2, 5, 37), 'result': '0.04015806888953014', 'result_long': None, 'result_double': None}] Qualite : 0.04015806888953014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21933884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933884_02-04-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21933884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933884_02-04-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21933912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933923, 'pht': 3726}}" where mtr_portfolio_id = 21933884 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21933884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801859, 0.04015806888953014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21933884_02-04-2025_05_37_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21933912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21933913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21933914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21933915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21933916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21933917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21933918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21933919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21933920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21933921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21933922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21933923, '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 = 21934417 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': 2715376, 'mtr_portfolio_id': 21934417, 'created_at': datetime.datetime(2025, 4, 2, 5, 37, 30), 'result': '0.04270147631877599', 'result_long': None, 'result_double': None}] Qualite : 0.04270147631877599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21934417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934417_02-04-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21934417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934417_02-04-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21934420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21934421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21934422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21934423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21934424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21934425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21934426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21934427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21934428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21934429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21934430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21934431, 'pht': 3726}}" where mtr_portfolio_id = 21934417 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21934417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801860, 0.04270147631877599, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934417_02-04-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21934420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21934421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21934422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21934423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21934424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21934425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21934426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21934427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21934428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21934429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21934430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21934431, '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 = 21934914 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': 2715377, 'mtr_portfolio_id': 21934914, 'created_at': datetime.datetime(2025, 4, 2, 5, 37, 31), 'result': '0.06494512987718129', 'result_long': None, 'result_double': None}] Qualite : 0.06494512987718129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21934914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934914_02-04-2025_05_37_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21934914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934914_02-04-2025_05_37_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21934963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21934964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21934965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21934966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21934967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21934968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21934969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21934970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21934971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21934972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21934973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21934974, 'pht': 3726}}" where mtr_portfolio_id = 21934914 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21934914 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801861, 0.06494512987718129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21934914_02-04-2025_05_37_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21934963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21934964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21934965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21934966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21934967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21934968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21934969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21934970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21934971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21934972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21934973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21934974, '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 = 21935562 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': 2715378, 'mtr_portfolio_id': 21935562, 'created_at': datetime.datetime(2025, 4, 2, 5, 37, 30), 'result': '0.05950002201413317', 'result_long': None, 'result_double': None}] Qualite : 0.05950002201413317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21935562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935562_02-04-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21935562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935562_02-04-2025_05_37_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21935589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21935590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21935591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21935592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21935593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21935594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21935595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21935596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21935597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21935598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21935599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21935600, 'pht': 3726}}" where mtr_portfolio_id = 21935562 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21935562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801862, 0.05950002201413317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935562_02-04-2025_05_37_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21935589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21935590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21935591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21935592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21935593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21935594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21935595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21935596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21935597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21935598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21935599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21935600, '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 = 21935870 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': 2711743, 'mtr_portfolio_id': 21935870, 'created_at': datetime.datetime(2025, 4, 1, 6, 40, 29), 'result': '0.07344210490215151', 'result_long': None, 'result_double': None}] Qualite : 0.07344210490215151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21935870 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935870_01-04-2025_06_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21935870 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935870_01-04-2025_06_40_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21935921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21935922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21935923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21935924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21935925, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21935926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21935927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21935928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21935929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21935930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21935931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21935932, 'pht': 3726}}" where mtr_portfolio_id = 21935870 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21935870 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801863, 0.07344210490215151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21935870_01-04-2025_06_40_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21935921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21935922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21935923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21935924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21935925, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21935926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21935927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21935928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21935929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21935930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21935931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21935932, '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 = 21936299 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': 2715380, 'mtr_portfolio_id': 21936299, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 13), 'result': '0.06431036664873875', 'result_long': None, 'result_double': None}] Qualite : 0.06431036664873875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21936299 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936299_02-04-2025_05_40_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21936299 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936299_02-04-2025_05_40_16.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21936302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21936303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21936304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21936305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21936306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21936307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21936308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21936309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21936310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21936311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21936312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21936313, 'pht': 3726}}" where mtr_portfolio_id = 21936299 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21936299 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801864, 0.06431036664873875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936299_02-04-2025_05_40_16.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21936302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21936303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21936304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21936305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21936306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21936307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21936308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21936309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21936310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21936311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21936312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21936313, '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 = 21936767 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': 2711821, 'mtr_portfolio_id': 21936767, 'created_at': datetime.datetime(2025, 4, 1, 7, 23), 'result': '0.059080308654420946', 'result_long': None, 'result_double': None}] Qualite : 0.059080308654420946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21936767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936767_01-04-2025_07_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21936767 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936767_01-04-2025_07_23_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21936831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21936832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21936833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21936834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21936835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21936836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21936837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21936838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21936839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21936840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21936841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21936842, 'pht': 3726}}" where mtr_portfolio_id = 21936767 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21936767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801865, 0.059080308654420946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21936767_01-04-2025_07_23_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21936831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21936832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21936833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21936834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21936835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21936836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21936837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21936838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21936839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21936840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21936841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21936842, '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 = 21937221 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': 2715382, 'mtr_portfolio_id': 21937221, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 11), 'result': '0.06000348458452629', 'result_long': None, 'result_double': None}] Qualite : 0.06000348458452629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21937221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21937221_02-04-2025_05_40_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21937221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21937221_02-04-2025_05_40_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21937228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21937229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21937230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21937231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21937232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21937233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21937234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21937235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21937236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21937237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21937238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21937239, 'pht': 3726}}" where mtr_portfolio_id = 21937221 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21937221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801866, 0.06000348458452629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21937221_02-04-2025_05_40_15.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21937228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21937229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21937230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21937231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21937232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21937233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21937234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21937235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21937236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21937237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21937238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21937239, '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 = 21938116 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': 2715383, 'mtr_portfolio_id': 21938116, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 8), 'result': '0.044551764212711266', 'result_long': None, 'result_double': None}] Qualite : 0.044551764212711266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21938116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938116_02-04-2025_05_40_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21938116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938116_02-04-2025_05_40_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21938122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21938123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21938124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21938125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21938126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21938127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21938128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21938129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21938130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21938131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21938132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21938133, 'pht': 3726}}" where mtr_portfolio_id = 21938116 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21938116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801867, 0.044551764212711266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938116_02-04-2025_05_40_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21938122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21938123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21938124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21938125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21938126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21938127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21938128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21938129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21938130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21938131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21938132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21938133, '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 = 21938715 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': 2715384, 'mtr_portfolio_id': 21938715, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 13), 'result': '0.05285100978447936', 'result_long': None, 'result_double': None}] Qualite : 0.05285100978447936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21938715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938715_02-04-2025_05_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21938715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938715_02-04-2025_05_40_17.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21938742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21938743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21938744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21938745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21938746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21938747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21938748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21938749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21938750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21938751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21938752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21938753, 'pht': 3726}}" where mtr_portfolio_id = 21938715 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21938715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801868, 0.05285100978447936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21938715_02-04-2025_05_40_17.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21938742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21938743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21938744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21938745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21938746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21938747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21938748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21938749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21938750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21938751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21938752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21938753, '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 = 21939479 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': 2715385, 'mtr_portfolio_id': 21939479, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 34), 'result': '0.051621568321834815', 'result_long': None, 'result_double': None}] Qualite : 0.051621568321834815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21939479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21939479_02-04-2025_05_40_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21939479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21939479_02-04-2025_05_40_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21939482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21939483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21939484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21939485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21939486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21939487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21939488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21939489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21939490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21939491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21939492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21939493, 'pht': 3726}}" where mtr_portfolio_id = 21939479 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21939479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801869, 0.051621568321834815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21939479_02-04-2025_05_40_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21939482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21939483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21939484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21939485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21939486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21939487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21939488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21939489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21939490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21939491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21939492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21939493, '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 = 21940075 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': 2715386, 'mtr_portfolio_id': 21940075, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 32), 'result': '0.04211910637263787', 'result_long': None, 'result_double': None}] Qualite : 0.04211910637263787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21940075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940075_02-04-2025_05_40_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21940075 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940075_02-04-2025_05_40_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21940079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21940080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21940081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21940082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21940083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21940084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21940085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21940086, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21940087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21940088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21940089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21940090, 'pht': 3726}}" where mtr_portfolio_id = 21940075 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21940075 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801870, 0.04211910637263787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940075_02-04-2025_05_40_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21940079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21940080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21940081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21940082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21940083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21940084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21940085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21940086, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21940087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21940088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21940089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21940090, '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 = 21940655 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': 2715387, 'mtr_portfolio_id': 21940655, 'created_at': datetime.datetime(2025, 4, 2, 5, 40, 58), 'result': '0.05347990495721357', 'result_long': None, 'result_double': None}] Qualite : 0.05347990495721357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21940655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940655_02-04-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21940655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940655_02-04-2025_05_41_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21940690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21940691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21940692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21940693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21940694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21940695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21940696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21940697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21940698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21940699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21940700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21940701, 'pht': 3726}}" where mtr_portfolio_id = 21940655 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21940655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801871, 0.05347990495721357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21940655_02-04-2025_05_41_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21940690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21940691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21940692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21940693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21940694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21940695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21940696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21940697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21940698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21940699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21940700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21940701, '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 = 21941026 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': 2715388, 'mtr_portfolio_id': 21941026, 'created_at': datetime.datetime(2025, 4, 2, 5, 41, 4), 'result': '0.05380190881903319', 'result_long': None, 'result_double': None}] Qualite : 0.05380190881903319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21941026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21941026_02-04-2025_05_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21941026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21941026_02-04-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21941055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21941056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21941057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21941058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21941059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21941060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21941061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21941062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21941063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21941064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21941065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21941066, 'pht': 3726}}" where mtr_portfolio_id = 21941026 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21941026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801872, 0.05380190881903319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21941026_02-04-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21941055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21941056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21941057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21941058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21941059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21941060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21941061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21941062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21941063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21941064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21941065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21941066, '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 = 21945514 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': 2715389, 'mtr_portfolio_id': 21945514, 'created_at': datetime.datetime(2025, 4, 2, 5, 41, 34), 'result': '0.06062674372313341', 'result_long': None, 'result_double': None}] Qualite : 0.06062674372313341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21945514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945514_01-04-2025_14_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21945514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945514_01-04-2025_14_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945529, 'pht': 3726}}" where mtr_portfolio_id = 21945514 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21945514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801873, 0.06062674372313341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945514_01-04-2025_14_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945529, '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 = 21945658 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': 2715390, 'mtr_portfolio_id': 21945658, 'created_at': datetime.datetime(2025, 4, 2, 5, 41, 30), 'result': '0.043950260118446084', 'result_long': None, 'result_double': None}] Qualite : 0.043950260118446084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21945658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945658_02-04-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21945658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945658_02-04-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945673, 'pht': 3726}}" where mtr_portfolio_id = 21945658 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21945658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801874, 0.043950260118446084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945658_02-04-2025_05_41_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945673, '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 = 21945960 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': 2713190, 'mtr_portfolio_id': 21945960, 'created_at': datetime.datetime(2025, 4, 1, 14, 48, 59), 'result': '0.07152602491044605', 'result_long': None, 'result_double': None}] Qualite : 0.07152602491044605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21945960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945960_01-04-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21945960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945960_01-04-2025_14_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945974, 'pht': 3726}}" where mtr_portfolio_id = 21945960 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21945960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801875, 0.07152602491044605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21945960_01-04-2025_14_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21945963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21945964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21945965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21945966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21945967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21945968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21945969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21945970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21945971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21945972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21945973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21945974, '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 = 21946263 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': 2713229, 'mtr_portfolio_id': 21946263, 'created_at': datetime.datetime(2025, 4, 1, 15, 5), 'result': '0.046229559805410304', 'result_long': None, 'result_double': None}] Qualite : 0.046229559805410304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21946263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946263_01-04-2025_15_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21946263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946263_01-04-2025_15_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21946269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21946270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21946271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21946272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21946273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21946274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21946275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21946276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21946277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21946278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21946279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21946280, 'pht': 3726}}" where mtr_portfolio_id = 21946263 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21946263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801876, 0.046229559805410304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946263_01-04-2025_15_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21946269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21946270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21946271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21946272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21946273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21946274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21946275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21946276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21946277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21946278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21946279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21946280, '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 = 21946690 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': 2713283, 'mtr_portfolio_id': 21946690, 'created_at': datetime.datetime(2025, 4, 1, 15, 16, 57), 'result': '0.03950082123681036', 'result_long': None, 'result_double': None}] Qualite : 0.03950082123681036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21946690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946690_01-04-2025_15_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21946690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946690_01-04-2025_15_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21946710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21946711, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21946712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21946713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21946714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21946715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21946716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21946717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21946718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21946719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21946720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21946721, 'pht': 3726}}" where mtr_portfolio_id = 21946690 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21946690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801877, 0.03950082123681036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21946690_01-04-2025_15_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21946710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21946711, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21946712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21946713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21946714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21946715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21946716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21946717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21946718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21946719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21946720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21946721, '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 = 21947123 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': 2713321, 'mtr_portfolio_id': 21947123, 'created_at': datetime.datetime(2025, 4, 1, 15, 36, 59), 'result': '0.05726463817749887', 'result_long': None, 'result_double': None}] Qualite : 0.05726463817749887 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21947123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947123_01-04-2025_15_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21947123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947123_01-04-2025_15_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21947179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947185, 'pht': 3726}}" where mtr_portfolio_id = 21947123 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21947123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801878, 0.05726463817749887, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947123_01-04-2025_15_37_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21947179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947185, '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 = 21947606 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': 2713382, 'mtr_portfolio_id': 21947606, 'created_at': datetime.datetime(2025, 4, 1, 15, 46, 59), 'result': '0.036946816233262195', 'result_long': None, 'result_double': None}] Qualite : 0.036946816233262195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21947606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947606_01-04-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21947606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947606_01-04-2025_15_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21947619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947620, 'pht': 3726}}" where mtr_portfolio_id = 21947606 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21947606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801879, 0.036946816233262195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947606_01-04-2025_15_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21947619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947620, '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 = 21947903 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': 2713418, 'mtr_portfolio_id': 21947903, 'created_at': datetime.datetime(2025, 4, 1, 16, 2, 59), 'result': '0.04875771426930936', 'result_long': None, 'result_double': None}] Qualite : 0.04875771426930936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21947903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947903_01-04-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21947903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947903_01-04-2025_16_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21947907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947918, 'pht': 3726}}" where mtr_portfolio_id = 21947903 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21947903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801880, 0.04875771426930936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21947903_01-04-2025_16_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21947907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21947908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21947909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21947911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21947912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21947913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21947914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21947915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21947916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21947917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21947918, '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 = 21948384 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': 2713470, 'mtr_portfolio_id': 21948384, 'created_at': datetime.datetime(2025, 4, 1, 16, 16, 58), 'result': '0.05244900971459089', 'result_long': None, 'result_double': None}] Qualite : 0.05244900971459089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21948384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21948384_01-04-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21948384 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21948384_01-04-2025_16_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21948388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21948389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21948390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21948391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21948392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21948393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21948394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21948395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21948396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21948397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21948398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21948399, 'pht': 3726}}" where mtr_portfolio_id = 21948384 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21948384 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801881, 0.05244900971459089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21948384_01-04-2025_16_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21948388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21948389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21948390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21948391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21948392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21948393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21948394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21948395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21948396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21948397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21948398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21948399, '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 = 21949089 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': 2713547, 'mtr_portfolio_id': 21949089, 'created_at': datetime.datetime(2025, 4, 1, 16, 33), 'result': '0.05376118984120812', 'result_long': None, 'result_double': None}] Qualite : 0.05376118984120812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21949089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949089_01-04-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21949089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949089_01-04-2025_16_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21949102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949104, 'pht': 3726}}" where mtr_portfolio_id = 21949089 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21949089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801882, 0.05376118984120812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949089_01-04-2025_16_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21949102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949104, '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 = 21949258 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': 2713564, 'mtr_portfolio_id': 21949258, 'created_at': datetime.datetime(2025, 4, 1, 16, 47, 1), 'result': '0.03980079340073193', 'result_long': None, 'result_double': None}] Qualite : 0.03980079340073193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21949258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949258_01-04-2025_16_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21949258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949258_01-04-2025_16_47_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949267, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21949273, 'pht': 3726}}" where mtr_portfolio_id = 21949258 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21949258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801883, 0.03980079340073193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949258_01-04-2025_16_47_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949263, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949267, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21949273, '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 = 21949788 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': 2713610, 'mtr_portfolio_id': 21949788, 'created_at': datetime.datetime(2025, 4, 1, 17, 2, 58), 'result': '0.059239150326573425', 'result_long': None, 'result_double': None}] Qualite : 0.059239150326573425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21949788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949788_01-04-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21949788 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949788_01-04-2025_17_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21949815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949826, 'pht': 3726}}" where mtr_portfolio_id = 21949788 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21949788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801884, 0.059239150326573425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21949788_01-04-2025_17_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21949815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21949816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21949817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21949818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21949819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21949820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21949821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21949822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21949823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21949824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21949825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21949826, '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 = 21950402 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': 2713671, 'mtr_portfolio_id': 21950402, 'created_at': datetime.datetime(2025, 4, 1, 17, 19, 29), 'result': '0.05969570519763254', 'result_long': None, 'result_double': None}] Qualite : 0.05969570519763254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21950402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21950402_01-04-2025_17_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21950402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21950402_01-04-2025_17_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21950405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21950406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21950407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21950408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21950409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21950410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21950411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21950412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21950413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21950414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21950415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21950416, 'pht': 3726}}" where mtr_portfolio_id = 21950402 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21950402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801885, 0.05969570519763254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21950402_01-04-2025_17_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21950405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21950406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21950407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21950408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21950409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21950410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21950411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21950412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21950413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21950414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21950415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21950416, '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 = 21951031 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': 2713709, 'mtr_portfolio_id': 21951031, 'created_at': datetime.datetime(2025, 4, 1, 17, 32, 59), 'result': '0.05483160810308454', 'result_long': None, 'result_double': None}] Qualite : 0.05483160810308454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21951031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21951031_01-04-2025_17_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21951031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21951031_01-04-2025_17_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21951035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21951036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21951037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21951038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21951039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21951040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21951041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21951042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21951043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21951044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21951045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21951046, 'pht': 3726}}" where mtr_portfolio_id = 21951031 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21951031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801886, 0.05483160810308454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21951031_01-04-2025_17_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21951035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21951036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21951037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21951038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21951039, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21951040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21951041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21951042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21951043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21951044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21951045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21951046, '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 = 21952036 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': 2713857, 'mtr_portfolio_id': 21952036, 'created_at': datetime.datetime(2025, 4, 1, 18, 16, 59), 'result': '0.046004655053649535', 'result_long': None, 'result_double': None}] Qualite : 0.046004655053649535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21952036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952036_01-04-2025_18_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21952036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952036_01-04-2025_18_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21952039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21952040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21952041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21952042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21952043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21952044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21952045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21952046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21952047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21952048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21952049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21952050, 'pht': 3726}}" where mtr_portfolio_id = 21952036 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21952036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801887, 0.046004655053649535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952036_01-04-2025_18_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21952039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21952040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21952041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21952042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21952043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21952044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21952045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21952046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21952047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21952048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21952049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21952050, '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 = 21952498 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': 2713895, 'mtr_portfolio_id': 21952498, 'created_at': datetime.datetime(2025, 4, 1, 18, 32, 57), 'result': '0.04038077538518041', 'result_long': None, 'result_double': None}] Qualite : 0.04038077538518041 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21952498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952498_01-04-2025_18_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21952498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952498_01-04-2025_18_32_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21952503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21952504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21952505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21952506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21952507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21952508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21952509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21952510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21952511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21952512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21952513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21952515, 'pht': 3726}}" where mtr_portfolio_id = 21952498 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21952498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801888, 0.04038077538518041, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21952498_01-04-2025_18_32_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21952503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21952504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21952505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21952506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21952507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21952508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21952509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21952510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21952511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21952512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21952513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21952515, '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 = 21953111 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': 2713963, 'mtr_portfolio_id': 21953111, 'created_at': datetime.datetime(2025, 4, 1, 18, 51, 1), 'result': '0.05453315739014316', 'result_long': None, 'result_double': None}] Qualite : 0.05453315739014316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21953111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953111_01-04-2025_18_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21953111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953111_01-04-2025_18_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21953149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21953150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21953151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21953152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21953153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21953154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21953155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21953156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21953157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21953158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21953159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21953160, 'pht': 3726}}" where mtr_portfolio_id = 21953111 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21953111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801889, 0.05453315739014316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953111_01-04-2025_18_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21953149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21953150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21953151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21953152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21953153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21953154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21953155, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21953156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21953157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21953158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21953159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21953160, '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 = 21953698 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': 2714009, 'mtr_portfolio_id': 21953698, 'created_at': datetime.datetime(2025, 4, 1, 19, 2, 37), 'result': '0.04985346500792857', 'result_long': None, 'result_double': None}] Qualite : 0.04985346500792857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21953698 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953698_01-04-2025_19_02_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21953698 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953698_01-04-2025_19_02_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21953727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21953728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21953729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21953730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21953731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21953732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21953733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21953734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21953735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21953736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21953737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21953738, 'pht': 3726}}" where mtr_portfolio_id = 21953698 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21953698 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801890, 0.04985346500792857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21953698_01-04-2025_19_02_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21953727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21953728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21953729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21953730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21953731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21953732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21953733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21953734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21953735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21953736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21953737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21953738, '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 = 21954306 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': 2714059, 'mtr_portfolio_id': 21954306, 'created_at': datetime.datetime(2025, 4, 1, 19, 16, 59), 'result': '0.05368276805882935', 'result_long': None, 'result_double': None}] Qualite : 0.05368276805882935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21954306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954306_01-04-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21954306 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954306_01-04-2025_19_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21954309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21954310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21954311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21954312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21954313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21954314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21954315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21954316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21954317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21954318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21954319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21954320, 'pht': 3726}}" where mtr_portfolio_id = 21954306 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21954306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801891, 0.05368276805882935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954306_01-04-2025_19_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21954309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21954310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21954311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21954312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21954313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21954314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21954315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21954316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21954317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21954318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21954319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21954320, '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 = 21954804 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': 2714097, 'mtr_portfolio_id': 21954804, 'created_at': datetime.datetime(2025, 4, 1, 19, 33, 2), 'result': '0.04164730087004363', 'result_long': None, 'result_double': None}] Qualite : 0.04164730087004363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21954804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954804_01-04-2025_19_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21954804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954804_01-04-2025_19_33_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21954831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21954832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21954833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21954834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21954835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21954836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21954837, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21954838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21954839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21954840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21954841, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21954842, 'pht': 3726}}" where mtr_portfolio_id = 21954804 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21954804 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801892, 0.04164730087004363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21954804_01-04-2025_19_33_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21954831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21954832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21954833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21954834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21954835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21954836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21954837, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21954838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21954839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21954840, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21954841, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21954842, '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 = 21955357 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': 2714161, 'mtr_portfolio_id': 21955357, 'created_at': datetime.datetime(2025, 4, 1, 19, 46, 56), 'result': '0.03403660790079572', 'result_long': None, 'result_double': None}] Qualite : 0.03403660790079572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21955357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955357_01-04-2025_19_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21955357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955357_01-04-2025_19_46_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21955409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21955410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21955411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21955412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21955413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21955414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21955415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21955416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21955417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21955418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21955419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21955420, 'pht': 3726}}" where mtr_portfolio_id = 21955357 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21955357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801893, 0.03403660790079572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955357_01-04-2025_19_46_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21955409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21955410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21955411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21955412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21955413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21955414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21955415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21955416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21955417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21955418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21955419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21955420, '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 = 21955879 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': 2714202, 'mtr_portfolio_id': 21955879, 'created_at': datetime.datetime(2025, 4, 1, 20, 2, 58), 'result': '0.03716086597855739', 'result_long': None, 'result_double': None}] Qualite : 0.03716086597855739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21955879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955879_01-04-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21955879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955879_01-04-2025_20_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21955882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21955883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21955884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21955885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21955886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21955887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21955888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21955889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21955890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21955891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21955892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21955893, 'pht': 3726}}" where mtr_portfolio_id = 21955879 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21955879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801894, 0.03716086597855739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21955879_01-04-2025_20_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21955882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21955883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21955884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21955885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21955886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21955887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21955888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21955889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21955890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21955891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21955892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21955893, '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 = 21956398 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': 2714264, 'mtr_portfolio_id': 21956398, 'created_at': datetime.datetime(2025, 4, 1, 20, 18, 58), 'result': '0.04277538744998801', 'result_long': None, 'result_double': None}] Qualite : 0.04277538744998801 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21956398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956398_01-04-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21956398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956398_01-04-2025_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21956425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21956426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21956427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21956428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21956429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21956430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21956431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21956432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21956433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21956434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21956435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21956436, 'pht': 3726}}" where mtr_portfolio_id = 21956398 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21956398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801895, 0.04277538744998801, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956398_01-04-2025_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21956425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21956426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21956427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21956428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21956429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21956430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21956431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21956432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21956433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21956434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21956435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21956436, '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 = 21956983 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': 2714302, 'mtr_portfolio_id': 21956983, 'created_at': datetime.datetime(2025, 4, 1, 20, 33, 1), 'result': '0.05416592307491753', 'result_long': None, 'result_double': None}] Qualite : 0.05416592307491753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21956983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956983_01-04-2025_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21956983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956983_01-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21957012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21957013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21957014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21957015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21957016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21957017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21957018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21957019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21957020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21957021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21957022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21957023, 'pht': 3726}}" where mtr_portfolio_id = 21956983 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21956983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801896, 0.05416592307491753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21956983_01-04-2025_20_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21957012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21957013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21957014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21957015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21957016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21957017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21957018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21957019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21957020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21957021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21957022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21957023, '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 = 21957541 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': 2714357, 'mtr_portfolio_id': 21957541, 'created_at': datetime.datetime(2025, 4, 1, 21, 2, 59), 'result': '0.040493702562354184', 'result_long': None, 'result_double': None}] Qualite : 0.040493702562354184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21957541 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21957541_01-04-2025_21_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21957541 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21957541_01-04-2025_21_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21957567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21957568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21957569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21957570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21957571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21957572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21957573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21957574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21957575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21957576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21957577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21957578, 'pht': 3726}}" where mtr_portfolio_id = 21957541 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21957541 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801897, 0.040493702562354184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21957541_01-04-2025_21_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21957567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21957568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21957569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21957570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21957571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21957572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21957573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21957574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21957575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21957576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21957577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21957578, '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 = 21958543 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': 2714472, 'mtr_portfolio_id': 21958543, 'created_at': datetime.datetime(2025, 4, 1, 21, 18, 57), 'result': '0.04773785008374333', 'result_long': None, 'result_double': None}] Qualite : 0.04773785008374333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21958543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21958543_01-04-2025_21_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21958543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21958543_01-04-2025_21_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21958546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21958547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21958548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21958549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21958550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21958551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21958552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21958553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21958554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21958555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21958556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21958557, 'pht': 3726}}" where mtr_portfolio_id = 21958543 and dashboard_run_id = 1717449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=21958543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9801898, 0.04773785008374333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21958543_01-04-2025_21_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21958546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21958547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21958548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21958549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21958550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21958551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21958552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21958553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21958554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21958555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21958556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21958557, '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 (21931365,21931497,21932408,21933164,21933416,21933884,21934417,21934914,21935562,21935870,21936299,21936767,21937221,21938116,21938715,21939479,21940075,21940655,21941026,21945514,21945658,21945960,21946263,21946690,21947123,21947606,21947903,21948384,21949089,21949258,21949788,21950402,21951031,21952036,21952498,21953111,21953698,21954306,21954804,21955357,21955879,21956398,21956983,21957541,21958543) result : ((1349174339,), (1349175718,), (1349175916,), (1349177830,), (1349178015,), (1349178030,), (1349178035,), (1349178929,), (1349178926,), (1349179049,), (1349179211,), (1349179232,), (1349179935,), (1349179937,), (1349180254,), (1349180773,), (1349190323,), (1349190451,), (1349190471,), (1349190702,), (1349190704,), (1349190720,), (1349190742,), (1349190764,), (1349190815,), (1349191220,), (1349191491,), (1349192547,), (1349202135,), (1349202136,), (1349202137,), (1349202138,), (1349202149,), (1349202150,), (1349202151,), (1349202152,), (1349202153,), (1349202167,), (1349202169,), (1349202170,), (1349202171,), (1349202172,), (1349202173,), (1349202174,), (1349202189,), (1349202190,), (1349202363,), (1349202378,), (1349202386,), (1349202406,), (1349202435,), (1349202437,), (1349202438,), (1349202439,), (1349202444,), (1349202451,), (1349202458,), (1349202459,), (1349202460,), (1349202462,), (1349202464,), (1349202468,), (1349202470,), (1349202472,), (1349202474,), (1349202476,), (1349202494,), (1349202495,), (1349202524,), (1349202560,), (1349202561,), (1349202563,), (1349202565,), (1349202592,), (1349202604,), (1349202606,), (1349202608,), (1349202625,), (1349202760,), (1349202761,), (1349202762,), (1349202764,), (1349202826,), (1349202881,), (1349202882,), (1349202888,), (1349202905,), (1349202931,), (1349203025,), (1349203026,), (1349203041,), (1349203194,), (1349203200,), (1349203202,), (1349203214,), (1349203217,), (1349203346,), (1349203347,), (1349203350,), (1349203370,), (1349203372,), (1349203374,), (1349203517,), (1349203519,), (1349203521,), (1349203524,), (1349203574,), (1349203575,), (1349203797,), (1349204045,), (1349204151,), (1349204152,), (1349204168,), (1349204187,), (1349204299,), (1349204281,), (1349204283,), (1349204285,), (1349204287,), (1349204369,), (1349204372,), (1349204374,), (1349204376,), (1349204423,), (1349204482,), (1349204504,), (1349204506,), (1349204508,), (1349204529,), (1349204530,), (1349204605,), (1349204607,), (1349204609,), (1349204719,), (1349204721,), (1349204723,), (1349204725,), (1349204750,), (1349204752,), (1349204753,), (1349204754,), (1349204813,), (1349204828,), (1349204938,), (1349204942,), (1349204944,), (1349204967,), (1349204981,), (1349205027,), (1349205078,), (1349205082,), (1349205085,), (1349205086,), (1349205174,), (1349205179,), (1349205181,), (1349205183,), (1349205184,), (1349205273,), (1349205306,), (1349205356,), (1349205382,), (1349205386,), (1349205388,), (1349205404,), (1349205406,), (1349205440,), (1349205517,), (1349205579,), (1349205581,), (1349205643,), (1349205662,), (1349205666,), (1349205782,), (1349205844,), (1349205885,), (1349205887,), (1349205889,), (1349205893,), (1349205912,), (1349206063,), (1349206072,), (1349206078,), (1349206144,), (1349206106,), (1349206112,), (1349206113,), (1349206114,), (1349206142,), (1349206150,), (1349206168,), (1349206213,), (1349206215,), (1349206216,), (1349206233,), (1349206234,), (1349206235,), (1349206236,), (1349206327,), (1349206332,), (1349206334,), (1349206336,), (1349206377,), (1349206381,), (1349206382,), (1349206384,), (1349206386,), (1349206392,), (1349206394,), (1349206396,), (1349206414,), (1349206419,), (1349206429,), (1349206431,), (1349206432,), (1349206433,), (1349206437,), (1349206439,), (1349206441,), (1349206442,), (1349206526,), (1349206527,), (1349206528,), (1349206529,), (1349206531,), (1349206539,), (1349206541,), (1349206542,), (1349206544,), (1349206558,), (1349206560,), (1349206564,), (1349206566,), (1349206568,), (1349206570,), (1349206581,), (1349206587,), (1349206588,), (1349206591,), (1349206600,), (1349206616,), (1349206618,), (1349206620,), (1349206622,), (1349207034,), (1349207102,), (1349207193,), (1349207246,), (1349207296,), (1349207887,), (1349207683,), (1349207759,), (1349207834,), (1349208290,), (1349208325,), (1349208371,), (1349208399,), (1349208426,), (1349208566,), (1349208570,), (1349208574,), (1349208588,), (1349208615,), (1349208649,), (1349208805,), (1349208810,), (1349208823,), (1349208828,), (1349208848,), (1349208852,), (1349208856,), (1349208887,), (1349208893,), (1349208908,), (1349208913,), (1349208943,), (1349208951,), (1349208975,), (1349209040,), (1349209044,), (1349209049,), (1349209060,), (1349209063,), (1349209066,), (1349209089,), (1349209092,), (1349209096,), (1349209100,), (1349209124,), (1349209269,), (1349209333,), (1349209336,), (1349209339,), (1349209343,), (1349209347,), (1349209406,), (1349209448,), (1349209452,), (1349209471,), (1349209479,), (1349209487,), (1349209491,), (1349209495,), (1349209591,), (1349209595,), (1349209599,), (1349209624,), (1349209631,), (1349209640,), (1349209666,), (1349209670,), (1349209674,), (1349209678,), (1349209683,), (1349209686,), (1349209788,), (1349209768,), (1349209774,), (1349209777,), (1349209783,), (1349209787,), (1349209849,), (1349209854,), (1349209856,), (1349209860,), (1349209920,), (1349209931,), (1349209938,), (1349209972,), (1349209975,), (1349209978,), (1349210016,), (1349210019,), (1349210022,), (1349210062,), (1349210065,), (1349210094,), (1349210102,), (1349210105,), (1349210130,), (1349210133,), (1349210136,), (1349210139,), (1349210167,), (1349210169,), (1349210171,), (1349210174,), (1349210177,), (1349210180,), (1349210197,), (1349210207,), (1349210210,), (1349210213,), (1349210214,), (1349210241,), (1349210242,), (1349210243,), (1349210244,), (1349210247,), (1349210277,), (1349210278,), (1349210279,), (1349210282,), (1349210285,), (1349210288,), (1349210318,), (1349210319,), (1349210329,), (1349210337,), (1349210362,), (1349210364,), (1349210366,), (1349210367,), (1349210396,), (1349210401,), (1349210402,), (1349210480,), (1349210437,), (1349210447,), (1349210472,), (1349210475,), (1349210478,), (1349210519,), (1349210520,), (1349210521,), (1349210522,), (1349210563,), (1349210567,), (1349210570,), (1349210571,), (1349210593,), (1349210604,), (1349210605,), (1349210607,), (1349210609,), (1349210612,), (1349210643,), (1349210645,), (1349210647,), (1349210649,), (1349210670,), (1349210672,), (1349210674,), (1349210675,), (1349210677,), (1349210697,), (1349210699,), (1349210700,), (1349210702,), (1349210727,), (1349210728,), (1349210736,), (1349210739,), (1349210742,), (1349210764,), (1349210766,), (1349210769,), (1349210771,), (1349210774,), (1349210802,), (1349210806,), (1349210809,), (1349210840,), (1349210843,), (1349210846,), (1349210850,), (1349210852,), (1349210855,), (1349210869,), (1349211116,), (1349211206,), (1349211218,), (1349211394,), (1349211364,), (1349211376,), (1349211391,), (1349211392,), (1349211465,), (1349211467,), (1349211469,), (1349211494,), (1349211495,), (1349211496,), (1349211516,), (1349211517,), (1349211518,), (1349211519,), (1349211616,), (1349211621,), (1349211622,), (1349211643,), (1349211645,), (1349211646,), (1349211648,), (1349211649,), (1349211778,), (1349211779,), (1349211783,), (1349211889,), (1349211891,), (1349211893,), (1349211894,), (1349211895,), (1349211896,), (1349211940,), (1349211949,), (1349211974,), (1349211976,), (1349211978,), (1349211980,), (1349211983,), (1349212004,), (1349212006,), (1349212008,), (1349212010,), (1349212126,), (1349212127,), (1349212129,), (1349212131,), (1349212133,), (1349212135,), (1349212163,), (1349212171,), (1349212173,), (1349212391,), (1349212419,), (1349212450,), (1349212475,), (1349212504,), (1349212530,), (1349212654,), (1349212695,), (1349212712,), (1349212721,), (1349212778,), (1349213172,), (1349212933,), (1349212984,), (1349213037,), (1349213409,), (1349213442,), (1349213480,), (1349213511,), (1349213543,), (1349213970,), (1349213994,), (1349214022,), (1349214064,), (1349214120,), (1349214484,), (1349214537,), (1349214595,), (1349215027,), (1349215122,), (1349215151,), (1349215172,), (1349215180,), (1349215249,), (1349215254,), (1349215319,), (1349215338,), (1349215362,), (1349215395,), (1349215486,), (1349215516,), (1349215528,), (1349215531,), (1349215636,), (1349215637,), (1349215641,), (1349215645,), (1349215648,), (1349215658,), (1349215806,), (1349215809,), (1349215812,), (1349215817,), (1349215888,), (1349215915,), (1349215926,), (1349215930,), (1349215933,), (1349215938,), (1349215942,), (1349215943,), (1349215958,), (1349215962,), (1349215965,), (1349215968,), (1349215998,), (1349216004,), (1349216008,), (1349216017,), (1349216040,), (1349216054,), (1349216075,), (1349216078,), (1349216081,), (1349216095,), (1349216107,), (1349216130,), (1349216132,), (1349216135,), (1349216145,), (1349216150,), (1349216151,), (1349215861,), (1349215867,), (1349215872,), (1349215877,), (1349215884,), (1349215896,), (1349215898,), (1349215901,), (1349215905,), (1349215909,), (1349215950,), (1349215955,), (1349215975,), (1349215977,), (1349215983,), (1349215987,), (1349215990,), (1349215992,), (1349216066,), (1349216067,), (1349216068,), (1349216173,), (1349216177,), (1349216193,), (1349216240,), (1349216247,), (1349216262,), (1349216436,), (1349216446,), (1349216456,), (1349216484,), (1349216517,), (1349216520,), (1349216662,), (1349216673,), (1349216718,), (1349216728,), (1349216737,), (1349216818,), (1349216820,), (1349216830,), (1349216848,), (1349216854,), (1349216888,), (1349216892,), (1349216922,), (1349217000,), (1349217217,), (1349217225,), (1349217239,), (1349217328,), (1349217274,), (1349217286,), (1349217313,), (1349217322,), (1349217345,), (1349217383,), (1349217410,), (1349217439,), (1349217458,), (1349217579,), (1349217584,), (1349217588,), (1349217591,), (1349217594,), (1349217632,), (1349217640,), (1349217651,), (1349217890,), (1349217918,), (1349217923,), (1349217962,), (1349217974,), (1349218080,), (1349218110,), (1349218141,), (1349218157,), (1349218162,), (1349218193,), (1349218196,), (1349218199,), (1349218207,), (1349218275,), (1349218309,), (1349218337,), (1349218373,), (1349218378,), (1349218415,), (1349218419,), (1349218422,), (1349218425,), (1349218429,), (1349218538,), (1349218539,), (1349218543,), (1349218548,), (1349218552,), (1349218556,), (1349218582,), (1349218589,), (1349218593,), (1349218628,), (1349218637,), (1349218642,), (1349218646,), (1349218651,), (1349218729,), (1349218733,), (1349218740,), (1349218746,), (1349218750,), (1349218762,), (1349218825,), (1349218882,), (1349218911,), (1349218920,), (1349218952,), (1349218954,), (1349219073,), (1349219029,), (1349219030,), (1349219061,), (1349219064,), (1349219157,), (1349219169,), (1349219492,), (1349219497,), (1349219501,), (1349219504,), (1349219548,), (1349219549,), (1349219553,), (1349219829,), (1349219849,), (1349219921,), (1349219947,), (1349219951,), (1349220050,), (1349220054,), (1349220057,), (1349220062,), (1349220066,), (1349220130,), (1349220132,), (1349220137,), (1349220163,), (1349220164,), (1349220166,), (1349220196,), (1349220218,), (1349220220,), (1349220251,), (1349220303,), (1349220384,), (1349220386,), (1349220408,), (1349220410,), (1349220415,), (1349220495,), (1349220997,), (1349221004,), (1349221013,), (1349221169,), (1349221175,), (1349221180,), (1349221184,), (1349221186,), (1349221692,), (1349221765,), (1349221801,), (1349221837,), (1349221942,), (1349221954,), (1349221988,), (1349222025,), (1349222333,), (1349222277,), (1349222311,), (1349222594,), (1349222603,), (1349222612,), (1349222617,), (1349222632,), (1349222647,), (1349222908,), (1349222936,), (1349222947,), (1349222956,), (1349222965,), (1349222998,), (1349223108,), (1349223115,), (1349223137,), (1349223168,), (1349223198,), (1349223432,), (1349223465,), (1349223497,), (1349223521,), (1349223551,), (1349223586,), (1349223797,), (1349223827,), (1349223870,), (1349223907,), (1349223942,), (1349224087,), (1349224100,), (1349224114,), (1349224122,), (1349224296,), (1349224306,), (1349224319,), (1349224402,), (1349224469,), (1349224588,), (1349224594,), (1349224600,), (1349224606,), (1349224609,), (1349224612,), (1349224649,), (1349224654,), (1349224661,), (1349224735,), (1349224744,), (1349224751,), (1349224758,), (1349224764,), (1349224769,), (1349224797,), (1349224801,), (1349224806,), (1349224811,), (1349224817,), (1349224859,), (1349224864,), (1349224884,), (1349224997,), (1349225007,), (1349225016,), (1349225020,), (1349225058,), (1349225062,), (1349225066,), (1349225069,), (1349225072,), (1349225078,), (1349225125,), (1349225117,), (1349225118,), (1349225120,), (1349225123,), (1349225170,), (1349225174,), (1349225176,), (1349225231,), (1349225237,), (1349225239,), (1349225284,), (1349225292,), (1349225300,), (1349225344,), (1349225345,), (1349225356,), (1349225365,), (1349225564,), (1349225579,), (1349225588,), (1349225625,), (1349225636,), (1349225641,), (1349225654,), (1349225657,), (1349225661,), (1349225664,), (1349225713,), (1349225716,), (1349225719,), (1349225722,), (1349225727,), (1349225761,), (1349225765,), (1349225770,), (1349225772,), (1349225810,), (1349225813,), (1349225817,), (1349225821,), (1349225831,), (1349225877,), (1349225880,), (1349225883,), (1349225892,), (1349225896,), (1349225930,), (1349225935,), (1349225938,), (1349225946,), (1349225950,), (1349226018,), (1349226021,), (1349226025,), (1349226070,), (1349226074,), (1349226076,), (1349226080,), (1349226112,), (1349226117,), (1349226123,), (1349226127,), (1349226132,), (1349226138,), (1349226164,), (1349226176,), (1349226192,), (1349226199,), (1349226204,), (1349226208,), (1349226250,), (1349226239,), (1349226242,), (1349226246,), (1349226706,), (1349226943,), (1349226952,), (1349226966,), (1349226970,), (1349226973,), (1349226989,), (1349227035,), (1349227039,), (1349227057,), (1349227187,), (1349227192,), (1349227196,), (1349227200,), (1349227249,), (1349227259,), (1349227266,), (1349227272,), (1349227445,), (1349227466,), (1349227471,), (1349227476,), (1349227486,), (1349227492,), (1349227532,), (1349227540,), (1349227545,), (1349227549,), (1349227555,), (1349227645,), (1349227655,), (1349227659,), (1349227674,), (1349227818,), (1349227824,), (1349227827,), (1349227833,), (1349227838,), (1349227847,), (1349227862,), (1349227865,), (1349227869,), (1349227874,), (1349227879,), (1349227883,), (1349227938,), (1349227908,), (1349227919,), (1349227926,), (1349227931,), (1349227934,), (1349227961,), (1349227974,), (1349227988,), (1349227990,), (1349228116,), (1349228131,), (1349228144,), (1349228168,), (1349228173,), (1349228412,), (1349228414,), (1349228431,), (1349228439,), (1349228445,), (1349228547,), (1349228559,), (1349228567,), (1349228761,), (1349228773,), (1349228782,), (1349228798,), (1349228805,), (1349228816,), (1349228837,), (1349228840,), (1349228846,), (1349228848,), (1349228858,), (1349228891,), (1349228896,), (1349228902,), (1349229092,), (1349229107,), (1349229110,), (1349229126,), (1349229139,), (1349229184,), (1349229187,), (1349229245,), (1349229248,), (1349229466,), (1349229517,), (1349229520,), (1349229525,), (1349229530,), (1349230523,), (1349230529,), (1349230618,), (1349230654,), (1349230675,), (1349255470,), (1349281060,), (1349285186,), (1349285192,), (1349285195,), (1349285241,), (1349285244,), (1349285247,), (1349285282,), (1349285286,), (1349285288,), (1349285290,), (1349285311,), (1349285348,), (1349285716,), (1349285641,), (1349285667,), (1349285688,), (1349285967,), (1349285984,), (1349285995,), (1349286007,), (1349286012,), (1349286072,), (1349286074,), (1349286077,), (1349286081,), (1349286234,), (1349286239,), (1349286244,), (1349286247,), (1349286283,), (1349286291,), (1349286296,), (1349286302,), (1349286306,), (1349286311,), (1349286352,), (1349286355,), (1349286361,), (1349286365,), (1349286371,), (1349286377,), (1349286404,), (1349286407,), (1349286409,), (1349286443,), (1349286449,), (1349286454,), (1349286459,), (1349286498,), (1349286503,), (1349286777,), (1349286781,), (1349286883,), (1349286826,), (1349286877,), (1349286902,), (1349286905,), (1349286909,), (1349286914,), (1349286945,), (1349286949,), (1349286956,), (1349286968,), (1349287004,), (1349287008,), (1349287016,), (1349287023,), (1349288220,), (1349288224,), (1349288913,), (1349288896,), (1349288901,), (1349288905,), (1349288910,), (1349288931,), (1349288937,), (1349288941,), (1349288945,), (1349288948,), (1349288970,), (1349288974,), (1349288977,), (1349289011,), (1349289015,), (1349289020,), (1349289024,), (1349289115,), (1349289378,), (1349289548,), (1349289552,), (1349289557,), (1349289561,), (1349289564,), (1349289567,), (1349289588,), (1349289592,), (1349289596,), (1349289601,), (1349289606,), (1349289610,), (1349289644,), (1349289661,), (1349289818,), (1349289822,), (1349289827,), (1349289832,), (1349291352,), (1349291339,), (1349291388,), (1349291393,), (1349291397,), (1349291400,), (1349291404,), (1349291408,), (1349291427,), (1349291512,), (1349291515,), (1349291522,), (1349291526,), (1349291576,), (1349291579,), (1349291737,), (1349291745,), (1349291749,), (1349291751,), (1349291771,), (1349291774,), (1349291778,), (1349291806,), (1349291810,), (1349291813,), (1349291816,), (1349291910,), (1349291914,), (1349291917,), (1349291920,), (1349292012,), (1349292014,), (1349292017,), (1349292020,), (1349292068,), (1349292072,), (1349292093,), (1349292261,), (1349292285,), (1349292289,), (1349292294,), (1349292297,), (1349292322,), (1349292326,), (1349292330,), (1349292390,), (1349292383,), (1349292386,), (1349292426,), (1349292430,), (1349292457,), (1349292460,), (1349292596,), (1349292599,), (1349292603,), (1349292610,), (1349292696,), (1349292698,), (1349292703,), (1349292712,), (1349292718,), (1349292806,), (1349292812,), (1349292859,), (1349292863,), (1349292866,), (1349292886,), (1349292953,), (1349292956,), (1349292961,), (1349292965,), (1349292969,), (1349293878,), (1349293995,), (1349294734,), (1349294632,), (1349294720,), (1349294723,), (1349294728,), (1349294759,), (1349294762,), (1349294808,), (1349294812,), (1349294877,), (1349294881,), (1349294885,), (1349294890,), (1349294894,), (1349294900,), (1349294929,), (1349294932,), (1349294935,), (1349294983,), (1349294988,), (1349295174,), (1349295545,), (1349295569,), (1349295577,), (1349295591,), (1349295602,), (1349295713,), (1349295766,), (1349295770,), (1349295773,), (1349295814,), (1349295819,), (1349296006,), (1349296009,), (1349296014,), (1349296028,), (1349296054,), (1349296059,), (1349296065,), (1349296070,), (1349296073,), (1349296111,), (1349296112,), (1349296119,), (1349296152,), (1349296157,), (1349296163,), (1349296169,), (1349296187,), (1349296192,), (1349296197,), (1349296202,), (1349296205,), (1349296209,), (1349296239,), (1349296243,), (1349296249,), (1349296260,), (1349296266,), (1349296290,), (1349296293,), (1349296296,), (1349296325,), (1349296329,), (1349296336,), (1349296340,), (1349296345,), (1349296351,), (1349296373,), (1349296377,), (1349296383,), (1349296387,), (1349296391,), (1349296396,), (1349296425,), (1349296450,), (1349296469,), (1349296490,), (1349297200,), (1349297271,), (1349297326,), (1349297378,), (1349297428,), (1349297508,), (1349298148,), (1349298075,), (1349298512,), (1349298530,), (1349298576,), (1349298606,), (1349298628,), (1349298961,), (1349299002,), (1349299039,), (1349299075,), (1349299091,), (1349299099,), (1349299258,), (1349299279,), (1349299306,), (1349299646,), (1349299655,), (1349299660,), (1349299704,), (1349299709,), (1349299752,), (1349299757,), (1349299763,), (1349299770,), (1349299788,), (1349299809,), (1349299813,), (1349299819,), (1349299825,), (1349299840,), (1349299902,), (1349299929,), (1349299936,), (1349300037,), (1349300041,), (1349300044,), (1349300048,), (1349300054,), (1349300060,), (1349300090,), (1349300095,), (1349300100,), (1349300111,), (1349300117,), (1349300122,), (1349300221,), (1349300223,), (1349300254,), (1349300266,), (1349300332,), (1349300337,), (1349300340,), (1349300344,), (1349300347,), (1349300475,), (1349300478,), (1349300481,), (1349300484,), (1349300487,), (1349300494,), (1349300539,), (1349300541,), (1349300545,), (1349300553,), (1349300559,), (1349300564,), (1349300647,), (1349300650,), (1349300654,), (1349300657,), (1349300696,), (1349301111,), (1349301630,), (1349301635,), (1349301637,), (1349301639,), (1349301661,), (1349301665,), (1349301668,), (1349301671,), (1349301674,), (1349301693,), (1349301697,), (1349301735,), (1349301737,), (1349301740,), (1349301827,), (1349301820,), (1349301823,), (1349301916,), (1349301929,), (1349301969,), (1349301974,), (1349301987,), (1349301990,), (1349302008,), (1349302011,), (1349302014,), (1349302105,), (1349302108,), (1349302114,), (1349302175,), (1349302179,), (1349302237,), (1349302242,), (1349302244,), (1349302248,), (1349302251,), (1349302254,), (1349302281,), (1349302283,), (1349302285,), (1349302287,), (1349302290,), (1349302377,), (1349302384,), (1349302413,), (1349302641,), (1349302644,), (1349302646,), (1349302647,), (1349302649,), (1349302730,), (1349302733,), (1349302737,), (1349302740,), (1349302743,), (1349302746,), (1349302774,), (1349302779,), (1349302785,), (1349302787,), (1349302822,), (1349302825,), (1349302831,), (1349302833,), (1349302865,), (1349302869,), (1349302877,), (1349302886,), (1349302896,), (1349302906,), (1349302949,), (1349302953,), (1349302956,), (1349302958,), (1349302960,), (1349302961,), (1349302978,), (1349302983,), (1349302987,), (1349303013,), (1349303020,), (1349303024,), (1349303027,), (1349303031,), (1349303033,), (1349303065,), (1349303052,), (1349303054,), (1349303059,), (1349303094,), (1349303100,), (1349303106,), (1349303117,), (1349303130,), (1349303133,), (1349303217,), (1349303222,), (1349303230,), (1349303251,), (1349303257,), (1349303260,), (1349303277,), (1349303280,), (1349303336,), (1349303355,), (1349303394,), (1349303398,), (1349303410,), (1349303419,), (1349303439,), (1349303486,), (1349303488,), (1349303491,), (1349303494,), (1349303497,), (1349303500,), (1349303524,), (1349303526,), (1349303529,), (1349303531,), (1349303571,), (1349303573,), (1349303583,), (1349303621,), (1349303629,), (1349303632,), (1349303718,), (1349303720,), (1349303723,), (1349303727,), (1349303797,), (1349303800,), (1349303806,), (1349303816,), (1349303825,), (1349303861,), (1349303863,), (1349303866,), (1349303868,), (1349303976,), (1349303996,), (1349304236,), (1349304267,), (1349304288,), (1349304302,), (1349304326,), (1349304354,), (1349304426,), (1349304441,), (1349304502,), (1349304816,), (1349304632,), (1349304665,), (1349304706,), (1349304748,), (1349304782,), (1349305053,), (1349305108,), (1349305124,), (1349305156,), (1349305493,), (1349305540,), (1349305577,), (1349305609,), (1349305858,), (1349305902,), (1349305950,), (1349305993,), (1349306026,), (1349306043,), (1349306310,), (1349306336,), (1349306389,), (1349306423,), (1349306462,), (1349306492,), (1349306653,), (1349306667,), (1349306689,), (1349306716,), (1349306942,), (1349306958,), (1349306980,), (1349307001,), (1349307019,), (1349307068,), (1349307284,), (1349307969,), (1349307972,), (1349307996,), (1349308004,), (1349308023,), (1349308063,), (1349308066,), (1349308069,), (1349308074,), (1349308127,), (1349308131,), (1349308138,), (1349308141,), (1349308307,), (1349308315,), (1349308319,), (1349308323,), (1349308330,), (1349308333,), (1349308351,), (1349308357,), (1349308365,), (1349308374,), (1349308433,), (1349308401,), (1349308410,), (1349308417,), (1349308423,), (1349308428,), (1349308503,), (1349308511,), (1349308515,), (1349308519,), (1349308523,), (1349308606,), (1349308609,), (1349308612,), (1349308615,), (1349308723,), (1349308724,), (1349308741,), (1349308798,), (1349308806,), (1349308823,), (1349308889,), (1349308891,), (1349308894,), (1349308898,), (1349308900,), (1349308934,), (1349308935,), (1349308939,), (1349308941,), (1349308943,), (1349308978,), (1349308980,), (1349308983,), (1349309068,), (1349309070,), (1349309075,), (1349309077,), (1349309231,), (1349309241,), (1349309251,), (1349309256,), (1349309262,), (1349309427,), (1349309428,), (1349309432,), (1349309436,), (1349309481,), (1349309485,), (1349309500,), (1349309510,), (1349309536,), (1349309558,), (1349309570,), (1349309580,), (1349309591,), (1349309735,), (1349309737,), (1349309740,), (1349309759,), (1349309786,), (1349309862,), (1349309867,), (1349309872,), (1349309877,), (1349309884,), (1349309889,), (1349309923,), (1349309977,), (1349313504,), (1349313551,), (1349314231,), (1349314297,), (1349315048,), (1349315137,), (1349315927,), (1349315976,), (1349316053,), (1349316109,), (1349316768,), (1349316836,), (1349316908,), (1349316944,), (1349316957,), (1349317328,), (1349317352,), (1349317374,), (1349317394,), (1349317757,), (1349317773,), (1349317792,), (1349317795,), (1349317799,), (1349317896,), (1349317921,), (1349317950,), (1349317975,), (1349318004,), (1349318021,), (1349318354,), (1349318409,), (1349318461,), (1349318478,), (1349318812,), (1349318839,), (1349318873,), (1349318957,), (1349318972,), (1349319017,), (1349319315,), (1349319322,), (1349319326,), (1349319334,), (1349319483,), (1349319486,), (1349319489,), (1349319515,), (1349319522,), (1349319540,), (1349319558,), (1349319563,), (1349319568,), (1349319572,), (1349319607,), (1349319614,), (1349319618,), (1349319621,), (1349319625,), (1349319627,), (1349319668,), (1349319654,), (1349319657,), (1349319661,), (1349319664,), (1349319736,), (1349319745,), (1349319761,), (1349319776,), (1349319860,), (1349319864,), (1349319867,), (1349319879,), (1349319884,), (1349319923,), (1349319926,), (1349319930,), (1349319934,), (1349319940,), (1349319964,), (1349319977,), (1349319982,), (1349320032,), (1349320035,), (1349320040,), (1349320045,), (1349320072,), (1349320075,), (1349320083,), (1349320097,), (1349320100,), (1349320129,), (1349320133,), (1349320136,), (1349320140,), (1349320143,), (1349320180,), (1349320183,), (1349320186,), (1349320188,), (1349320211,), (1349320214,), (1349320220,), (1349320224,), (1349320228,), (1349320230,), (1349320255,), (1349320266,), (1349320268,), (1349320401,), (1349320417,), (1349320425,), (1349320432,), (1349320436,), (1349320462,), (1349320465,), (1349320469,), (1349320473,), (1349320477,), (1349320480,), (1349320504,), (1349320507,), (1349320511,), (1349320590,), (1349320578,), (1349320581,), (1349320587,), (1349320614,), (1349320619,), (1349320623,), (1349320628,), (1349320633,), (1349320642,), (1349320666,), (1349320669,), (1349320673,), (1349320826,), (1349320839,), (1349320844,), (1349320851,), (1349321005,), (1349321023,), (1349321026,), (1349321029,), (1349321033,), (1349321074,), (1349321085,), (1349321091,), (1349321094,), (1349321149,), (1349321153,), (1349321158,), (1349321205,), (1349321207,), (1349321210,), (1349321213,), (1349321258,), (1349321262,), (1349321266,), (1349321270,), (1349321273,), (1349321320,), (1349321324,), (1349321335,), (1349321364,), (1349321473,), (1349321478,), (1349321482,), (1349321486,), (1349321521,), (1349321523,), (1349321527,), (1349321531,), (1349321535,), (1349321539,), (1349321562,), (1349321565,), (1349321570,), (1349321575,), (1349321598,), (1349321601,), (1349321605,), (1349321610,), (1349321648,), (1349321651,), (1349321655,), (1349321659,), (1349321661,), (1349321667,), (1349321740,), (1349321724,), (1349321728,), (1349321732,), (1349321736,), (1349321909,), (1349321913,), (1349321968,), (1349321971,), (1349322019,), (1349322022,), (1349322025,), (1349322027,), (1349322031,), (1349322183,), (1349322195,), (1349322209,), (1349322213,), (1349322268,), (1349322281,), (1349322298,), (1349322303,), (1349322403,), (1349322423,), (1349322432,), (1349322441,), (1349322454,), (1349322504,), (1349322507,), (1349322510,), (1349322560,), (1349322564,), (1349322620,), (1349322651,), (1349322709,), (1349323016,), (1349323019,), (1349323023,), (1349323052,), (1349323056,), (1349323060,), (1349323064,), (1349323070,), (1349323075,), (1349323093,), (1349323103,), (1349323113,), (1349323125,), (1349323129,), (1349323145,), (1349323148,), (1349323154,), (1349323185,), (1349323211,), (1349323224,), (1349323412,), (1349323442,), (1349323464,), (1349323467,), (1349323741,), (1349323778,), (1349323808,), (1349323834,), (1349323866,), (1349323957,), (1349324443,), (1349324225,), (1349324271,), (1349324356,), (1349324389,), (1349324854,), (1349324902,), (1349324939,), (1349325454,), (1349325475,), (1349325501,), (1349325554,), (1349325592,), (1349325613,), (1349325855,), (1349325885,), (1349325917,), (1349325947,), (1349325974,), (1349326217,), (1349326244,), (1349326259,), (1349326303,), (1349326560,), (1349326563,), (1349326584,), (1349326608,), (1349326713,), (1349326717,), (1349326721,), (1349326725,), (1349326729,), (1349326766,), (1349326770,), (1349326775,), (1349326780,), (1349326789,), (1349326839,), (1349326849,), (1349326853,), (1349326861,), (1349326978,), (1349326983,), (1349326994,), (1349327018,), (1349327026,), (1349327030,), (1349327136,), (1349327140,), (1349327144,), (1349327148,), (1349327151,), (1349327155,), (1349327196,), (1349327202,), (1349327205,), (1349327370,), (1349327397,), (1349327404,), (1349327408,), (1349327415,), (1349327419,), (1349327443,), (1349327450,), (1349327456,), (1349327461,), (1349327470,), (1349327483,), (1349327539,), (1349327543,), (1349327546,), (1349327551,), (1349327661,), (1349327618,), (1349327630,), (1349327646,), (1349327718,), (1349327720,), (1349327723,), (1349327728,), (1349327733,), (1349327764,), (1349327769,), (1349327774,), (1349327811,), (1349327815,), (1349327818,), (1349327820,), (1349327823,), (1349327827,), (1349327858,), (1349327861,), (1349327864,), (1349327867,), (1349327909,), (1349327913,), (1349327917,), (1349328030,), (1349328046,), (1349328053,), (1349328058,), (1349328121,), (1349328124,), (1349328128,), (1349328132,), (1349328136,), (1349328141,), (1349328376,), (1349328496,), (1349328527,), (1349328545,), (1349328623,), (1349328625,), (1349328631,), (1349328660,), (1349328697,), (1349328701,), (1349328715,), (1349328720,), (1349328726,), (1349328743,), (1349328746,), (1349328750,), (1349328753,), (1349328757,), (1349328805,), (1349328810,), (1349328860,), (1349328864,), (1349328867,), (1349328899,), (1349328910,), (1349328921,), (1349328926,), (1349328931,), (1349328976,), (1349328967,), (1349328970,), (1349328972,), (1349329263,), (1349329315,), (1349329367,), (1349329443,), (1349329497,), (1349329677,), (1349329680,), (1349329682,), (1349329708,), (1349329788,), (1349329830,), (1349329835,), (1349329910,), (1349329927,), (1349329932,), (1349330003,), (1349330075,), (1349330080,), (1349330083,), (1349330100,), (1349330204,), (1349330335,), (1349330337,), (1349330341,), (1349330345,), (1349330393,), (1349330396,), (1349330399,), (1349330402,), (1349330405,), (1349330408,), (1349330533,), (1349330549,), (1349330559,), (1349330562,), (1349330565,), (1349330713,), (1349330764,), (1349330818,), (1349331287,), (1349331343,), (1349331399,), (1349331477,), (1349331557,), (1349331606,), (1349331614,), (1349331617,), (1349331725,), (1349331789,), (1349331852,), (1349331996,), (1349331960,), (1349331984,), (1349331992,), (1349332164,), (1349332177,), (1349332181,), (1349332306,), (1349332309,), (1349332315,), (1349332322,), (1349332444,), (1349332452,), (1349332467,), (1349332471,), (1349332475,), (1349332545,), (1349332550,), (1349332557,), (1349332563,), (1349332633,), (1349332636,), (1349332640,), (1349332646,), (1349332653,), (1349332689,), (1349332691,), (1349332694,), (1349332698,), (1349332702,), (1349332827,), (1349332936,), (1349332940,), (1349332943,), (1349332947,), (1349332952,), (1349332955,), (1349333053,), (1349333108,), (1349333147,), (1349333188,), (1349333232,), (1349334232,), (1349334321,), (1349334383,), (1349334439,), (1349335017,), (1349334907,), (1349334934,), (1349334968,), (1349335000,), (1349335230,), (1349335242,), (1349335247,), (1349335257,), (1349335421,), (1349335425,), (1349335437,), (1349335493,), (1349335632,), (1349335636,), (1349335640,), (1349335645,), (1349335648,), (1349335652,), (1349335699,), (1349335703,), (1349335706,), (1349335710,), (1349335716,), (1349335753,), (1349335756,), (1349335761,), (1349335788,), (1349335791,), (1349335795,), (1349335799,), (1349335803,), (1349335807,), (1349335834,), (1349335848,), (1349335853,), (1349335872,), (1349335990,), (1349336004,), (1349336008,), (1349336017,), (1349336037,), (1349336100,), (1349336110,), (1349336112,), (1349336116,), (1349336126,), (1349336149,), (1349336652,), (1349336797,), (1349336707,), (1349336719,), (1349336745,), (1349336759,), (1349336771,), (1349336895,), (1349336939,), (1349336943,), (1349336946,), (1349336948,), (1349337030,), (1349337038,), (1349337040,), (1349337072,), (1349337181,), (1349337184,), (1349337188,), (1349337189,), (1349337375,), (1349337376,), (1349337384,), (1349337431,), (1349337433,), (1349337436,), (1349337438,), (1349337442,), (1349337477,), (1349337479,), (1349337481,), (1349337482,), (1349337484,), (1349337486,), (1349337510,), (1349337514,), (1349337517,), (1349337520,), (1349337522,), (1349337549,), (1349337551,), (1349337566,), (1349337629,), (1349337634,), (1349337638,), (1349337641,), (1349337644,), (1349337671,), (1349337675,), (1349337722,), (1349337801,), (1349337884,), (1349338205,), (1349338210,), (1349338214,), (1349338217,), (1349338362,), (1349338460,), (1349338480,), (1349338484,), (1349338487,), (1349338491,), (1349338504,), (1349338544,), (1349338549,), (1349338554,), (1349338558,), (1349338615,), (1349338604,), (1349338610,), (1349338613,), (1349338680,), (1349338684,), (1349338694,), (1349338730,), (1349338734,), (1349338880,), (1349338884,), (1349338889,), (1349338895,), (1349338899,), (1349338900,), (1349339054,), (1349339149,), (1349339157,), (1349339161,), (1349339164,), (1349339221,), (1349339226,), (1349339253,), (1349339260,), (1349339328,), (1349339330,), (1349339333,), (1349339336,), (1349339339,), (1349339399,), (1349339402,), (1349339406,), (1349339409,), (1349339454,), (1349339461,), (1349339464,), (1349339466,), (1349339468,), (1349339509,), (1349339512,), (1349339514,), (1349339589,), (1349339618,), (1349339645,), (1349339674,), (1349339699,), (1349339702,), (1349339737,), (1349339741,), (1349339747,), (1349339753,), (1349344258,), (1349344245,), (1349345308,), (1349345313,), (1349345318,), (1349345324,), (1349345553,), (1349345556,), (1349345732,), (1349345735,), (1349345739,), (1349345769,), (1349345773,), (1349345813,), (1349345816,), (1349345820,), (1349345963,), (1349346042,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01042025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21945658]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] map_info['map_portfolio_photo'] : {21945658: [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641]} final : True mtd_id 4302 list_pids : [1349286883, 1349286781, 1349286777, 1349286503, 1349286498, 1349286459, 1349286454, 1349286449, 1349286443, 1349286409, 1349286407, 1349286404, 1349286377, 1349286371, 1349286365, 1349286361, 1349286355, 1349286352, 1349286311, 1349286306, 1349286302, 1349286296, 1349286291, 1349286283, 1349286247, 1349286244, 1349286239, 1349286234, 1349286081, 1349286077, 1349286074, 1349286072, 1349286012, 1349286007, 1349285995, 1349285984, 1349285967, 1349285688, 1349285667, 1349285641] Looping around the photos to save general results len do output : 1 /21945658Didn'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, '2715390') ('4302', '21945658', '1349286883', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390') ('4302', None, None, None, None, None, None, None, '2715390') ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21945658', 'None', None, None, None, None, '2715390'), ('4302', '21945658', '1349286883', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286781', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286777', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286503', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286498', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286459', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286454', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286449', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286443', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286409', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286407', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286404', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286377', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286371', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286365', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286361', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286355', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286352', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286311', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286306', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286302', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286296', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286291', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286283', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286247', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286244', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286239', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286234', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286081', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286077', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286074', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286072', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286012', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349286007', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285995', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285984', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285967', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285688', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285667', None, None, None, None, None, '2715390'), ('4302', '21945658', '1349285641', None, None, None, None, None, '2715390')] time used for this insertion : 0.019353628158569336 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.844954252243042 time spend to save output : 0.019734859466552734 total time spend for step 5 : 2.8646891117095947 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 (2715390) 3.06user 2.25system 0:18.92elapsed 28%CPU (0avgtext+0avgdata 166732maxresident)k 512inputs+26360outputs (3major+80707minor)pagefaults 0swaps