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 : 1909807 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 (2704294) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2704294) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845175 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2704294'] with mtr_portfolio_ids : ['21845175'] and first list_photo_ids : [] new path : /proc/1909807/ Name: python3 Umask: 0002 State: R (running) Tgid: 1909807 Ngid: 0 Pid: 1909807 PPid: 1909806 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1909807 NSpid: 1909807 NSpgid: 1901469 NSsid: 1901469 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98260 kB VmRSS: 98260 kB RssAnon: 59796 kB RssFile: 38464 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 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: 243 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1909807', 'Ngid': '0', 'Pid': '1909807', 'PPid': '1909806', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1909807', 'NSpid': '1909807', 'NSpgid': '1901469', 'NSsid': '1901469', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98260 kB', 'VmRSS': '98260 kB', 'RssAnon': '59796 kB', 'RssFile': '38464 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 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': '243', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '1909807', '1106928', '0', '1106928', '865676', '98260', b'', 'marlene', '2704294') 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 (21845175) 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 (2704294 ) ) 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 (21845175) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1348278559, 'portfolio_id': 21845175}, {'photo_id': 1348277365, 'portfolio_id': 21845175}, {'photo_id': 1348277047, 'portfolio_id': 21845175}, {'photo_id': 1348276854, 'portfolio_id': 21845175}, {'photo_id': 1348276793, 'portfolio_id': 21845175}, {'photo_id': 1348276764, 'portfolio_id': 21845175}, {'photo_id': 1348276758, 'portfolio_id': 21845175}, {'photo_id': 1348276521, 'portfolio_id': 21845175}, {'photo_id': 1348276482, 'portfolio_id': 21845175}, {'photo_id': 1348276137, 'portfolio_id': 21845175}, {'photo_id': 1348276106, 'portfolio_id': 21845175}, {'photo_id': 1348276075, 'portfolio_id': 21845175}, {'photo_id': 1348276008, 'portfolio_id': 21845175}, {'photo_id': 1348275882, 'portfolio_id': 21845175}, {'photo_id': 1348275849, 'portfolio_id': 21845175}, {'photo_id': 1348275773, 'portfolio_id': 21845175}, {'photo_id': 1348275753, 'portfolio_id': 21845175}, {'photo_id': 1348275742, 'portfolio_id': 21845175}, {'photo_id': 1348275697, 'portfolio_id': 21845175}, {'photo_id': 1348275656, 'portfolio_id': 21845175}, {'photo_id': 1348275640, 'portfolio_id': 21845175}, {'photo_id': 1348275532, 'portfolio_id': 21845175}, {'photo_id': 1348275491, 'portfolio_id': 21845175}, {'photo_id': 1348275329, 'portfolio_id': 21845175}, {'photo_id': 1348274728, 'portfolio_id': 21845175}, {'photo_id': 1348274713, 'portfolio_id': 21845175}, {'photo_id': 1348274687, 'portfolio_id': 21845175}, {'photo_id': 1348274668, 'portfolio_id': 21845175}, {'photo_id': 1348274354, 'portfolio_id': 21845175}, {'photo_id': 1348274282, 'portfolio_id': 21845175}, {'photo_id': 1348274274, 'portfolio_id': 21845175}, {'photo_id': 1348274251, 'portfolio_id': 21845175}, {'photo_id': 1348274219, 'portfolio_id': 21845175}, {'photo_id': 1348274195, 'portfolio_id': 21845175}, {'photo_id': 1348273606, 'portfolio_id': 21845175}, {'photo_id': 1348273566, 'portfolio_id': 21845175}, {'photo_id': 1348273511, 'portfolio_id': 21845175}, {'photo_id': 1348273453, 'portfolio_id': 21845175}, {'photo_id': 1348273418, 'portfolio_id': 21845175}, {'photo_id': 1348272917, 'portfolio_id': 21845175}, {'photo_id': 1348272890, 'portfolio_id': 21845175}] map_portfolio_id_photo_id: {21845175: [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890]} ##### 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.12078619003295898 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Mar 29 05:47:00 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 (21845175) 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 : 21845175 get user id for portfolio 21845175 get sub ptf for main ptf 21845175, type 3726 and hashtags ['environnement', 'metal', 'plastique', 'cartonnette', 'Carton_brun', 'Carton_gris', 'autre_refus', 'papier', 'flou', 'mal_croppe', 'kraft', 'Teint_Dans_La_Masse'] 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`=21845175 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','plastique','cartonnette','Carton_brun','Carton_gris','autre_refus','papier','flou','mal_croppe','kraft','Teint_Dans_La_Masse')) 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`=21845175 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','plastique','cartonnette','Carton_brun','Carton_gris','autre_refus','papier','flou','mal_croppe','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 21845175, 'sub_port_id': 21845176, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360132, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'mal_croppe': {'main_port_id': 21845175, 'sub_port_id': 21845177, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360133, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'cartonnette': {'main_port_id': 21845175, 'sub_port_id': 21845178, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360134, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'autre_refus': {'main_port_id': 21845175, 'sub_port_id': 21845179, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360135, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'plastique': {'main_port_id': 21845175, 'sub_port_id': 21845180, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360136, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'flou': {'main_port_id': 21845175, 'sub_port_id': 21845181, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360137, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'Carton_gris': {'main_port_id': 21845175, 'sub_port_id': 21845182, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360138, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'Carton_brun': {'main_port_id': 21845175, 'sub_port_id': 21845183, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360139, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'metal': {'main_port_id': 21845175, 'sub_port_id': 21845184, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360140, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'environnement': {'main_port_id': 21845175, 'sub_port_id': 21845185, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360141, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21845175, 'sub_port_id': 21845186, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360142, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}, 'kraft': {'main_port_id': 21845175, 'sub_port_id': 21845187, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360143, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 22, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21845176 , 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=21845175 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 (21845176) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845177 , 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=21845175 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 (21845177) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845178 , 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=21845175 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 (21845178) result : ((1348276740,), (1348277430,), (1348277431,), (1348277838,), (1348277896,), (1348277897,), (1348278091,), (1348278092,), (1348278093,), (1348278094,), (1348278095,), (1348278096,), (1348278097,), (1348278098,), (1348284275,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845179 , 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=21845175 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 (21845179) result : ((1348276115,), (1348276736,), (1348277401,), (1348277402,), (1348277835,), (1348277887,), (1348277888,), (1348278044,), (1348278045,), (1348278066,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845180 , 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=21845175 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 (21845180) result : ((1348276745,), (1348276746,), (1348277474,), (1348277910,), (1348284280,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845181 , 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=21845175 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 (21845181) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845182 , 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=21845175 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 (21845182) result : ((1348276739,), (1348277415,), (1348277837,), (1348277892,), (1348277894,), (1348277895,), (1348278076,), (1348278078,), (1348278081,), (1348278099,), (1348284267,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845183 , 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=21845175 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 (21845183) result : ((1348276741,), (1348276742,), (1348277444,), (1348277447,), (1348277901,), (1348277904,), (1348277905,), (1348277907,), (1348278106,), (1348278114,), (1348278115,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845184 , 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=21845175 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 (21845184) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845185 , 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=21845175 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 (21845185) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845186 , 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=21845175 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 (21845186) result : ((1348276108,), (1348276728,), (1348276730,), (1348276731,), (1348276732,), (1348277386,), (1348278040,), (1348278041,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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 21845187 , 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=21845175 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 (21845187) result : ((1348276748,), (1348277841,), (1348277842,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21845175) result : ((1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,)) 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`=21845175 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','plastique','cartonnette','Carton_brun','Carton_gris','autre_refus','papier','flou','mal_croppe','kraft','Teint_Dans_La_Masse')) 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`=21845175 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','metal','plastique','cartonnette','Carton_brun','Carton_gris','autre_refus','papier','flou','mal_croppe','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 21845175, 'sub_port_id': 21845188, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360144, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'mal_croppe': {'main_port_id': 21845175, 'sub_port_id': 21845189, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360145, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'cartonnette': {'main_port_id': 21845175, 'sub_port_id': 21845190, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360146, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'autre_refus': {'main_port_id': 21845175, 'sub_port_id': 21845191, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360147, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'plastique': {'main_port_id': 21845175, 'sub_port_id': 21845192, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360148, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'flou': {'main_port_id': 21845175, 'sub_port_id': 21845193, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360149, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'Carton_gris': {'main_port_id': 21845175, 'sub_port_id': 21845194, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360150, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'Carton_brun': {'main_port_id': 21845175, 'sub_port_id': 21845195, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360151, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'metal': {'main_port_id': 21845175, 'sub_port_id': 21845196, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360152, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'environnement': {'main_port_id': 21845175, 'sub_port_id': 21845197, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360153, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'Teint_Dans_La_Masse': {'main_port_id': 21845175, 'sub_port_id': 21845198, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360154, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}, 'kraft': {'main_port_id': 21845175, 'sub_port_id': 21845199, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14360155, 'last_updated_at': datetime.datetime(2025, 3, 28, 14, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 14, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 14, 23)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845188,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845176 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845189,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845177 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845190,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845178 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845191,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845179 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845192,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845180 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845193,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845181 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845194,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845182 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845195,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845183 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845196,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845184 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845197,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845185 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845198,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845186 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21845199,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21845187 lien utilise dans velours : https://www.fotonower.com/velours/21845188,21845189,21845190,21845191,21845192,21845193,21845194,21845195,21845196,21845197,21845198,21845199?tags=papier,mal_croppe,cartonnette,autre_refus,plastique,flou,Carton_gris,Carton_brun,metal,environnement,Teint_Dans_La_Masse,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21845175]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] map_info['map_portfolio_photo'] : {21845175: [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890]} final : False mtd_id 4302 list_pids : [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] Looping around the photos to save general results len do output : 1 /21845175. 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, '2704294') ('4302', '21845175', '1348278559', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21845175', "{'papier': 21845176, 'mal_croppe': 21845177, 'cartonnette': 21845178, 'autre_refus': 21845179, 'plastique': 21845180, 'flou': 21845181, 'Carton_gris': 21845182, 'Carton_brun': 21845183, 'metal': 21845184, 'environnement': 21845185, 'Teint_Dans_La_Masse': 21845186, 'kraft': 21845187}", None, None, None, None, '2704294'), ('4302', '21845175', '1348278559', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294')] time used for this insertion : 0.022762537002563477 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5375721454620361 time spend to save output : 0.02322554588317871 total time spend for step 1 : 1.5607976913452148 step2:final Sat Mar 29 05:47:01 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 (21845175) 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 21845175 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1348272917,1348272890,1348273606,1348273566,1348273511,1348273453,1348273418,1348274354,1348274282,1348274274,1348274251,1348274219,1348274195,1348274728,1348274713,1348274687,1348274668,1348275656,1348275640,1348275532,1348275491,1348275329,1348275882,1348275849,1348275773,1348275753,1348275742,1348275697,1348276137,1348276106,1348276075,1348276008,1348276521,1348276482,1348276854,1348276793,1348276764,1348276758,1348277047,1348278559,1348277365); 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([21845175]) Inside saveOutput : final : False verbose : True original output for save of step final : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} new output for save of step final : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] map_info['map_portfolio_photo'] : {21845175: [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890]} final : False mtd_id 4302 list_pids : [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] Looping around the photos to save general results len do output : 41 /1348278559.Didn't retrieve data . /1348277365.Didn't retrieve data . /1348277047.Didn't retrieve data . /1348276854.Didn't retrieve data . /1348276793.Didn't retrieve data . /1348276764.Didn't retrieve data . /1348276758.Didn't retrieve data . /1348276521.Didn't retrieve data . /1348276482.Didn't retrieve data . /1348276137.Didn't retrieve data . /1348276106.Didn't retrieve data . /1348276075.Didn't retrieve data . /1348276008.Didn't retrieve data . /1348275882.Didn't retrieve data . /1348275849.Didn't retrieve data . /1348275773.Didn't retrieve data . /1348275753.Didn't retrieve data . /1348275742.Didn't retrieve data . /1348275697.Didn't retrieve data . /1348275656.Didn't retrieve data . /1348275640.Didn't retrieve data . /1348275532.Didn't retrieve data . /1348275491.Didn't retrieve data . /1348275329.Didn't retrieve data . /1348274728.Didn't retrieve data . /1348274713.Didn't retrieve data . /1348274687.Didn't retrieve data . /1348274668.Didn't retrieve data . /1348274354.Didn't retrieve data . /1348274282.Didn't retrieve data . /1348274274.Didn't retrieve data . /1348274251.Didn't retrieve data . /1348274219.Didn't retrieve data . /1348274195.Didn't retrieve data . /1348273606.Didn't retrieve data . /1348273566.Didn't retrieve data . /1348273511.Didn't retrieve data . /1348273453.Didn't retrieve data . /1348273418.Didn't retrieve data . /1348272917.Didn't retrieve data . /1348272890.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, '2704294') ('4302', '21845175', '1348278559', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21845175', '1348278559', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348277365', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348277047', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276854', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276793', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276764', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276758', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276521', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276482', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276137', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276106', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276075', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348276008', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275882', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275849', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275773', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275753', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275742', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275697', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275656', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275640', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275532', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275491', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348275329', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274728', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274713', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274687', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274668', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274354', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274282', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274274', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274251', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274219', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348274195', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348273606', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348273566', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348273511', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348273453', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348273418', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348272917', '0.03508068328591505', None, None, None, None, '2704294'), ('4302', '21845175', '1348272890', '0.03508068328591505', None, None, None, None, '2704294')] time used for this insertion : 0.023648738861083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07591867446899414 time spend to save output : 0.02530050277709961 total time spend for step 2 : 0.10121917724609375 step3:velours_tree Sat Mar 29 05:47:02 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 : {21845175: [{'papier': 21845176, 'mal_croppe': 21845177, 'cartonnette': 21845178, 'autre_refus': 21845179, 'plastique': 21845180, 'flou': 21845181, 'Carton_gris': 21845182, 'Carton_brun': 21845183, 'metal': 21845184, 'environnement': 21845185, 'Teint_Dans_La_Masse': 21845186, 'kraft': 21845187}]} input_args_next_step : {21845175: ()} output_args : {21845175: [{'papier': 21845176, 'mal_croppe': 21845177, 'cartonnette': 21845178, 'autre_refus': 21845179, 'plastique': 21845180, 'flou': 21845181, 'Carton_gris': 21845182, 'Carton_brun': 21845183, 'metal': 21845184, 'environnement': 21845185, 'Teint_Dans_La_Masse': 21845186, 'kraft': 21845187}]} args : 21845175 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 21845176, 'mal_croppe': 21845177, 'cartonnette': 21845178, 'autre_refus': 21845179, 'plastique': 21845180, 'flou': 21845181, 'Carton_gris': 21845182, 'Carton_brun': 21845183, 'metal': 21845184, 'environnement': 21845185, 'Teint_Dans_La_Masse': 21845186, 'kraft': 21845187},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21845175) 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([21845175]) 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.6335365772247314 time spend to save output : 5.269050598144531e-05 total time spend for step 3 : 0.6335892677307129 step4:send_mail_cod Sat Mar 29 05:47:02 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 : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} input_args_next_step : {1348278559: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348278559 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348277365 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348277047 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276854 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276793 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276764 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276758 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276521 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276482 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276137 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276106 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276075 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348276008 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275882 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275849 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275773 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275753 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275742 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275697 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275656 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275640 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275532 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275491 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348275329 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274728 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274713 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274687 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274668 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274354 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274282 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274274 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274251 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274219 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348274195 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348273606 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348273566 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348273511 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348273453 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348273418 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348272917 depend.output_id : 0 input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ()} output_args : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',)} args : 1348272890 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 : {21845175: [{'papier': 21845176, 'mal_croppe': 21845177, 'cartonnette': 21845178, 'autre_refus': 21845179, 'plastique': 21845180, 'flou': 21845181, 'Carton_gris': 21845182, 'Carton_brun': 21845183, 'metal': 21845184, 'environnement': 21845185, 'Teint_Dans_La_Masse': 21845186, 'kraft': 21845187}]} input_args_next_step : {1348278559: ('0.03508068328591505',), 1348277365: ('0.03508068328591505',), 1348277047: ('0.03508068328591505',), 1348276854: ('0.03508068328591505',), 1348276793: ('0.03508068328591505',), 1348276764: ('0.03508068328591505',), 1348276758: ('0.03508068328591505',), 1348276521: ('0.03508068328591505',), 1348276482: ('0.03508068328591505',), 1348276137: ('0.03508068328591505',), 1348276106: ('0.03508068328591505',), 1348276075: ('0.03508068328591505',), 1348276008: ('0.03508068328591505',), 1348275882: ('0.03508068328591505',), 1348275849: ('0.03508068328591505',), 1348275773: ('0.03508068328591505',), 1348275753: ('0.03508068328591505',), 1348275742: ('0.03508068328591505',), 1348275697: ('0.03508068328591505',), 1348275656: ('0.03508068328591505',), 1348275640: ('0.03508068328591505',), 1348275532: ('0.03508068328591505',), 1348275491: ('0.03508068328591505',), 1348275329: ('0.03508068328591505',), 1348274728: ('0.03508068328591505',), 1348274713: ('0.03508068328591505',), 1348274687: ('0.03508068328591505',), 1348274668: ('0.03508068328591505',), 1348274354: ('0.03508068328591505',), 1348274282: ('0.03508068328591505',), 1348274274: ('0.03508068328591505',), 1348274251: ('0.03508068328591505',), 1348274219: ('0.03508068328591505',), 1348274195: ('0.03508068328591505',), 1348273606: ('0.03508068328591505',), 1348273566: ('0.03508068328591505',), 1348273511: ('0.03508068328591505',), 1348273453: ('0.03508068328591505',), 1348273418: ('0.03508068328591505',), 1348272917: ('0.03508068328591505',), 1348272890: ('0.03508068328591505',), 21845175: ()} output_args : {21845175: [{'papier': 21845176, 'mal_croppe': 21845177, 'cartonnette': 21845178, 'autre_refus': 21845179, 'plastique': 21845180, 'flou': 21845181, 'Carton_gris': 21845182, 'Carton_brun': 21845183, 'metal': 21845184, 'environnement': 21845185, 'Teint_Dans_La_Masse': 21845186, 'kraft': 21845187}]} args : 21845175 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :42, first value : ('0.03508068328591505',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21845175) 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 (1348278559,1348277365,1348277047,1348276854,1348276793,1348276764,1348276758,1348276521,1348276482,1348276137,1348276106,1348276075,1348276008,1348275882,1348275849,1348275773,1348275753,1348275742,1348275697,1348275656,1348275640,1348275532,1348275491,1348275329,1348274728,1348274713,1348274687,1348274668,1348274354,1348274282,1348274274,1348274251,1348274219,1348274195,1348273606,1348273566,1348273511,1348273453,1348273418,1348272917,1348272890) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1348272890 begin to download photo : 1348274251 begin to download photo : 1348275491 begin to download photo : 1348275882 begin to download photo : 1348276793 download finish for photo 1348275491 begin to download photo : 1348275532 download finish for photo 1348276793 begin to download photo : 1348276854 download finish for photo 1348275882 begin to download photo : 1348276008 download finish for photo 1348274251 begin to download photo : 1348274274 download finish for photo 1348272890 begin to download photo : 1348272917 download finish for photo 1348274274 begin to download photo : 1348274282 download finish for photo 1348276008 begin to download photo : 1348276075 download finish for photo 1348275532 begin to download photo : 1348275640 download finish for photo 1348276854 begin to download photo : 1348277047 download finish for photo 1348272917 begin to download photo : 1348273418 download finish for photo 1348276075 begin to download photo : 1348276106 download finish for photo 1348275640 begin to download photo : 1348275656 download finish for photo 1348273418 begin to download photo : 1348273453 download finish for photo 1348277047 begin to download photo : 1348277365 download finish for photo 1348274282 begin to download photo : 1348274354 download finish for photo 1348276106 begin to download photo : 1348276137 download finish for photo 1348274354 begin to download photo : 1348274668 download finish for photo 1348273453 begin to download photo : 1348273511 download finish for photo 1348277365 begin to download photo : 1348278559 download finish for photo 1348275656 begin to download photo : 1348275697 download finish for photo 1348276137 begin to download photo : 1348276482 download finish for photo 1348275697 begin to download photo : 1348275742 download finish for photo 1348278559 download finish for photo 1348273511 begin to download photo : 1348273566 download finish for photo 1348274668 begin to download photo : 1348274687 download finish for photo 1348276482 begin to download photo : 1348276521 download finish for photo 1348275742 begin to download photo : 1348275753 download finish for photo 1348273566 begin to download photo : 1348273606 download finish for photo 1348274687 begin to download photo : 1348274713 download finish for photo 1348276521 begin to download photo : 1348276758 download finish for photo 1348275753 begin to download photo : 1348275773 download finish for photo 1348273606 begin to download photo : 1348274195 download finish for photo 1348274713 begin to download photo : 1348274728 download finish for photo 1348276758 begin to download photo : 1348276764 download finish for photo 1348275773 begin to download photo : 1348275849 download finish for photo 1348274195 begin to download photo : 1348274219 download finish for photo 1348274728 begin to download photo : 1348275329 download finish for photo 1348276764 download finish for photo 1348275849 download finish for photo 1348274219 download finish for photo 1348275329 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette218451771743223624/ length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P21845175_29-03-2025_05_47_04.pdf 21845177 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=21845177 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218451771743223624 21845178 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=21845178 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276740: '1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351951_0.png', 1348277430: '1743168131_1237987_1348274728_c4bbaca8fcf9a8b35d614019ca40e3da_rle_crop_3736354231_0.png', 1348277431: '1743168131_1237987_1348274282_b0fedf3064571b127f87f087c25dcfb8_rle_crop_3736354251_0.png', 1348277838: '1743168505_156990_1348276758_a0cd117549223c63453cc865cbcb4733_rle_crop_3736366659_0.png', 1348277896: '1743168508_1524285_1348275773_2277ed9b33f606efac585c67e1605a9c_rle_crop_3736368381_0.png', 1348277897: '1743168508_1524285_1348275742_05dc66d407f1b17cc9969216d972da20_rle_crop_3736368398_0.png', 1348278091: '1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369154_0.png', 1348278092: '1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369161_0.png', 1348278093: '1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369158_0.png', 1348278094: '1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369326_0.png', 1348278095: '1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369330_0.png', 1348278096: '1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369324_0.png', 1348278097: '1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370368_0.png', 1348278098: '1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370372_0.png', 1348284275: '1743169493_1305387_1348274354_8233185e78264c3c6e7b67a40f39cd9d_rle_crop_3736400884_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/07b564af44b83c486cc097505b412428_83793636.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/dd820f92d7651393b69e59bc95cadd6b_55980709.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0be1716bbc02095566c34444757a2bce_39345003.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b5f4fda313b1f8457eaecd486a7eefaa_86190338.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/acf5de8e5b251477a18897353478ca6a_27369295.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b5be785e26401b10ed085f18cdce0026_33157758.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6fd39be747dfbefa84e6c557e5da7c13_1301734.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/021add720fc5d34949457bb679f65528_85568724.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6f2be21f135752ab83be31ffa2fb36ce_6032113.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6658979bbcf441b35f22485d6890f02a_74438979.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/883a394d07985379cb71243bb9442bec_76116060.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/57c670b6083356b5888d9b0c7d337f39_39271282.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/7b53fcfb7885c19dc194608fe7943850_57636299.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e5a87e09d9d8d8d026f00ccb3c4bd92c_24618240.png change filename to text .imagette218451781743223624/ imagette218451781743223624/1743168131_1237987_1348274282_b0fedf3064571b127f87f087c25dcfb8_rle_crop_3736354251_0.png.png imagette218451781743223624/1743168508_1524285_1348275773_2277ed9b33f606efac585c67e1605a9c_rle_crop_3736368381_0.png.png imagette218451781743223624/1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369154_0.png.png imagette218451781743223624/1743169493_1305387_1348274354_8233185e78264c3c6e7b67a40f39cd9d_rle_crop_3736400884_0.png.png imagette218451781743223624/1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370372_0.png.png imagette218451781743223624/1743168505_156990_1348276758_a0cd117549223c63453cc865cbcb4733_rle_crop_3736366659_0.png.png imagette218451781743223624/1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369324_0.png.png imagette218451781743223624/1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369158_0.png.png imagette218451781743223624/1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369330_0.png.png imagette218451781743223624/1743168131_1237987_1348274728_c4bbaca8fcf9a8b35d614019ca40e3da_rle_crop_3736354231_0.png.png imagette218451781743223624/1743168508_1524285_1348275742_05dc66d407f1b17cc9969216d972da20_rle_crop_3736368398_0.png.png imagette218451781743223624/1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369161_0.png.png imagette218451781743223624/1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370368_0.png.png imagette218451781743223624/1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351951_0.png.png imagette218451781743223624/1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369326_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/78c8ceb4c2aae924b9f1ff3fb72d5472_56557232.png imagette218451781743223624 21845179 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=21845179 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276115: '1743168074_1236111_1348273566_a927dab6cff570365e622bf1109df50d_rle_crop_3736350778_0.png', 1348276736: '1743168266_1518633_1348275640_aaaec15700b4eabcdafe59615ad23bfe_rle_crop_3736351968_0.png', 1348277401: '1743168131_1237987_1348274274_e62b94c8549ea2119a3fc52cd8bd0060_rle_crop_3736354264_0.png', 1348277402: '1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359424_0.png', 1348277835: '1743168505_156990_1348277047_3f465df006a184d70ba1778c6d06d4fb_rle_crop_3736366146_0.png', 1348277887: '1743168508_1524285_1348275849_60ce692eef5b99a681ed5df910e1e007_rle_crop_3736368367_0.png', 1348277888: '1743168508_1524285_1348275697_9372befcca7a5a5bd444c01b2bc01f8b_rle_crop_3736368411_0.png', 1348278044: '1743168492_1252084_1348276854_af60f489642a2359650c3ef850203e4e_rle_crop_3736369091_0.png', 1348278045: '1743168492_1252084_1348276482_85d4dddc6c7eae2b7a6901fc6db260cf_rle_crop_3736369143_0.png', 1348278066: '1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369159_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b646edb11c2c677a5625c09c002fab62_92900946.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/72e9d400a188bc3ab31ef10acb6975f6_23817862.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b1734567ccbcc814f379210b70db374a_66154832.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/62135b5eab02619aa14072c318b2ad21_19559073.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4d235944afff0cc2d5f790c7024456e4_19666612.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/c608f8790049526e0c7d64b48c8c14e6_7241466.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/9ddc363178bbc8dba8118b1d939339ba_5607005.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4d40fd8b8fbc6caaa19a09dcdc27f38e_78307947.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3a34363c1ecd2658511f32acb7cd97ab_91005750.png change filename to text .imagette218451791743223626/ imagette218451791743223626/1743168492_1252084_1348276854_af60f489642a2359650c3ef850203e4e_rle_crop_3736369091_0.png.png imagette218451791743223626/1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359424_0.png.png imagette218451791743223626/1743168266_1518633_1348275640_aaaec15700b4eabcdafe59615ad23bfe_rle_crop_3736351968_0.png.png imagette218451791743223626/1743168492_1252084_1348276482_85d4dddc6c7eae2b7a6901fc6db260cf_rle_crop_3736369143_0.png.png imagette218451791743223626/1743168131_1237987_1348274274_e62b94c8549ea2119a3fc52cd8bd0060_rle_crop_3736354264_0.png.png imagette218451791743223626/1743168508_1524285_1348275849_60ce692eef5b99a681ed5df910e1e007_rle_crop_3736368367_0.png.png imagette218451791743223626/1743168074_1236111_1348273566_a927dab6cff570365e622bf1109df50d_rle_crop_3736350778_0.png.png imagette218451791743223626/1743168534_1252541_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060_rle_crop_3736369159_0.png.png imagette218451791743223626/1743168508_1524285_1348275697_9372befcca7a5a5bd444c01b2bc01f8b_rle_crop_3736368411_0.png.png imagette218451791743223626/1743168505_156990_1348277047_3f465df006a184d70ba1778c6d06d4fb_rle_crop_3736366146_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/649fa46047ed67dbdd6568447c530ed0_29753865.png imagette218451791743223626 21845180 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=21845180 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276745: '1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351952_0.png', 1348276746: '1743168266_1518633_1348275491_137194d3b6b38522a14c814b1039cc70_rle_crop_3736352013_0.png', 1348277474: '1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359427_0.png', 1348277910: '1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368278_0.png', 1348284280: '1743169493_1305387_1348274354_8233185e78264c3c6e7b67a40f39cd9d_rle_crop_3736400887_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/5184597b9b50b6e17dc6024958241ec6_31697666.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/fa5b48b36d16901d348f161317186d2f_77773624.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/9cdeda7b32438ddffe6fabc061def794_77774624.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/237dcc74b4a58be68a791fc0fa97b0a6_67692580.png change filename to text .imagette218451801743223627/ imagette218451801743223627/1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368278_0.png.png imagette218451801743223627/1743169493_1305387_1348274354_8233185e78264c3c6e7b67a40f39cd9d_rle_crop_3736400887_0.png.png imagette218451801743223627/1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351952_0.png.png imagette218451801743223627/1743168266_1518633_1348275491_137194d3b6b38522a14c814b1039cc70_rle_crop_3736352013_0.png.png imagette218451801743223627/1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359427_0.png.png imagette218451811743223627/ imagette218451841743223627/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/206c16aefff0fe41fddc8d1022e2fc2b_8479989.png imagette218451801743223627 21845181 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=21845181 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218451811743223627 21845184 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=21845184 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218451841743223627 21845187 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=21845187 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276748: '1743168266_1518633_1348275491_137194d3b6b38522a14c814b1039cc70_rle_crop_3736352005_0.png', 1348277841: '1743168505_156990_1348277047_3f465df006a184d70ba1778c6d06d4fb_rle_crop_3736366154_0.png', 1348277842: '1743168505_156990_1348277047_3f465df006a184d70ba1778c6d06d4fb_rle_crop_3736366153_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/320ef6461d6dd31a4344b5461fc07ba4_73626881.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/7949c248b11a9cead1a285f6becfb6df_60250937.png change filename to text .imagette218451871743223627/ imagette218451871743223627/1743168505_156990_1348277047_3f465df006a184d70ba1778c6d06d4fb_rle_crop_3736366154_0.png.png imagette218451871743223627/1743168505_156990_1348277047_3f465df006a184d70ba1778c6d06d4fb_rle_crop_3736366153_0.png.png imagette218451871743223627/1743168266_1518633_1348275491_137194d3b6b38522a14c814b1039cc70_rle_crop_3736352005_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4449373590ab941469deb864c8b1bf30_42254282.png imagette218451871743223627 21845182 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=21845182 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276739: '1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351954_0.png', 1348277415: '1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359428_0.png', 1348277837: '1743168505_156990_1348276758_a0cd117549223c63453cc865cbcb4733_rle_crop_3736366651_0.png', 1348277892: '1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368267_0.png', 1348277894: '1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368270_0.png', 1348277895: '1743168508_1524285_1348275773_2277ed9b33f606efac585c67e1605a9c_rle_crop_3736368382_0.png', 1348278076: '1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370371_0.png', 1348278078: '1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370375_0.png', 1348278081: '1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370369_0.png', 1348278099: '1743168511_1252338_1348276008_dd3fb6cb1a983c4552977143dc9775b0_rle_crop_3736371362_0.png', 1348284267: '1743169493_1305387_1348274354_8233185e78264c3c6e7b67a40f39cd9d_rle_crop_3736400885_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/ce4ac36114bca642ace5239cd95a4c7f_86057766.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/d3086e37150ed5e3acce99b16e98b472_48625133.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/5c49266f2d77484847ee5f08556cac31_1326104.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/24f1e451fc5ed0ec89239bf2a74f8291_92858257.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4f1bee0363ef692717c633f627195a95_98705233.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/839b9fe980fe46140324e58a2ca2c91e_62770195.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/7e130f4706aaa3cdbf1d1b56e2e41cf7_73282512.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8d8cb66c12ca20bc59d04fe62e66969a_45776692.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/9ded8586b2de580375ef1ecc71c9c5b3_43487643.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/34c0d04bae46bc31c097ffe25e1efe1e_19669083.png change filename to text .imagette218451821743223627/ imagette218451821743223627/1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368267_0.png.png imagette218451821743223627/1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351954_0.png.png imagette218451821743223627/1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370369_0.png.png imagette218451821743223627/1743169493_1305387_1348274354_8233185e78264c3c6e7b67a40f39cd9d_rle_crop_3736400885_0.png.png imagette218451821743223627/1743168505_156990_1348276758_a0cd117549223c63453cc865cbcb4733_rle_crop_3736366651_0.png.png imagette218451821743223627/1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370371_0.png.png imagette218451821743223627/1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359428_0.png.png imagette218451821743223627/1743168511_1252338_1348276008_dd3fb6cb1a983c4552977143dc9775b0_rle_crop_3736371362_0.png.png imagette218451821743223627/1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368270_0.png.png imagette218451821743223627/1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370375_0.png.png imagette218451821743223627/1743168508_1524285_1348275773_2277ed9b33f606efac585c67e1605a9c_rle_crop_3736368382_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/11f7b0344d6e6d6fad6380346d121733_50550330.png imagette218451821743223627 21845183 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=21845183 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276741: '1743168266_1518633_1348275532_a8c41aa253ab0e1c790aa58131a29338_rle_crop_3736351995_0.png', 1348276742: '1743168266_1518633_1348275491_137194d3b6b38522a14c814b1039cc70_rle_crop_3736352009_0.png', 1348277444: '1743168131_1237987_1348274282_b0fedf3064571b127f87f087c25dcfb8_rle_crop_3736354249_0.png', 1348277447: '1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359425_0.png', 1348277901: '1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368272_0.png', 1348277904: '1743168508_1524285_1348275849_60ce692eef5b99a681ed5df910e1e007_rle_crop_3736368366_0.png', 1348277905: '1743168508_1524285_1348275753_7e776f05d97bfae15cc91fedc666db98_rle_crop_3736368388_0.png', 1348277907: '1743168508_1524285_1348275742_05dc66d407f1b17cc9969216d972da20_rle_crop_3736368401_0.png', 1348278106: '1743168511_1252338_1348276008_dd3fb6cb1a983c4552977143dc9775b0_rle_crop_3736371363_0.png', 1348278114: '1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369328_0.png', 1348278115: '1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370378_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/eb15fa849e5733fe1ef78c19dcafc822_32366766.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/25e9618241e5dac8cc3408566ca7aadd_23082603.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b44886ba55e82b11014935772252fbe0_32669590.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/237a2485fe1ae50c209d83c4b1227e93_88732017.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/474df00752a1755523a77d2fc29b71ef_91126726.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/20cd2e0c75d2d4ebe8d3c67228933d1f_2932087.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3c0a8070f6e7b157c3b46e87cab17570_5658592.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/994dc11f3869ab458c1bd7a4bff56ac8_5230793.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3c086895b8c9d0e3ed286318d455bfde_58127544.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f362836ec841e579fe167cf079962df5_4474150.png change filename to text .imagette218451831743223629/ imagette218451831743223629/1743168266_1518633_1348275532_a8c41aa253ab0e1c790aa58131a29338_rle_crop_3736351995_0.png.png imagette218451831743223629/1743168511_1252338_1348276008_dd3fb6cb1a983c4552977143dc9775b0_rle_crop_3736371363_0.png.png imagette218451831743223629/1743168508_1524285_1348275849_60ce692eef5b99a681ed5df910e1e007_rle_crop_3736368366_0.png.png imagette218451831743223629/1743168131_1237987_1348274282_b0fedf3064571b127f87f087c25dcfb8_rle_crop_3736354249_0.png.png imagette218451831743223629/1743168508_1524285_1348275753_7e776f05d97bfae15cc91fedc666db98_rle_crop_3736368388_0.png.png imagette218451831743223629/1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359425_0.png.png imagette218451831743223629/1743168508_1524285_1348275742_05dc66d407f1b17cc9969216d972da20_rle_crop_3736368401_0.png.png imagette218451831743223629/1743168534_1252541_1348274668_b06c26f12d2666ace85d117aa51020a7_rle_crop_3736370378_0.png.png imagette218451831743223629/1743168266_1518633_1348275491_137194d3b6b38522a14c814b1039cc70_rle_crop_3736352009_0.png.png imagette218451831743223629/1743168534_1252541_1348274687_a9c4cf84011fe329735c8e1470cb31da_rle_crop_3736369328_0.png.png imagette218451831743223629/1743168508_1524285_1348276137_8a0ce73f8d945d419d534fb28dc1b08e_rle_crop_3736368272_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e31067b833101a53ffafd62a29cb94ae_31514941.png imagette218451831743223629 21845186 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=21845186 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348276108: '1743168074_1236111_1348273566_a927dab6cff570365e622bf1109df50d_rle_crop_3736350776_0.png', 1348276728: '1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351962_0.png', 1348276730: '1743168266_1518633_1348275532_a8c41aa253ab0e1c790aa58131a29338_rle_crop_3736351999_0.png', 1348276731: '1743168266_1518633_1348275532_a8c41aa253ab0e1c790aa58131a29338_rle_crop_3736352000_0.png', 1348276732: '1743168266_1518633_1348275329_d152bce07e21c80d3fb23ee0decb974e_rle_crop_3736352049_0.png', 1348277386: '1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359426_0.png', 1348278040: '1743168492_1252084_1348276854_af60f489642a2359650c3ef850203e4e_rle_crop_3736369093_0.png', 1348278041: '1743168492_1252084_1348276482_85d4dddc6c7eae2b7a6901fc6db260cf_rle_crop_3736369148_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4931a172ab708d5bfc388bee6f3dceea_91016246.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/c1a96f2c1da6303bb3da47f263d930e1_78271415.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8116cbdf127f5a7fd4dba00824bd5aba_7084519.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8590b74394b147eb631362e904c124ee_42955160.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0d2f55323cd0b63eb1a39a9054ad1d7c_61510406.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/5aa58d9a629edf97c9f43ef3edb13811_63261010.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/db212b369a4a78abe70485b005b8c04b_42343368.png change filename to text .imagette218451861743223630/ imagette218451861743223630/1743168492_1252084_1348276482_85d4dddc6c7eae2b7a6901fc6db260cf_rle_crop_3736369148_0.png.png imagette218451861743223630/1743168131_1237987_1348274219_13de6d4870631488a782776e6880739c_rle_crop_3736359426_0.png.png imagette218451861743223630/1743168266_1518633_1348275329_d152bce07e21c80d3fb23ee0decb974e_rle_crop_3736352049_0.png.png imagette218451861743223630/1743168492_1252084_1348276854_af60f489642a2359650c3ef850203e4e_rle_crop_3736369093_0.png.png imagette218451861743223630/1743168074_1236111_1348273566_a927dab6cff570365e622bf1109df50d_rle_crop_3736350776_0.png.png imagette218451861743223630/1743168266_1518633_1348275532_a8c41aa253ab0e1c790aa58131a29338_rle_crop_3736352000_0.png.png imagette218451861743223630/1743168266_1518633_1348275882_ae323aa68643e8a8149f8cdbef4b8648_rle_crop_3736351962_0.png.png imagette218451861743223630/1743168266_1518633_1348275532_a8c41aa253ab0e1c790aa58131a29338_rle_crop_3736351999_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/766ea8e161e9f6e18fed92436975fabc_47432487.png imagette218451861743223630 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21845175 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21845188,21845189,21845190,21845191,21845192,21845193,21845194,21845195,21845196,21845197,21845198,21845199?tags=papier,mal_croppe,cartonnette,autre_refus,plastique,flou,Carton_gris,Carton_brun,metal,environnement,Teint_Dans_La_Masse,kraft your option no_mail is active, we will not send the real mail to your client args[1348278559] : ('0.03508068328591505',) no score found for photo 1348278559 We are sending mail with results at report@fotonower.com args[1348277365] : ('0.03508068328591505',) no score found for photo 1348277365 We are sending mail with results at report@fotonower.com args[1348277047] : ('0.03508068328591505',) no score found for photo 1348277047 We are sending mail with results at report@fotonower.com args[1348276854] : ('0.03508068328591505',) no score found for photo 1348276854 We are sending mail with results at report@fotonower.com args[1348276793] : ('0.03508068328591505',) no score found for photo 1348276793 We are sending mail with results at report@fotonower.com args[1348276764] : ('0.03508068328591505',) no score found for photo 1348276764 We are sending mail with results at report@fotonower.com args[1348276758] : ('0.03508068328591505',) no score found for photo 1348276758 We are sending mail with results at report@fotonower.com args[1348276521] : ('0.03508068328591505',) no score found for photo 1348276521 We are sending mail with results at report@fotonower.com args[1348276482] : ('0.03508068328591505',) no score found for photo 1348276482 We are sending mail with results at report@fotonower.com args[1348276137] : ('0.03508068328591505',) no score found for photo 1348276137 We are sending mail with results at report@fotonower.com args[1348276106] : ('0.03508068328591505',) no score found for photo 1348276106 We are sending mail with results at report@fotonower.com args[1348276075] : ('0.03508068328591505',) no score found for photo 1348276075 We are sending mail with results at report@fotonower.com args[1348276008] : ('0.03508068328591505',) no score found for photo 1348276008 We are sending mail with results at report@fotonower.com args[1348275882] : ('0.03508068328591505',) no score found for photo 1348275882 We are sending mail with results at report@fotonower.com args[1348275849] : ('0.03508068328591505',) no score found for photo 1348275849 We are sending mail with results at report@fotonower.com args[1348275773] : ('0.03508068328591505',) no score found for photo 1348275773 We are sending mail with results at report@fotonower.com args[1348275753] : ('0.03508068328591505',) no score found for photo 1348275753 We are sending mail with results at report@fotonower.com args[1348275742] : ('0.03508068328591505',) no score found for photo 1348275742 We are sending mail with results at report@fotonower.com args[1348275697] : ('0.03508068328591505',) no score found for photo 1348275697 We are sending mail with results at report@fotonower.com args[1348275656] : ('0.03508068328591505',) no score found for photo 1348275656 We are sending mail with results at report@fotonower.com args[1348275640] : ('0.03508068328591505',) no score found for photo 1348275640 We are sending mail with results at report@fotonower.com args[1348275532] : ('0.03508068328591505',) no score found for photo 1348275532 We are sending mail with results at report@fotonower.com args[1348275491] : ('0.03508068328591505',) no score found for photo 1348275491 We are sending mail with results at report@fotonower.com args[1348275329] : ('0.03508068328591505',) no score found for photo 1348275329 We are sending mail with results at report@fotonower.com args[1348274728] : ('0.03508068328591505',) no score found for photo 1348274728 We are sending mail with results at report@fotonower.com args[1348274713] : ('0.03508068328591505',) no score found for photo 1348274713 We are sending mail with results at report@fotonower.com args[1348274687] : ('0.03508068328591505',) no score found for photo 1348274687 We are sending mail with results at report@fotonower.com args[1348274668] : ('0.03508068328591505',) no score found for photo 1348274668 We are sending mail with results at report@fotonower.com args[1348274354] : ('0.03508068328591505',) no score found for photo 1348274354 We are sending mail with results at report@fotonower.com args[1348274282] : ('0.03508068328591505',) no score found for photo 1348274282 We are sending mail with results at report@fotonower.com args[1348274274] : ('0.03508068328591505',) no score found for photo 1348274274 We are sending mail with results at report@fotonower.com args[1348274251] : ('0.03508068328591505',) no score found for photo 1348274251 We are sending mail with results at report@fotonower.com args[1348274219] : ('0.03508068328591505',) no score found for photo 1348274219 We are sending mail with results at report@fotonower.com args[1348274195] : ('0.03508068328591505',) no score found for photo 1348274195 We are sending mail with results at report@fotonower.com args[1348273606] : ('0.03508068328591505',) no score found for photo 1348273606 We are sending mail with results at report@fotonower.com args[1348273566] : ('0.03508068328591505',) no score found for photo 1348273566 We are sending mail with results at report@fotonower.com args[1348273511] : ('0.03508068328591505',) no score found for photo 1348273511 We are sending mail with results at report@fotonower.com args[1348273453] : ('0.03508068328591505',) no score found for photo 1348273453 We are sending mail with results at report@fotonower.com args[1348273418] : ('0.03508068328591505',) no score found for photo 1348273418 We are sending mail with results at report@fotonower.com args[1348272917] : ('0.03508068328591505',) no score found for photo 1348272917 We are sending mail with results at report@fotonower.com args[1348272890] : ('0.03508068328591505',) no score found for photo 1348272890 We are sending mail with results at report@fotonower.com refus_total : 0.03508068328591505 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=21845175 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_P21845175_29-03-2025_05_47_04.pdf results_Auto_P21845175_29-03-2025_05_47_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_29-03-2025_05_47_04.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21845175','results_Auto_P21845175_29-03-2025_05_47_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_29-03-2025_05_47_04.pdf','pdf','','0.46','0.03508068328591505') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21845175]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] map_info['map_portfolio_photo'] : {21845175: [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890]} final : False mtd_id 4302 list_pids : [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] 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, '2704294') ('4302', '21845175', '1348278559', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294') 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', '21845175', '1348278559', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294')] time used for this insertion : 0.023344039916992188 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.249122619628906 time spend to save output : 0.023851871490478516 total time spend for step 4 : 11.272974491119385 step5:split_time_score Sat Mar 29 05:47:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21845175'] 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 : [('21845175',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21845175) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1348276793: {'path': 'temp/1743223622_1909807_1348276793_e88516621acd0f7b334bf00c4041bab5.jpg', 'extension': 'jpg'}, 1348276854: {'path': 'temp/1743223622_1909807_1348276854_af60f489642a2359650c3ef850203e4e.jpg', 'extension': 'jpg'}, 1348277047: {'path': 'temp/1743223622_1909807_1348277047_3f465df006a184d70ba1778c6d06d4fb.jpg', 'extension': 'jpg'}, 1348277365: {'path': 'temp/1743223622_1909807_1348277365_001801e776779b343fab746d6c4f378e.jpg', 'extension': 'jpg'}, 1348278559: {'path': 'temp/1743223622_1909807_1348278559_51bf7bd04fd486497941c7599cc30057.jpg', 'extension': 'jpg'}, 1348275882: {'path': 'temp/1743223622_1909807_1348275882_ae323aa68643e8a8149f8cdbef4b8648.jpg', 'extension': 'jpg'}, 1348276008: {'path': 'temp/1743223622_1909807_1348276008_dd3fb6cb1a983c4552977143dc9775b0.jpg', 'extension': 'jpg'}, 1348276075: {'path': 'temp/1743223622_1909807_1348276075_a1da777e55d502d30856d46b382932ae.jpg', 'extension': 'jpg'}, 1348276106: {'path': 'temp/1743223622_1909807_1348276106_93199100ccbd75b9b37ce4d749af7569.jpg', 'extension': 'jpg'}, 1348276137: {'path': 'temp/1743223622_1909807_1348276137_8a0ce73f8d945d419d534fb28dc1b08e.jpg', 'extension': 'jpg'}, 1348276482: {'path': 'temp/1743223622_1909807_1348276482_85d4dddc6c7eae2b7a6901fc6db260cf.jpg', 'extension': 'jpg'}, 1348276521: {'path': 'temp/1743223622_1909807_1348276521_2532020ec650d09c3f0a313138556109.jpg', 'extension': 'jpg'}, 1348276758: {'path': 'temp/1743223622_1909807_1348276758_a0cd117549223c63453cc865cbcb4733.jpg', 'extension': 'jpg'}, 1348276764: {'path': 'temp/1743223622_1909807_1348276764_0469bc16ca34a7ef3f75e8b37b68a7d1.jpg', 'extension': 'jpg'}, 1348275491: {'path': 'temp/1743223622_1909807_1348275491_137194d3b6b38522a14c814b1039cc70.jpg', 'extension': 'jpg'}, 1348275532: {'path': 'temp/1743223622_1909807_1348275532_a8c41aa253ab0e1c790aa58131a29338.jpg', 'extension': 'jpg'}, 1348275640: {'path': 'temp/1743223622_1909807_1348275640_aaaec15700b4eabcdafe59615ad23bfe.jpg', 'extension': 'jpg'}, 1348275656: {'path': 'temp/1743223622_1909807_1348275656_368ab8915bcd4ea2a609fb8624c1aadf.jpg', 'extension': 'jpg'}, 1348275697: {'path': 'temp/1743223622_1909807_1348275697_9372befcca7a5a5bd444c01b2bc01f8b.jpg', 'extension': 'jpg'}, 1348275742: {'path': 'temp/1743223622_1909807_1348275742_05dc66d407f1b17cc9969216d972da20.jpg', 'extension': 'jpg'}, 1348275753: {'path': 'temp/1743223622_1909807_1348275753_7e776f05d97bfae15cc91fedc666db98.jpg', 'extension': 'jpg'}, 1348275773: {'path': 'temp/1743223622_1909807_1348275773_2277ed9b33f606efac585c67e1605a9c.jpg', 'extension': 'jpg'}, 1348275849: {'path': 'temp/1743223622_1909807_1348275849_60ce692eef5b99a681ed5df910e1e007.jpg', 'extension': 'jpg'}, 1348272890: {'path': 'temp/1743223622_1909807_1348272890_a93171e099af9b6bf52d28c70e15e90c.jpg', 'extension': 'jpg'}, 1348272917: {'path': 'temp/1743223622_1909807_1348272917_e64cb339eaac9fdf198ce98be24b2fa8.jpg', 'extension': 'jpg'}, 1348273418: {'path': 'temp/1743223622_1909807_1348273418_5a53c3edba8cec0b7d51931a538be71c.jpg', 'extension': 'jpg'}, 1348273453: {'path': 'temp/1743223622_1909807_1348273453_97732a6cd45dba9e8ad6e97f88e0d34b.jpg', 'extension': 'jpg'}, 1348273511: {'path': 'temp/1743223622_1909807_1348273511_1606123b3b70826b523bdda553426e98.jpg', 'extension': 'jpg'}, 1348273566: {'path': 'temp/1743223622_1909807_1348273566_a927dab6cff570365e622bf1109df50d.jpg', 'extension': 'jpg'}, 1348273606: {'path': 'temp/1743223622_1909807_1348273606_a94e21b61734930ec2904f4a3f19ef0c.jpg', 'extension': 'jpg'}, 1348274195: {'path': 'temp/1743223622_1909807_1348274195_6ac71c1c7d59248d34196e5a35236002.jpg', 'extension': 'jpg'}, 1348274219: {'path': 'temp/1743223622_1909807_1348274219_13de6d4870631488a782776e6880739c.jpg', 'extension': 'jpg'}, 1348274251: {'path': 'temp/1743223622_1909807_1348274251_535a852318a57b2ff9bd05cb641cdf91.jpg', 'extension': 'jpg'}, 1348274274: {'path': 'temp/1743223622_1909807_1348274274_e62b94c8549ea2119a3fc52cd8bd0060.jpg', 'extension': 'jpg'}, 1348274282: {'path': 'temp/1743223622_1909807_1348274282_b0fedf3064571b127f87f087c25dcfb8.jpg', 'extension': 'jpg'}, 1348274354: {'path': 'temp/1743223622_1909807_1348274354_8233185e78264c3c6e7b67a40f39cd9d.jpg', 'extension': 'jpg'}, 1348274668: {'path': 'temp/1743223622_1909807_1348274668_b06c26f12d2666ace85d117aa51020a7.jpg', 'extension': 'jpg'}, 1348274687: {'path': 'temp/1743223622_1909807_1348274687_a9c4cf84011fe329735c8e1470cb31da.jpg', 'extension': 'jpg'}, 1348274713: {'path': 'temp/1743223622_1909807_1348274713_28eca4d9a3a2dc2a5a3a776703cf3060.jpg', 'extension': 'jpg'}, 1348274728: {'path': 'temp/1743223622_1909807_1348274728_c4bbaca8fcf9a8b35d614019ca40e3da.jpg', 'extension': 'jpg'}, 1348275329: {'path': 'temp/1743223622_1909807_1348275329_d152bce07e21c80d3fb23ee0decb974e.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 = 21845175; (('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 = 21845175 group by h (('14', 41),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21845175 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 (21845175) 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 (21845175) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28032025 21845175 Nombre de photos uploadées : 41 / 23040 (0%) 28032025 21845175 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 28032025 21845175 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1348272917, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e64cb339eaac9fdf198ce98be24b2fa8.jpg', 'username': None, 'uploaded_at': 1743167839, 'text': 'image_28032025_14_15_24_10135.jpg'}, {'photo_id': 1348272890, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a93171e099af9b6bf52d28c70e15e90c.jpg', 'username': None, 'uploaded_at': 1743167839, 'text': 'image_28032025_14_15_44_10135.jpg'}, {'photo_id': 1348273606, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a94e21b61734930ec2904f4a3f19ef0c.jpg', 'username': None, 'uploaded_at': 1743167899, 'text': 'image_28032025_14_15_54_10139.jpg'}, {'photo_id': 1348273566, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a927dab6cff570365e622bf1109df50d.jpg', 'username': None, 'uploaded_at': 1743167899, 'text': 'image_28032025_14_16_04_9129.jpg'}] 0 [] elapsed_time : load_data_split_time_score 5.4836273193359375e-06 elapsed_time : order_list_meta_photo_and_scores 1.4781951904296875e-05 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0024089813232421875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21845175, '2025-03-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1696037,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025524377822875977 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= 1696037 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21821745, 'dashboard_result_id': 9740163, '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_P21821745_29-03-2025_05_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21821746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21821747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21821748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21821749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21821750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21821751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21821752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21821753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21821754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21821755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21821756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21821757, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21822724, 'dashboard_result_id': 9740164, '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_P21822724_29-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822760, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21822918, 'dashboard_result_id': 9740165, '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_P21822918_29-03-2025_05_35_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822930, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21823291, 'dashboard_result_id': 9740166, '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_P21823291_29-03-2025_05_35_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21823310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21823311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21823312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21823313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21823314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21823315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21823316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21823317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21823318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21823319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21823320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21823321, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21825012, 'dashboard_result_id': 9740167, '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_P21825012_29-03-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825024, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21825194, 'dashboard_result_id': 9740168, '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_P21825194_29-03-2025_05_36_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21825231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825254, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21825619, 'dashboard_result_id': 9740169, '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_P21825619_29-03-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21825668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825679, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21826095, 'dashboard_result_id': 9740170, '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_P21826095_29-03-2025_05_37_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21826130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826131, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21826531, 'dashboard_result_id': 9740171, '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_P21826531_29-03-2025_05_37_43.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21826535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826546, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21827231, 'dashboard_result_id': 9740172, '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_P21827231_29-03-2025_05_37_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827245, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21827676, 'dashboard_result_id': 9740173, '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_P21827676_29-03-2025_05_37_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827690, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21828132, 'dashboard_result_id': 9740174, '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_P21828132_29-03-2025_05_38_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21828135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21828138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828146, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21828818, 'dashboard_result_id': 9740175, '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_P21828818_29-03-2025_05_38_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21828874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21828885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828889, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21829052, 'dashboard_result_id': 9740176, '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_P21829052_29-03-2025_05_39_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829088, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21829737, 'dashboard_result_id': 9740177, '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_P21829737_29-03-2025_05_39_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829749, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21830405, 'dashboard_result_id': 9740178, '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_P21830405_29-03-2025_05_39_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830417, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21830835, 'dashboard_result_id': 9740179, '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_P21830835_29-03-2025_05_40_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830913, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21831557, 'dashboard_result_id': 9740180, '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_P21831557_29-03-2025_05_40_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21831558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21831559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21831560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21831561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21831562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21831563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21831564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21831565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21831571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21831578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21831580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21831581, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21832228, 'dashboard_result_id': 9740181, '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_P21832228_29-03-2025_05_41_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21832256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21832257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21832258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21832259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21832260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21832261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21832262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21832263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21832264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21832265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21832266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21832267, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21833105, 'dashboard_result_id': 9740182, '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_P21833105_29-03-2025_05_41_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21833132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21833133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21833134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21833135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21833136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21833137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21833138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21833139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21833140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21833141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21833142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21833143, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21834766, 'dashboard_result_id': 9740183, '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_P21834766_29-03-2025_05_41_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21834827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21834828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21834829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21834831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21834832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21834833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21834834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21834835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21834836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21834837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21834838, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21835473, 'dashboard_result_id': 9740184, '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_P21835473_29-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21835491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21835492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21835493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21835494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21835495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21835496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21835497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21835498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21835499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21835500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21835501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21835502, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21836028, 'dashboard_result_id': 9740185, '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_P21836028_29-03-2025_05_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836066, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21836532, 'dashboard_result_id': 9740186, '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_P21836532_29-03-2025_05_42_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836575, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21837339, 'dashboard_result_id': 9740187, '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_P21837339_29-03-2025_05_43_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21837397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21837398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21837399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21837400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21837401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21837402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21837403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21837404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21837405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21837406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21837407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21837408, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21838195, 'dashboard_result_id': 9740188, '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_P21838195_29-03-2025_05_43_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21838212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21838213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21838214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21838215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21838216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21838217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21838218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21838219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21838220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21838221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21838222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21838223, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21839015, 'dashboard_result_id': 9740189, '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_P21839015_29-03-2025_05_43_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21839021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21839022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21839023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21839024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21839025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21839026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21839027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21839029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21839030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21839031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21839032, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21840138, 'dashboard_result_id': 9740190, '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_P21840138_29-03-2025_05_44_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840263, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21840944, 'dashboard_result_id': 9740191, '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_P21840944_29-03-2025_05_44_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840956, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21841582, 'dashboard_result_id': 9740192, '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_P21841582_29-03-2025_05_45_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21841609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21841610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21841611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21841613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21841614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21841615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21841616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21841617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21841618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21841619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21841620, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21842308, 'dashboard_result_id': 9740193, '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_P21842308_29-03-2025_05_45_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21842315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21842316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21842317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21842318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21842319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21842320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21842321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21842322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21842323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21842324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21842325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21842326, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21844228, 'dashboard_result_id': 9740194, '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_P21844228_29-03-2025_05_45_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21844229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844240, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21844510, 'dashboard_result_id': 9740195, '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_P21844510_29-03-2025_05_46_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21844516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844522, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21845175, 'dashboard_result_id': 9740196, '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_P21845175_28-03-2025_14_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21845176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845187, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21845981, 'dashboard_result_id': 9740197, '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_P21845981_28-03-2025_14_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21845989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845998, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21846957, 'dashboard_result_id': 9740198, '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_P21846957_28-03-2025_15_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21846958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21846959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21846960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21846961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21846962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21846963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21846964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21846965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21846966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21846967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21846968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21846969, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21847696, 'dashboard_result_id': 9740199, '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_P21847696_28-03-2025_15_19_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21847778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21847779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21847780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21847781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21847783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21847784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21847785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21847786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21847787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21847788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21847789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21847790, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21848624, 'dashboard_result_id': 9740200, '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_P21848624_28-03-2025_15_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21848653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21848654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21848655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21848656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21848657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21848658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21848659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21848660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21848661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21848662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21848663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21848664, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21849469, 'dashboard_result_id': 9740201, '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_P21849469_28-03-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21849494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21849495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21849496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21849497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21849498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21849499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21849500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21849501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21849502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21849503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21849504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21849505, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21850043, 'dashboard_result_id': 9740202, '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_P21850043_28-03-2025_16_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21850046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21850050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850057, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21850641, 'dashboard_result_id': 9740203, '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_P21850641_28-03-2025_16_19_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21850714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21850719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850725, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21851507, 'dashboard_result_id': 9740204, '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_P21851507_28-03-2025_16_34_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21851512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21851513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21851514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21851515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21851516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21851517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21851518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21851519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21851520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21851521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21851522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21851523, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21852656, 'dashboard_result_id': 9740205, '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_P21852656_28-03-2025_16_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21852669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21852670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21852671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21852672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21852673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21852674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21852675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21852676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21852677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21852678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21852679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21852680, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21853251, 'dashboard_result_id': 9740206, '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_P21853251_28-03-2025_17_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21853252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853263, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21853805, 'dashboard_result_id': 9740207, '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_P21853805_28-03-2025_17_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21853836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853841, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21854369, 'dashboard_result_id': 9740208, '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_P21854369_28-03-2025_17_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21854389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21854390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21854391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21854392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21854393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21854394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21854395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21854396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21854397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21854398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21854399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21854400, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21855305, 'dashboard_result_id': 9740209, '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_P21855305_28-03-2025_18_20_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855319, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21855796, 'dashboard_result_id': 9740210, '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_P21855796_28-03-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855810, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21856257, 'dashboard_result_id': 9740211, '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_P21856257_28-03-2025_18_50_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21856264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21856265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21856266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21856267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21856268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21856269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21856270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21856271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21856272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21856273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21856274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21856275, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21857089, 'dashboard_result_id': 9740212, '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_P21857089_28-03-2025_19_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21857118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857128, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21857676, 'dashboard_result_id': 9740213, '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_P21857676_28-03-2025_19_19_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21857686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857712, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21858428, 'dashboard_result_id': 9740214, '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_P21858428_28-03-2025_19_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21858482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21858483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21858484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21858485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21858486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21858487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21858488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21858489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21858490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21858491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21858492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21858493, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21859236, 'dashboard_result_id': 9740215, '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_P21859236_28-03-2025_19_50_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859355, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21859760, 'dashboard_result_id': 9740216, '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_P21859760_28-03-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859832, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21860213, 'dashboard_result_id': 9740217, '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_P21860213_28-03-2025_20_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21860275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860277, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21860849, 'dashboard_result_id': 9740218, '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_P21860849_28-03-2025_20_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21860851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860862, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21861323, 'dashboard_result_id': 9740219, '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_P21861323_28-03-2025_21_09_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21861326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21861327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21861328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21861329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21861330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21861331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21861332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21861333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21861334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21861335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21861336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21861337, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21862772, 'dashboard_result_id': 9740220, '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_P21862772_28-03-2025_22_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21862775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21862776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21862777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21862778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21862779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21862780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21862781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21862782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21862783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21862784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21862785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21862786, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21863389, 'dashboard_result_id': 9740221, '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_P21863389_28-03-2025_22_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863424, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21863815, 'dashboard_result_id': 9740222, '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_P21863815_28-03-2025_22_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863827, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21864373, 'dashboard_result_id': 9740223, '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_P21864373_28-03-2025_22_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21864375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21864376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21864377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21864378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21864379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21864380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21864381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21864382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21864383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21864384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21864385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21864386, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21864995, 'dashboard_result_id': 9740224, '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_P21864995_28-03-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21865014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865025, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21865437, 'dashboard_result_id': 9740225, '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_P21865437_28-03-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21865445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865450, '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 = 21821745 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': 2704261, 'mtr_portfolio_id': 21821745, 'created_at': datetime.datetime(2025, 3, 29, 5, 34, 28), 'result': '0.015021142312974132', 'result_long': None, 'result_double': None}] Qualite : 0.015021142312974132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21821745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21821745_29-03-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21821745 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_P21821745_29-03-2025_05_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21821746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21821747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21821748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21821749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21821750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21821751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21821752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21821753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21821754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21821755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21821756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21821757, 'pht': 3726}}" where mtr_portfolio_id = 21821745 and dashboard_run_id = 1707747 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`=21821745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740163, 0.015021142312974132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21821745_29-03-2025_05_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21821746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21821747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21821748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21821749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21821750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21821751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21821752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21821753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21821754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21821755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21821756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21821757, '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 = 21822724 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': 2704262, 'mtr_portfolio_id': 21822724, 'created_at': datetime.datetime(2025, 3, 29, 5, 34, 31), 'result': '0.044792084784669145', 'result_long': None, 'result_double': None}] Qualite : 0.044792084784669145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21822724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822724_29-03-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21822724 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_P21822724_29-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822760, 'pht': 3726}}" where mtr_portfolio_id = 21822724 and dashboard_run_id = 1707747 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`=21822724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740164, 0.044792084784669145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822724_29-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822760, '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 = 21822918 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': 2704263, 'mtr_portfolio_id': 21822918, 'created_at': datetime.datetime(2025, 3, 29, 5, 34, 59), 'result': '0.12698299729657306', 'result_long': None, 'result_double': None}] Qualite : 0.12698299729657306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21822918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822918_29-03-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21822918 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_P21822918_29-03-2025_05_35_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822930, 'pht': 3726}}" where mtr_portfolio_id = 21822918 and dashboard_run_id = 1707747 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`=21822918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740165, 0.12698299729657306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822918_29-03-2025_05_35_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822930, '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 = 21823291 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': 2704264, 'mtr_portfolio_id': 21823291, 'created_at': datetime.datetime(2025, 3, 29, 5, 35, 36), 'result': '0.04182816849050466', 'result_long': None, 'result_double': None}] Qualite : 0.04182816849050466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21823291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21823291_29-03-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21823291 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_P21823291_29-03-2025_05_35_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21823310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21823311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21823312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21823313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21823314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21823315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21823316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21823317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21823318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21823319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21823320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21823321, 'pht': 3726}}" where mtr_portfolio_id = 21823291 and dashboard_run_id = 1707747 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`=21823291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740166, 0.04182816849050466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21823291_29-03-2025_05_35_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21823310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21823311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21823312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21823313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21823314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21823315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21823316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21823317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21823318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21823319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21823320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21823321, '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 = 21825012 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': 2704265, 'mtr_portfolio_id': 21825012, 'created_at': datetime.datetime(2025, 3, 29, 5, 35, 33), 'result': '0.057575949094379485', 'result_long': None, 'result_double': None}] Qualite : 0.057575949094379485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21825012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21825012 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_P21825012_29-03-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825024, 'pht': 3726}}" where mtr_portfolio_id = 21825012 and dashboard_run_id = 1707747 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`=21825012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740167, 0.057575949094379485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825024, '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 = 21825194 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': 2704266, 'mtr_portfolio_id': 21825194, 'created_at': datetime.datetime(2025, 3, 29, 5, 36, 1), 'result': '0.038042179949325225', 'result_long': None, 'result_double': None}] Qualite : 0.038042179949325225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21825194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825194_29-03-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21825194 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_P21825194_29-03-2025_05_36_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21825231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825254, 'pht': 3726}}" where mtr_portfolio_id = 21825194 and dashboard_run_id = 1707747 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`=21825194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740168, 0.038042179949325225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825194_29-03-2025_05_36_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21825231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825254, '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 = 21825619 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': 2704267, 'mtr_portfolio_id': 21825619, 'created_at': datetime.datetime(2025, 3, 29, 5, 36, 31), 'result': '0.03341024058664475', 'result_long': None, 'result_double': None}] Qualite : 0.03341024058664475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21825619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825619_29-03-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21825619 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_P21825619_29-03-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21825668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825679, 'pht': 3726}}" where mtr_portfolio_id = 21825619 and dashboard_run_id = 1707747 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`=21825619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740169, 0.03341024058664475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825619_29-03-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21825668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825679, '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 = 21826095 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': 2704268, 'mtr_portfolio_id': 21826095, 'created_at': datetime.datetime(2025, 3, 29, 5, 36, 59), 'result': '0.046103269582452075', 'result_long': None, 'result_double': None}] Qualite : 0.046103269582452075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21826095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826095_29-03-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21826095 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_P21826095_29-03-2025_05_37_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21826130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826131, 'pht': 3726}}" where mtr_portfolio_id = 21826095 and dashboard_run_id = 1707747 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`=21826095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740170, 0.046103269582452075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826095_29-03-2025_05_37_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21826130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826131, '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 = 21826531 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': 2704269, 'mtr_portfolio_id': 21826531, 'created_at': datetime.datetime(2025, 3, 29, 5, 37, 34), 'result': '0.04208778029187196', 'result_long': None, 'result_double': None}] Qualite : 0.04208778029187196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21826531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826531_29-03-2025_05_37_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21826531 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_P21826531_29-03-2025_05_37_43.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21826535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826546, 'pht': 3726}}" where mtr_portfolio_id = 21826531 and dashboard_run_id = 1707747 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`=21826531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740171, 0.04208778029187196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826531_29-03-2025_05_37_43.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21826535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826546, '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 = 21827231 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': 2704270, 'mtr_portfolio_id': 21827231, 'created_at': datetime.datetime(2025, 3, 29, 5, 37, 30), 'result': '0.03292549790994546', 'result_long': None, 'result_double': None}] Qualite : 0.03292549790994546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21827231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827231_29-03-2025_05_37_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21827231 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_P21827231_29-03-2025_05_37_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827245, 'pht': 3726}}" where mtr_portfolio_id = 21827231 and dashboard_run_id = 1707747 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`=21827231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740172, 0.03292549790994546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827231_29-03-2025_05_37_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827245, '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 = 21827676 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': 2704271, 'mtr_portfolio_id': 21827676, 'created_at': datetime.datetime(2025, 3, 29, 5, 37, 30), 'result': '0.044364132184119866', 'result_long': None, 'result_double': None}] Qualite : 0.044364132184119866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21827676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827676_29-03-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21827676 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_P21827676_29-03-2025_05_37_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827690, 'pht': 3726}}" where mtr_portfolio_id = 21827676 and dashboard_run_id = 1707747 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`=21827676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740173, 0.044364132184119866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827676_29-03-2025_05_37_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827690, '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 = 21828132 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': 2704272, 'mtr_portfolio_id': 21828132, 'created_at': datetime.datetime(2025, 3, 29, 5, 38), 'result': '0.05321353328455582', 'result_long': None, 'result_double': None}] Qualite : 0.05321353328455582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21828132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828132_29-03-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21828132 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_P21828132_29-03-2025_05_38_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21828135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21828138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828146, 'pht': 3726}}" where mtr_portfolio_id = 21828132 and dashboard_run_id = 1707747 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`=21828132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740174, 0.05321353328455582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828132_29-03-2025_05_38_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21828135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21828138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828146, '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 = 21828818 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': 2704273, 'mtr_portfolio_id': 21828818, 'created_at': datetime.datetime(2025, 3, 29, 5, 38, 30), 'result': '0.019931460632875254', 'result_long': None, 'result_double': None}] Qualite : 0.019931460632875254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21828818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828818_29-03-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21828818 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_P21828818_29-03-2025_05_38_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21828874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21828885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828889, 'pht': 3726}}" where mtr_portfolio_id = 21828818 and dashboard_run_id = 1707747 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`=21828818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740175, 0.019931460632875254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828818_29-03-2025_05_38_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21828874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21828885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828889, '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 = 21829052 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': 2704274, 'mtr_portfolio_id': 21829052, 'created_at': datetime.datetime(2025, 3, 29, 5, 39, 2), 'result': '0.03677338031419903', 'result_long': None, 'result_double': None}] Qualite : 0.03677338031419903 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21829052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829052_29-03-2025_05_39_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21829052 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_P21829052_29-03-2025_05_39_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829088, 'pht': 3726}}" where mtr_portfolio_id = 21829052 and dashboard_run_id = 1707747 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`=21829052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740176, 0.03677338031419903, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829052_29-03-2025_05_39_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829088, '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 = 21829737 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': 2704275, 'mtr_portfolio_id': 21829737, 'created_at': datetime.datetime(2025, 3, 29, 5, 39, 33), 'result': '0.03782634657551725', 'result_long': None, 'result_double': None}] Qualite : 0.03782634657551725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21829737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829737_29-03-2025_05_39_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21829737 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_P21829737_29-03-2025_05_39_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829749, 'pht': 3726}}" where mtr_portfolio_id = 21829737 and dashboard_run_id = 1707747 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`=21829737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740177, 0.03782634657551725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829737_29-03-2025_05_39_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829749, '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 = 21830405 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': 2704276, 'mtr_portfolio_id': 21830405, 'created_at': datetime.datetime(2025, 3, 29, 5, 39, 31), 'result': '0.03885585061044055', 'result_long': None, 'result_double': None}] Qualite : 0.03885585061044055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21830405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830405_29-03-2025_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21830405 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_P21830405_29-03-2025_05_39_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830417, 'pht': 3726}}" where mtr_portfolio_id = 21830405 and dashboard_run_id = 1707747 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`=21830405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740178, 0.03885585061044055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830405_29-03-2025_05_39_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830417, '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 = 21830835 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': 2704277, 'mtr_portfolio_id': 21830835, 'created_at': datetime.datetime(2025, 3, 29, 5, 40, 1), 'result': '0.048942633774995074', 'result_long': None, 'result_double': None}] Qualite : 0.048942633774995074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21830835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830835_29-03-2025_05_40_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21830835 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_P21830835_29-03-2025_05_40_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830913, 'pht': 3726}}" where mtr_portfolio_id = 21830835 and dashboard_run_id = 1707747 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`=21830835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740179, 0.048942633774995074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830835_29-03-2025_05_40_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830913, '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 = 21831557 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': 2704278, 'mtr_portfolio_id': 21831557, 'created_at': datetime.datetime(2025, 3, 29, 5, 40, 35), 'result': '0.04063181971776842', 'result_long': None, 'result_double': None}] Qualite : 0.04063181971776842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21831557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21831557_29-03-2025_05_40_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21831557 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_P21831557_29-03-2025_05_40_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21831558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21831559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21831560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21831561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21831562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21831563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21831564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21831565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21831571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21831578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21831580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21831581, 'pht': 3726}}" where mtr_portfolio_id = 21831557 and dashboard_run_id = 1707747 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`=21831557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740180, 0.04063181971776842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21831557_29-03-2025_05_40_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21831558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21831559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21831560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21831561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21831562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21831563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21831564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21831565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21831571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21831578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21831580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21831581, '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 = 21832228 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': 2704279, 'mtr_portfolio_id': 21832228, 'created_at': datetime.datetime(2025, 3, 29, 5, 41, 1), 'result': '0.03571593849431393', 'result_long': None, 'result_double': None}] Qualite : 0.03571593849431393 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21832228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21832228_29-03-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21832228 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_P21832228_29-03-2025_05_41_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21832256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21832257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21832258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21832259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21832260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21832261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21832262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21832263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21832264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21832265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21832266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21832267, 'pht': 3726}}" where mtr_portfolio_id = 21832228 and dashboard_run_id = 1707747 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`=21832228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740181, 0.03571593849431393, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21832228_29-03-2025_05_41_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21832256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21832257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21832258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21832259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21832260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21832261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21832262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21832263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21832264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21832265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21832266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21832267, '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 = 21833105 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': 2704280, 'mtr_portfolio_id': 21833105, 'created_at': datetime.datetime(2025, 3, 29, 5, 41, 2), 'result': '0.05703857448665841', 'result_long': None, 'result_double': None}] Qualite : 0.05703857448665841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21833105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21833105_29-03-2025_05_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21833105 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_P21833105_29-03-2025_05_41_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21833132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21833133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21833134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21833135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21833136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21833137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21833138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21833139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21833140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21833141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21833142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21833143, 'pht': 3726}}" where mtr_portfolio_id = 21833105 and dashboard_run_id = 1707747 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`=21833105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740182, 0.05703857448665841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21833105_29-03-2025_05_41_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21833132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21833133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21833134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21833135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21833136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21833137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21833138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21833139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21833140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21833141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21833142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21833143, '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 = 21834766 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': 2704281, 'mtr_portfolio_id': 21834766, 'created_at': datetime.datetime(2025, 3, 29, 5, 41, 35), 'result': '0.052645104952037065', 'result_long': None, 'result_double': None}] Qualite : 0.052645104952037065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21834766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21834766_29-03-2025_05_41_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21834766 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_P21834766_29-03-2025_05_41_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21834827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21834828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21834829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21834831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21834832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21834833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21834834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21834835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21834836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21834837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21834838, 'pht': 3726}}" where mtr_portfolio_id = 21834766 and dashboard_run_id = 1707747 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`=21834766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740183, 0.052645104952037065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21834766_29-03-2025_05_41_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21834827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21834828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21834829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21834831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21834832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21834833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21834834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21834835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21834836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21834837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21834838, '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 = 21835473 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': 2704282, 'mtr_portfolio_id': 21835473, 'created_at': datetime.datetime(2025, 3, 29, 5, 41, 29), 'result': '0.04878693034912731', 'result_long': None, 'result_double': None}] Qualite : 0.04878693034912731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21835473 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21835473_29-03-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21835473 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_P21835473_29-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21835491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21835492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21835493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21835494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21835495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21835496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21835497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21835498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21835499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21835500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21835501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21835502, 'pht': 3726}}" where mtr_portfolio_id = 21835473 and dashboard_run_id = 1707747 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`=21835473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740184, 0.04878693034912731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21835473_29-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21835491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21835492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21835493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21835494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21835495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21835496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21835497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21835498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21835499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21835500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21835501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21835502, '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 = 21836028 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': 2704283, 'mtr_portfolio_id': 21836028, 'created_at': datetime.datetime(2025, 3, 29, 5, 42), 'result': '0.05780604372258675', 'result_long': None, 'result_double': None}] Qualite : 0.05780604372258675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21836028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836028_29-03-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21836028 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_P21836028_29-03-2025_05_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836066, 'pht': 3726}}" where mtr_portfolio_id = 21836028 and dashboard_run_id = 1707747 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`=21836028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740185, 0.05780604372258675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836028_29-03-2025_05_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836066, '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 = 21836532 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': 2704284, 'mtr_portfolio_id': 21836532, 'created_at': datetime.datetime(2025, 3, 29, 5, 42, 33), 'result': '0.05734319560025771', 'result_long': None, 'result_double': None}] Qualite : 0.05734319560025771 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21836532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836532_29-03-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21836532 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_P21836532_29-03-2025_05_42_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836575, 'pht': 3726}}" where mtr_portfolio_id = 21836532 and dashboard_run_id = 1707747 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`=21836532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740186, 0.05734319560025771, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836532_29-03-2025_05_42_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836575, '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 = 21837339 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': 2704285, 'mtr_portfolio_id': 21837339, 'created_at': datetime.datetime(2025, 3, 29, 5, 42, 58), 'result': '0.04609792443156674', 'result_long': None, 'result_double': None}] Qualite : 0.04609792443156674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21837339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21837339_29-03-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21837339 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_P21837339_29-03-2025_05_43_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21837397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21837398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21837399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21837400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21837401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21837402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21837403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21837404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21837405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21837406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21837407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21837408, 'pht': 3726}}" where mtr_portfolio_id = 21837339 and dashboard_run_id = 1707747 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`=21837339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740187, 0.04609792443156674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21837339_29-03-2025_05_43_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21837397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21837398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21837399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21837400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21837401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21837402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21837403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21837404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21837405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21837406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21837407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21837408, '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 = 21838195 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': 2704286, 'mtr_portfolio_id': 21838195, 'created_at': datetime.datetime(2025, 3, 29, 5, 43, 30), 'result': '0.028525232111409424', 'result_long': None, 'result_double': None}] Qualite : 0.028525232111409424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21838195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21838195_29-03-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21838195 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_P21838195_29-03-2025_05_43_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21838212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21838213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21838214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21838215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21838216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21838217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21838218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21838219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21838220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21838221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21838222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21838223, 'pht': 3726}}" where mtr_portfolio_id = 21838195 and dashboard_run_id = 1707747 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`=21838195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740188, 0.028525232111409424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21838195_29-03-2025_05_43_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21838212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21838213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21838214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21838215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21838216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21838217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21838218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21838219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21838220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21838221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21838222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21838223, '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 = 21839015 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': 2704287, 'mtr_portfolio_id': 21839015, 'created_at': datetime.datetime(2025, 3, 29, 5, 43, 32), 'result': '0.04005221157418086', 'result_long': None, 'result_double': None}] Qualite : 0.04005221157418086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21839015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21839015_29-03-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21839015 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_P21839015_29-03-2025_05_43_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21839021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21839022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21839023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21839024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21839025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21839026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21839027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21839029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21839030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21839031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21839032, 'pht': 3726}}" where mtr_portfolio_id = 21839015 and dashboard_run_id = 1707747 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`=21839015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740189, 0.04005221157418086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21839015_29-03-2025_05_43_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21839021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21839022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21839023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21839024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21839025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21839026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21839027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21839029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21839030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21839031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21839032, '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 = 21840138 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': 2704288, 'mtr_portfolio_id': 21840138, 'created_at': datetime.datetime(2025, 3, 29, 5, 43, 59), 'result': '0.046555273326416034', 'result_long': None, 'result_double': None}] Qualite : 0.046555273326416034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21840138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840138_29-03-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21840138 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_P21840138_29-03-2025_05_44_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840263, 'pht': 3726}}" where mtr_portfolio_id = 21840138 and dashboard_run_id = 1707747 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`=21840138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740190, 0.046555273326416034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840138_29-03-2025_05_44_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840263, '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 = 21840944 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': 2704289, 'mtr_portfolio_id': 21840944, 'created_at': datetime.datetime(2025, 3, 29, 5, 44, 32), 'result': '0.03587728192257288', 'result_long': None, 'result_double': None}] Qualite : 0.03587728192257288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21840944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840944_29-03-2025_05_44_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21840944 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_P21840944_29-03-2025_05_44_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840956, 'pht': 3726}}" where mtr_portfolio_id = 21840944 and dashboard_run_id = 1707747 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`=21840944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740191, 0.03587728192257288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840944_29-03-2025_05_44_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840956, '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 = 21841582 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': 2704290, 'mtr_portfolio_id': 21841582, 'created_at': datetime.datetime(2025, 3, 29, 5, 45), 'result': '0.04506993442209372', 'result_long': None, 'result_double': None}] Qualite : 0.04506993442209372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21841582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21841582_29-03-2025_05_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21841582 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_P21841582_29-03-2025_05_45_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21841609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21841610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21841611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21841613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21841614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21841615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21841616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21841617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21841618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21841619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21841620, 'pht': 3726}}" where mtr_portfolio_id = 21841582 and dashboard_run_id = 1707747 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`=21841582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740192, 0.04506993442209372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21841582_29-03-2025_05_45_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21841609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21841610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21841611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21841613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21841614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21841615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21841616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21841617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21841618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21841619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21841620, '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 = 21842308 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': 2704291, 'mtr_portfolio_id': 21842308, 'created_at': datetime.datetime(2025, 3, 29, 5, 45, 32), 'result': '0.0501362949743371', 'result_long': None, 'result_double': None}] Qualite : 0.0501362949743371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21842308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21842308_29-03-2025_05_45_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21842308 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_P21842308_29-03-2025_05_45_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21842315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21842316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21842317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21842318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21842319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21842320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21842321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21842322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21842323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21842324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21842325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21842326, 'pht': 3726}}" where mtr_portfolio_id = 21842308 and dashboard_run_id = 1707747 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`=21842308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740193, 0.0501362949743371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21842308_29-03-2025_05_45_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21842315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21842316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21842317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21842318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21842319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21842320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21842321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21842322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21842323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21842324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21842325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21842326, '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 = 21844228 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': 2704292, 'mtr_portfolio_id': 21844228, 'created_at': datetime.datetime(2025, 3, 29, 5, 45, 31), 'result': '0.0375470956787202', 'result_long': None, 'result_double': None}] Qualite : 0.0375470956787202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21844228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844228_29-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21844228 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_P21844228_29-03-2025_05_45_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21844229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844240, 'pht': 3726}}" where mtr_portfolio_id = 21844228 and dashboard_run_id = 1707747 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`=21844228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740194, 0.0375470956787202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844228_29-03-2025_05_45_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21844229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844240, '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 = 21844510 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': 2704293, 'mtr_portfolio_id': 21844510, 'created_at': datetime.datetime(2025, 3, 29, 5, 45, 58), 'result': '0.03796436013806171', 'result_long': None, 'result_double': None}] Qualite : 0.03796436013806171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21844510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844510_29-03-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21844510 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_P21844510_29-03-2025_05_46_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21844516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844522, 'pht': 3726}}" where mtr_portfolio_id = 21844510 and dashboard_run_id = 1707747 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`=21844510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740195, 0.03796436013806171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844510_29-03-2025_05_46_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21844516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844522, '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 = 21845175 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': 2704294, 'mtr_portfolio_id': 21845175, 'created_at': datetime.datetime(2025, 3, 29, 5, 47, 2), 'result': '0.03508068328591505', 'result_long': None, 'result_double': None}] Qualite : 0.03508068328591505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21845175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_29-03-2025_05_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21845175 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_P21845175_29-03-2025_05_47_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21845176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845187, 'pht': 3726}}" where mtr_portfolio_id = 21845175 and dashboard_run_id = 1707747 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`=21845175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740196, 0.03508068328591505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_29-03-2025_05_47_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21845176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845187, '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 = 21845981 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': 2702004, 'mtr_portfolio_id': 21845981, 'created_at': datetime.datetime(2025, 3, 28, 14, 48, 57), 'result': '0.0469128167528036', 'result_long': None, 'result_double': None}] Qualite : 0.0469128167528036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21845981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845981_28-03-2025_14_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21845981 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_P21845981_28-03-2025_14_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21845989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845998, 'pht': 3726}}" where mtr_portfolio_id = 21845981 and dashboard_run_id = 1707747 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`=21845981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740197, 0.0469128167528036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845981_28-03-2025_14_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21845989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845998, '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 = 21846957 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': 2702058, 'mtr_portfolio_id': 21846957, 'created_at': datetime.datetime(2025, 3, 28, 15, 5), 'result': '0.050657726501210816', 'result_long': None, 'result_double': None}] Qualite : 0.050657726501210816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21846957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21846957_28-03-2025_15_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21846957 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_P21846957_28-03-2025_15_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21846958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21846959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21846960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21846961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21846962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21846963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21846964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21846965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21846966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21846967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21846968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21846969, 'pht': 3726}}" where mtr_portfolio_id = 21846957 and dashboard_run_id = 1707747 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`=21846957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740198, 0.050657726501210816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21846957_28-03-2025_15_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21846958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21846959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21846960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21846961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21846962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21846963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21846964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21846965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21846966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21846967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21846968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21846969, '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 = 21847696 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': 2702116, 'mtr_portfolio_id': 21847696, 'created_at': datetime.datetime(2025, 3, 28, 15, 19, 59), 'result': '0.036905367621864665', 'result_long': None, 'result_double': None}] Qualite : 0.036905367621864665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21847696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21847696_28-03-2025_15_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21847696 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_P21847696_28-03-2025_15_19_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21847778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21847779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21847780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21847781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21847783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21847784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21847785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21847786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21847787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21847788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21847789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21847790, 'pht': 3726}}" where mtr_portfolio_id = 21847696 and dashboard_run_id = 1707747 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`=21847696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740199, 0.036905367621864665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21847696_28-03-2025_15_19_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21847778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21847779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21847780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21847781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21847783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21847784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21847785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21847786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21847787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21847788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21847789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21847790, '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 = 21848624 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': 2702167, 'mtr_portfolio_id': 21848624, 'created_at': datetime.datetime(2025, 3, 28, 15, 33, 30), 'result': '0.042084160713128003', 'result_long': None, 'result_double': None}] Qualite : 0.042084160713128003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21848624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21848624_28-03-2025_15_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21848624 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_P21848624_28-03-2025_15_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21848653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21848654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21848655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21848656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21848657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21848658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21848659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21848660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21848661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21848662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21848663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21848664, 'pht': 3726}}" where mtr_portfolio_id = 21848624 and dashboard_run_id = 1707747 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`=21848624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740200, 0.042084160713128003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21848624_28-03-2025_15_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21848653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21848654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21848655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21848656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21848657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21848658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21848659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21848660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21848661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21848662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21848663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21848664, '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 = 21849469 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': 2702230, 'mtr_portfolio_id': 21849469, 'created_at': datetime.datetime(2025, 3, 28, 15, 48, 58), 'result': '0.05391108857243751', 'result_long': None, 'result_double': None}] Qualite : 0.05391108857243751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21849469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21849469_28-03-2025_15_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21849469 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_P21849469_28-03-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21849494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21849495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21849496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21849497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21849498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21849499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21849500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21849501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21849502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21849503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21849504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21849505, 'pht': 3726}}" where mtr_portfolio_id = 21849469 and dashboard_run_id = 1707747 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`=21849469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740201, 0.05391108857243751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21849469_28-03-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21849494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21849495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21849496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21849497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21849498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21849499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21849500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21849501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21849502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21849503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21849504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21849505, '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 = 21850043 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': 2702266, 'mtr_portfolio_id': 21850043, 'created_at': datetime.datetime(2025, 3, 28, 16, 4, 59), 'result': '0.04285926714566389', 'result_long': None, 'result_double': None}] Qualite : 0.04285926714566389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21850043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850043_28-03-2025_16_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21850043 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_P21850043_28-03-2025_16_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21850046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21850050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850057, 'pht': 3726}}" where mtr_portfolio_id = 21850043 and dashboard_run_id = 1707747 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`=21850043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740202, 0.04285926714566389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850043_28-03-2025_16_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21850046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21850050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850057, '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 = 21850641 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': 2702345, 'mtr_portfolio_id': 21850641, 'created_at': datetime.datetime(2025, 3, 28, 16, 19, 2), 'result': '0.042389006368240355', 'result_long': None, 'result_double': None}] Qualite : 0.042389006368240355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21850641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850641_28-03-2025_16_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21850641 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_P21850641_28-03-2025_16_19_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21850714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21850719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850725, 'pht': 3726}}" where mtr_portfolio_id = 21850641 and dashboard_run_id = 1707747 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`=21850641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740203, 0.042389006368240355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850641_28-03-2025_16_19_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21850714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21850719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850725, '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 = 21851507 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': 2702391, 'mtr_portfolio_id': 21851507, 'created_at': datetime.datetime(2025, 3, 28, 16, 34, 2), 'result': '0.05890554238436326', 'result_long': None, 'result_double': None}] Qualite : 0.05890554238436326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21851507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21851507_28-03-2025_16_34_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21851507 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_P21851507_28-03-2025_16_34_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21851512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21851513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21851514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21851515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21851516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21851517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21851518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21851519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21851520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21851521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21851522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21851523, 'pht': 3726}}" where mtr_portfolio_id = 21851507 and dashboard_run_id = 1707747 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`=21851507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740204, 0.05890554238436326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21851507_28-03-2025_16_34_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21851512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21851513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21851514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21851515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21851516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21851517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21851518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21851519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21851520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21851521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21851522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21851523, '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 = 21852656 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': 2702476, 'mtr_portfolio_id': 21852656, 'created_at': datetime.datetime(2025, 3, 28, 16, 51, 59), 'result': '0.044224478919271', 'result_long': None, 'result_double': None}] Qualite : 0.044224478919271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21852656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21852656_28-03-2025_16_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21852656 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_P21852656_28-03-2025_16_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21852669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21852670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21852671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21852672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21852673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21852674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21852675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21852676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21852677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21852678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21852679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21852680, 'pht': 3726}}" where mtr_portfolio_id = 21852656 and dashboard_run_id = 1707747 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`=21852656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740205, 0.044224478919271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21852656_28-03-2025_16_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21852669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21852670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21852671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21852672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21852673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21852674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21852675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21852676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21852677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21852678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21852679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21852680, '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 = 21853251 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': 2702506, 'mtr_portfolio_id': 21853251, 'created_at': datetime.datetime(2025, 3, 28, 17, 5), 'result': '0.045360200753955235', 'result_long': None, 'result_double': None}] Qualite : 0.045360200753955235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21853251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853251_28-03-2025_17_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21853251 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_P21853251_28-03-2025_17_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21853252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853263, 'pht': 3726}}" where mtr_portfolio_id = 21853251 and dashboard_run_id = 1707747 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`=21853251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740206, 0.045360200753955235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853251_28-03-2025_17_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21853252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853263, '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 = 21853805 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': 2702562, 'mtr_portfolio_id': 21853805, 'created_at': datetime.datetime(2025, 3, 28, 17, 18, 59), 'result': '0.05588539176362153', 'result_long': None, 'result_double': None}] Qualite : 0.05588539176362153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21853805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853805_28-03-2025_17_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21853805 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_P21853805_28-03-2025_17_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21853836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853841, 'pht': 3726}}" where mtr_portfolio_id = 21853805 and dashboard_run_id = 1707747 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`=21853805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740207, 0.05588539176362153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853805_28-03-2025_17_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21853836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853841, '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 = 21854369 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': 2702596, 'mtr_portfolio_id': 21854369, 'created_at': datetime.datetime(2025, 3, 28, 17, 56, 58), 'result': '0.03611830678240164', 'result_long': None, 'result_double': None}] Qualite : 0.03611830678240164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21854369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21854369_28-03-2025_17_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21854369 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_P21854369_28-03-2025_17_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21854389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21854390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21854391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21854392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21854393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21854394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21854395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21854396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21854397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21854398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21854399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21854400, 'pht': 3726}}" where mtr_portfolio_id = 21854369 and dashboard_run_id = 1707747 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`=21854369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740208, 0.03611830678240164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21854369_28-03-2025_17_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21854389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21854390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21854391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21854392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21854393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21854394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21854395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21854396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21854397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21854398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21854399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21854400, '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 = 21855305 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': 2702721, 'mtr_portfolio_id': 21855305, 'created_at': datetime.datetime(2025, 3, 28, 18, 20, 31), 'result': '0.0405002386700779', 'result_long': None, 'result_double': None}] Qualite : 0.0405002386700779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21855305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855305_28-03-2025_18_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21855305 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_P21855305_28-03-2025_18_20_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855319, 'pht': 3726}}" where mtr_portfolio_id = 21855305 and dashboard_run_id = 1707747 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`=21855305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740209, 0.0405002386700779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855305_28-03-2025_18_20_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855319, '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 = 21855796 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': 2702761, 'mtr_portfolio_id': 21855796, 'created_at': datetime.datetime(2025, 3, 28, 18, 34, 58), 'result': '0.05055037212763506', 'result_long': None, 'result_double': None}] Qualite : 0.05055037212763506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21855796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855796_28-03-2025_18_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21855796 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_P21855796_28-03-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855810, 'pht': 3726}}" where mtr_portfolio_id = 21855796 and dashboard_run_id = 1707747 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`=21855796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740210, 0.05055037212763506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855796_28-03-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855810, '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 = 21856257 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': 2702829, 'mtr_portfolio_id': 21856257, 'created_at': datetime.datetime(2025, 3, 28, 18, 50, 56), 'result': '0.0649335653797558', 'result_long': None, 'result_double': None}] Qualite : 0.0649335653797558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21856257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21856257_28-03-2025_18_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21856257 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_P21856257_28-03-2025_18_50_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21856264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21856265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21856266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21856267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21856268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21856269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21856270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21856271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21856272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21856273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21856274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21856275, 'pht': 3726}}" where mtr_portfolio_id = 21856257 and dashboard_run_id = 1707747 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`=21856257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740211, 0.0649335653797558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21856257_28-03-2025_18_50_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21856264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21856265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21856266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21856267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21856268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21856269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21856270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21856271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21856272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21856273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21856274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21856275, '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 = 21857089 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': 2702882, 'mtr_portfolio_id': 21857089, 'created_at': datetime.datetime(2025, 3, 28, 19, 3, 59), 'result': '0.040153175114938884', 'result_long': None, 'result_double': None}] Qualite : 0.040153175114938884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21857089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857089_28-03-2025_19_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21857089 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_P21857089_28-03-2025_19_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21857118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857128, 'pht': 3726}}" where mtr_portfolio_id = 21857089 and dashboard_run_id = 1707747 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`=21857089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740212, 0.040153175114938884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857089_28-03-2025_19_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21857118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857128, '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 = 21857676 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': 2702953, 'mtr_portfolio_id': 21857676, 'created_at': datetime.datetime(2025, 3, 28, 19, 19, 58), 'result': '0.06375704421233024', 'result_long': None, 'result_double': None}] Qualite : 0.06375704421233024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21857676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857676_28-03-2025_19_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21857676 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_P21857676_28-03-2025_19_19_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21857686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857712, 'pht': 3726}}" where mtr_portfolio_id = 21857676 and dashboard_run_id = 1707747 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`=21857676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740213, 0.06375704421233024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857676_28-03-2025_19_19_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21857686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857712, '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 = 21858428 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': 2703005, 'mtr_portfolio_id': 21858428, 'created_at': datetime.datetime(2025, 3, 28, 19, 35, 1), 'result': '0.07874143251994195', 'result_long': None, 'result_double': None}] Qualite : 0.07874143251994195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21858428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21858428_28-03-2025_19_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21858428 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_P21858428_28-03-2025_19_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21858482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21858483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21858484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21858485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21858486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21858487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21858488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21858489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21858490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21858491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21858492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21858493, 'pht': 3726}}" where mtr_portfolio_id = 21858428 and dashboard_run_id = 1707747 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`=21858428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740214, 0.07874143251994195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21858428_28-03-2025_19_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21858482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21858483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21858484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21858485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21858486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21858487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21858488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21858489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21858490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21858491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21858492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21858493, '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 = 21859236 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': 2703072, 'mtr_portfolio_id': 21859236, 'created_at': datetime.datetime(2025, 3, 28, 19, 50, 58), 'result': '0.04741523764039196', 'result_long': None, 'result_double': None}] Qualite : 0.04741523764039196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21859236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859236_28-03-2025_19_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21859236 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_P21859236_28-03-2025_19_50_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859355, 'pht': 3726}}" where mtr_portfolio_id = 21859236 and dashboard_run_id = 1707747 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`=21859236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740215, 0.04741523764039196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859236_28-03-2025_19_50_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859355, '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 = 21859760 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': 2703108, 'mtr_portfolio_id': 21859760, 'created_at': datetime.datetime(2025, 3, 28, 20, 4, 59), 'result': '0.037431021832630154', 'result_long': None, 'result_double': None}] Qualite : 0.037431021832630154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21859760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859760_28-03-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21859760 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_P21859760_28-03-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859832, 'pht': 3726}}" where mtr_portfolio_id = 21859760 and dashboard_run_id = 1707747 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`=21859760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740216, 0.037431021832630154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859760_28-03-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859832, '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 = 21860213 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': 2703158, 'mtr_portfolio_id': 21860213, 'created_at': datetime.datetime(2025, 3, 28, 20, 18, 57), 'result': '0.028516359320304316', 'result_long': None, 'result_double': None}] Qualite : 0.028516359320304316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21860213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860213_28-03-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21860213 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_P21860213_28-03-2025_20_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21860275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860277, 'pht': 3726}}" where mtr_portfolio_id = 21860213 and dashboard_run_id = 1707747 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`=21860213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740217, 0.028516359320304316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860213_28-03-2025_20_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21860275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860277, '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 = 21860849 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': 2703207, 'mtr_portfolio_id': 21860849, 'created_at': datetime.datetime(2025, 3, 28, 20, 34, 59), 'result': '0.04389208409636109', 'result_long': None, 'result_double': None}] Qualite : 0.04389208409636109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21860849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860849_28-03-2025_20_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21860849 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_P21860849_28-03-2025_20_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21860851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860862, 'pht': 3726}}" where mtr_portfolio_id = 21860849 and dashboard_run_id = 1707747 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`=21860849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740218, 0.04389208409636109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860849_28-03-2025_20_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21860851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860862, '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 = 21861323 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': 2703265, 'mtr_portfolio_id': 21861323, 'created_at': datetime.datetime(2025, 3, 28, 21, 9, 31), 'result': '0.03450470623740088', 'result_long': None, 'result_double': None}] Qualite : 0.03450470623740088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21861323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21861323_28-03-2025_21_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21861323 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_P21861323_28-03-2025_21_09_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21861326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21861327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21861328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21861329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21861330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21861331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21861332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21861333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21861334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21861335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21861336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21861337, 'pht': 3726}}" where mtr_portfolio_id = 21861323 and dashboard_run_id = 1707747 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`=21861323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740219, 0.03450470623740088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21861323_28-03-2025_21_09_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21861326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21861327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21861328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21861329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21861330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21861331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21861332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21861333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21861334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21861335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21861336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21861337, '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 = 21862772 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': 2703529, 'mtr_portfolio_id': 21862772, 'created_at': datetime.datetime(2025, 3, 28, 22, 2, 58), 'result': '0.05027744045295489', 'result_long': None, 'result_double': None}] Qualite : 0.05027744045295489 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21862772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21862772_28-03-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21862772 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_P21862772_28-03-2025_22_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21862775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21862776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21862777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21862778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21862779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21862780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21862781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21862782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21862783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21862784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21862785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21862786, 'pht': 3726}}" where mtr_portfolio_id = 21862772 and dashboard_run_id = 1707747 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`=21862772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740220, 0.05027744045295489, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21862772_28-03-2025_22_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21862775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21862776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21862777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21862778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21862779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21862780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21862781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21862782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21862783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21862784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21862785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21862786, '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 = 21863389 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21863389 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21863389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863389_28-03-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21863389 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_P21863389_28-03-2025_22_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863424, 'pht': 3726}}" where mtr_portfolio_id = 21863389 and dashboard_run_id = 1707747 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863815 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': 2703606, 'mtr_portfolio_id': 21863815, 'created_at': datetime.datetime(2025, 3, 28, 22, 38, 31), 'result': '0.038315679417494086', 'result_long': None, 'result_double': None}] Qualite : 0.038315679417494086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21863815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863815_28-03-2025_22_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21863815 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_P21863815_28-03-2025_22_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863827, 'pht': 3726}}" where mtr_portfolio_id = 21863815 and dashboard_run_id = 1707747 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`=21863815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740222, 0.038315679417494086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863815_28-03-2025_22_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863827, '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 = 21864373 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': 2703652, 'mtr_portfolio_id': 21864373, 'created_at': datetime.datetime(2025, 3, 28, 22, 48, 58), 'result': '0.10925572809500911', 'result_long': None, 'result_double': None}] Qualite : 0.10925572809500911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21864373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864373_28-03-2025_22_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21864373 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_P21864373_28-03-2025_22_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21864375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21864376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21864377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21864378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21864379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21864380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21864381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21864382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21864383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21864384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21864385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21864386, 'pht': 3726}}" where mtr_portfolio_id = 21864373 and dashboard_run_id = 1707747 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`=21864373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740223, 0.10925572809500911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864373_28-03-2025_22_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21864375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21864376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21864377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21864378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21864379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21864380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21864381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21864382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21864383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21864384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21864385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21864386, '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 = 21864995 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': 2703699, 'mtr_portfolio_id': 21864995, 'created_at': datetime.datetime(2025, 3, 28, 23, 2, 59), 'result': '0.12760521808213676', 'result_long': None, 'result_double': None}] Qualite : 0.12760521808213676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21864995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864995_28-03-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21864995 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_P21864995_28-03-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21865014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865025, 'pht': 3726}}" where mtr_portfolio_id = 21864995 and dashboard_run_id = 1707747 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`=21864995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740224, 0.12760521808213676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864995_28-03-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21865014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865025, '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 = 21865437 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': 2703717, 'mtr_portfolio_id': 21865437, 'created_at': datetime.datetime(2025, 3, 28, 23, 32, 59), 'result': '0.027768414101112165', 'result_long': None, 'result_double': None}] Qualite : 0.027768414101112165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21865437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21865437_28-03-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21865437 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_P21865437_28-03-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21865445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865450, 'pht': 3726}}" where mtr_portfolio_id = 21865437 and dashboard_run_id = 1707747 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`=21865437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740225, 0.027768414101112165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21865437_28-03-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21865445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865450, '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 (21821745,21822724,21822918,21823291,21825012,21825194,21825619,21826095,21826531,21827231,21827676,21828132,21828818,21829052,21829737,21830405,21830835,21831557,21832228,21833105,21834766,21835473,21836028,21836532,21837339,21838195,21839015,21840138,21840944,21841582,21842308,21844228,21844510,21845175,21845981,21846957,21847696,21848624,21849469,21850043,21850641,21851507,21852656,21853251,21853805,21854369,21855305,21855796,21856257,21857089,21857676,21858428,21859236,21859760,21860213,21860849,21861323,21862772,21863389,21863815,21864373,21864995,21865437) result : ((1348099891,), (1348101107,), (1348102139,), (1348102951,), (1348102959,), (1348102977,), (1348102991,), (1348102996,), (1348102999,), (1348103060,), (1348123299,), (1348123585,), (1348124457,), (1348124459,), (1348124476,), (1348124479,), (1348124500,), (1348124520,), (1348124638,), (1348124629,), (1348125369,), (1348125823,), (1348126539,), (1348127454,), (1348127460,), (1348128549,), (1348128598,), (1348128622,), (1348129046,), (1348129101,), (1348129108,), (1348129424,), (1348131110,), (1348131898,), (1348132393,), (1348132463,), (1348132487,), (1348132496,), (1348132570,), (1348133085,), (1348133231,), (1348135016,), (1348135527,), (1348136469,), (1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,), (1348168784,), (1348168786,), (1348168791,), (1348168822,), (1348168824,), (1348168829,), (1348168835,), (1348168839,), (1348168843,), (1348168882,), (1348168886,), (1348168891,), (1348168896,), (1348168900,), (1348168913,), (1348168915,), (1348168920,), (1348168925,), (1348168933,), (1348168936,), (1348168960,), (1348168963,), (1348168966,), (1348169017,), (1348169138,), (1348169353,), (1348169828,), (1348169831,), (1348169835,), (1348169993,), (1348169995,), (1348170004,), (1348170008,), (1348170021,), (1348170033,), (1348170051,), (1348170061,), (1348170066,), (1348170071,), (1348170148,), (1348170154,), (1348170159,), (1348170164,), (1348170167,), (1348170171,), (1348170182,), (1348170185,), (1348170189,), (1348170196,), (1348170226,), (1348170237,), (1348170243,), (1348170259,), (1348170268,), (1348170273,), (1348170307,), (1348170309,), (1348170312,), (1348170319,), (1348170340,), (1348170392,), (1348170473,), (1348170474,), (1348170479,), (1348170532,), (1348170540,), (1348170544,), (1348170547,), (1348170550,), (1348170553,), (1348170586,), (1348170588,), (1348170593,), (1348170647,), (1348170630,), (1348170632,), (1348170638,), (1348170641,), (1348170644,), (1348170710,), (1348170713,), (1348170718,), (1348170721,), (1348170725,), (1348170743,), (1348170744,), (1348170754,), (1348170759,), (1348170764,), (1348170778,), (1348170783,), (1348170787,), (1348170792,), (1348170797,), (1348170802,), (1348170812,), (1348170815,), (1348170819,), (1348170824,), (1348170911,), (1348170962,), (1348170980,), (1348170984,), (1348170989,), (1348170993,), (1348171005,), (1348171009,), (1348171014,), (1348171017,), (1348171075,), (1348171082,), (1348171085,), (1348171100,), (1348171139,), (1348171141,), (1348171145,), (1348171149,), (1348171153,), (1348171195,), (1348171202,), (1348171206,), (1348171208,), (1348171237,), (1348171238,), (1348171243,), (1348171246,), (1348171252,), (1348171257,), (1348171283,), (1348171286,), (1348171289,), (1348171293,), (1348171356,), (1348171357,), (1348171370,), (1348171374,), (1348171405,), (1348171499,), (1348171531,), (1348171534,), (1348171692,), (1348171694,), (1348171697,), (1348171739,), (1348171803,), (1348172055,), (1348171886,), (1348171889,), (1348171906,), (1348171958,), (1348172045,), (1348172065,), (1348172066,), (1348172071,), (1348172106,), (1348172114,), (1348172121,), (1348172131,), (1348172140,), (1348172191,), (1348172193,), (1348172197,), (1348172201,), (1348172265,), (1348172270,), (1348172275,), (1348172278,), (1348172290,), (1348172291,), (1348172295,), (1348172299,), (1348172302,), (1348172306,), (1348172338,), (1348172341,), (1348172345,), (1348172351,), (1348172372,), (1348172374,), (1348172378,), (1348172382,), (1348172385,), (1348172416,), (1348172419,), (1348172423,), (1348172428,), (1348172633,), (1348172636,), (1348172683,), (1348172688,), (1348172694,), (1348172699,), (1348172705,), (1348173156,), (1348173458,), (1348173398,), (1348173415,), (1348173445,), (1348173785,), (1348173787,), (1348173804,), (1348173829,), (1348174092,), (1348174117,), (1348174134,), (1348174160,), (1348174195,), (1348174220,), (1348174480,), (1348174503,), (1348174528,), (1348174755,), (1348174775,), (1348174798,), (1348174825,), (1348174849,), (1348174872,), (1348175072,), (1348175078,), (1348175088,), (1348175091,), (1348175095,), (1348175117,), (1348175122,), (1348175126,), (1348175129,), (1348175132,), (1348175158,), (1348175162,), (1348175164,), (1348175167,), (1348175171,), (1348175198,), (1348175394,), (1348175423,), (1348175443,), (1348175464,), (1348175687,), (1348175707,), (1348175714,), (1348175721,), (1348175736,), (1348175755,), (1348176420,), (1348176422,), (1348176431,), (1348176446,), (1348176499,), (1348176502,), (1348176506,), (1348176512,), (1348176517,), (1348176618,), (1348176622,), (1348176625,), (1348176629,), (1348176632,), (1348176653,), (1348176655,), (1348176662,), (1348176671,), (1348176675,), (1348176680,), (1348176703,), (1348176707,), (1348176723,), (1348176727,), (1348176731,), (1348176734,), (1348176775,), (1348176769,), (1348176771,), (1348176796,), (1348176803,), (1348176809,), (1348176812,), (1348176818,), (1348176823,), (1348176866,), (1348176890,), (1348176895,), (1348176901,), (1348176904,), (1348176908,), (1348176942,), (1348176944,), (1348176950,), (1348176992,), (1348176995,), (1348176999,), (1348177002,), (1348177007,), (1348177012,), (1348177027,), (1348177029,), (1348177033,), (1348177036,), (1348177064,), (1348177067,), (1348177071,), (1348177076,), (1348177078,), (1348177097,), (1348177103,), (1348177106,), (1348177109,), (1348177112,), (1348177131,), (1348177133,), (1348177137,), (1348177160,), (1348177162,), (1348177167,), (1348177170,), (1348177176,), (1348177181,), (1348177235,), (1348177237,), (1348177242,), (1348177247,), (1348177252,), (1348177298,), (1348177300,), (1348177307,), (1348177327,), (1348177328,), (1348177378,), (1348177397,), (1348177408,), (1348177425,), (1348177428,), (1348177431,), (1348177510,), (1348177467,), (1348177476,), (1348177485,), (1348177495,), (1348177501,), (1348177525,), (1348177532,), (1348177537,), (1348177541,), (1348177568,), (1348177569,), (1348177579,), (1348177583,), (1348177588,), (1348177592,), (1348177627,), (1348177631,), (1348177649,), (1348177658,), (1348177702,), (1348177705,), (1348177766,), (1348177786,), (1348177790,), (1348177826,), (1348177827,), (1348177831,), (1348177835,), (1348177839,), (1348177843,), (1348177857,), (1348177859,), (1348177863,), (1348177897,), (1348177899,), (1348177903,), (1348177905,), (1348177909,), (1348177912,), (1348177924,), (1348177925,), (1348177929,), (1348177932,), (1348177938,), (1348177968,), (1348177970,), (1348177976,), (1348177996,), (1348178002,), (1348178007,), (1348178009,), (1348178013,), (1348178018,), (1348178034,), (1348178036,), (1348178040,), (1348178047,), (1348178059,), (1348178062,), (1348178076,), (1348178077,), (1348178083,), (1348178121,), (1348178123,), (1348178127,), (1348178132,), (1348178135,), (1348178140,), (1348178161,), (1348178165,), (1348178169,), (1348178217,), (1348178275,), (1348178248,), (1348178264,), (1348178270,), (1348178302,), (1348178303,), (1348178309,), (1348178314,), (1348178319,), (1348178324,), (1348178373,), (1348178378,), (1348178383,), (1348178406,), (1348178410,), (1348178414,), (1348178421,), (1348178426,), (1348178430,), (1348178461,), (1348178463,), (1348178469,), (1348178474,), (1348178479,), (1348178505,), (1348178508,), (1348178513,), (1348178516,), (1348178522,), (1348178564,), (1348178566,), (1348178570,), (1348178573,), (1348178577,), (1348178600,), (1348178602,), (1348178607,), (1348178649,), (1348178655,), (1348178664,), (1348178672,), (1348178676,), (1348178681,), (1348178692,), (1348178694,), (1348178700,), (1348178704,), (1348178709,), (1348178714,), (1348178749,), (1348178751,), (1348178756,), (1348178785,), (1348178787,), (1348178791,), (1348178796,), (1348178801,), (1348178805,), (1348178837,), (1348178841,), (1348178844,), (1348179163,), (1348179194,), (1348179226,), (1348179259,), (1348179289,), (1348179323,), (1348179401,), (1348179427,), (1348179458,), (1348179486,), (1348179547,), (1348179736,), (1348179637,), (1348179677,), (1348180744,), (1348180748,), (1348180754,), (1348180762,), (1348180769,), (1348180775,), (1348180798,), (1348180804,), (1348180910,), (1348181131,), (1348181258,), (1348181641,), (1348181657,), (1348181663,), (1348182426,), (1348182477,), (1348182479,), (1348182494,), (1348182498,), (1348182515,), (1348182551,), (1348182553,), (1348182599,), (1348182603,), (1348182606,), (1348182613,), (1348182617,), (1348182641,), (1348182643,), (1348182647,), (1348182652,), (1348182739,), (1348182746,), (1348182751,), (1348182886,), (1348182888,), (1348182892,), (1348182901,), (1348183028,), (1348183044,), (1348183068,), (1348183092,), (1348183107,), (1348183194,), (1348183249,), (1348183320,), (1348183376,), (1348183558,), (1348183561,), (1348183570,), (1348183665,), (1348183682,), (1348183692,), (1348183703,), (1348183707,), (1348183733,), (1348183743,), (1348183760,), (1348183765,), (1348183770,), (1348183780,), (1348183842,), (1348183871,), (1348183894,), (1348183923,), (1348183988,), (1348183998,), (1348184009,), (1348184056,), (1348184077,), (1348184084,), (1348184090,), (1348184280,), (1348184184,), (1348184207,), (1348184235,), (1348184256,), (1348184334,), (1348184335,), (1348184357,), (1348184607,), (1348184658,), (1348184682,), (1348184716,), (1348184751,), (1348184763,), (1348184942,), (1348184980,), (1348185003,), (1348185034,), (1348185059,), (1348185261,), (1348185318,), (1348185340,), (1348185350,), (1348185361,), (1348185586,), (1348185621,), (1348185627,), (1348185813,), (1348185833,), (1348185835,), (1348185853,), (1348185869,), (1348185910,), (1348186001,), (1348186019,), (1348186034,), (1348186047,), (1348186257,), (1348186277,), (1348186282,), (1348186294,), (1348186307,), (1348186313,), (1348186446,), (1348186466,), (1348186562,), (1348186677,), (1348186718,), (1348186725,), (1348186831,), (1348186836,), (1348186839,), (1348186845,), (1348186853,), (1348186861,), (1348186951,), (1348186953,), (1348186957,), (1348186969,), (1348187140,), (1348187145,), (1348187210,), (1348187214,), (1348187339,), (1348187367,), (1348187576,), (1348187568,), (1348187571,), (1348187717,), (1348187721,), (1348187725,), (1348187730,), (1348187735,), (1348187738,), (1348187763,), (1348187764,), (1348187860,), (1348187906,), (1348187916,), (1348187928,), (1348188033,), (1348188060,), (1348188086,), (1348188106,), (1348188137,), (1348188147,), (1348188351,), (1348188355,), (1348188370,), (1348188375,), (1348188379,), (1348188410,), (1348188415,), (1348188476,), (1348188480,), (1348188489,), (1348188494,), (1348188497,), (1348188514,), (1348188584,), (1348188603,), (1348188611,), (1348188626,), (1348188654,), (1348188681,), (1348188756,), (1348188761,), (1348188765,), (1348188768,), (1348188772,), (1348188794,), (1348188797,), (1348188801,), (1348188805,), (1348188810,), (1348188835,), (1348188839,), (1348188845,), (1348188848,), (1348188852,), (1348188890,), (1348188897,), (1348188901,), (1348188903,), (1348189130,), (1348189173,), (1348189180,), (1348189187,), (1348189191,), (1348189200,), (1348189265,), (1348189290,), (1348189498,), (1348189378,), (1348189403,), (1348189429,), (1348189448,), (1348189473,), (1348189709,), (1348189735,), (1348189762,), (1348189784,), (1348189822,), (1348190511,), (1348190783,), (1348190878,), (1348191254,), (1348191270,), (1348191278,), (1348191287,), (1348191713,), (1348191770,), (1348191787,), (1348191846,), (1348191887,), (1348192107,), (1348192115,), (1348192119,), (1348192121,), (1348192144,), (1348192176,), (1348192263,), (1348192266,), (1348192309,), (1348192313,), (1348192318,), (1348192319,), (1348192326,), (1348192330,), (1348192507,), (1348192514,), (1348192526,), (1348192535,), (1348192593,), (1348192600,), (1348192604,), (1348192609,), (1348192613,), (1348192664,), (1348192678,), (1348192685,), (1348192698,), (1348192706,), (1348192717,), (1348192752,), (1348192756,), (1348192759,), (1348192796,), (1348192800,), (1348192806,), (1348192813,), (1348192816,), (1348192869,), (1348192882,), (1348192887,), (1348192921,), (1348192988,), (1348193035,), (1348193094,), (1348193097,), (1348193101,), (1348193223,), (1348193183,), (1348193188,), (1348193193,), (1348193199,), (1348193205,), (1348193257,), (1348193260,), (1348193265,), (1348193274,), (1348193280,), (1348193341,), (1348193349,), (1348193359,), (1348193464,), (1348193468,), (1348193492,), (1348193522,), (1348193533,), (1348193597,), (1348193599,), (1348193605,), (1348193611,), (1348193622,), (1348193667,), (1348193670,), (1348193676,), (1348193681,), (1348193722,), (1348193727,), (1348193731,), (1348193737,), (1348193749,), (1348193759,), (1348193790,), (1348193804,), (1348193809,), (1348193814,), (1348193818,), (1348193827,), (1348193875,), (1348193888,), (1348193896,), (1348193929,), (1348193933,), (1348193940,), (1348193944,), (1348193950,), (1348193984,), (1348193988,), (1348193993,), (1348193999,), (1348194003,), (1348194009,), (1348194061,), (1348194068,), (1348194078,), (1348194082,), (1348194124,), (1348194128,), (1348194131,), (1348194135,), (1348194140,), (1348194145,), (1348194168,), (1348194173,), (1348194178,), (1348194229,), (1348194233,), (1348194238,), (1348194245,), (1348194251,), (1348194308,), (1348194288,), (1348194292,), (1348194296,), (1348194300,), (1348194346,), (1348194350,), (1348194355,), (1348194463,), (1348194469,), (1348194473,), (1348194478,), (1348194487,), (1348194492,), (1348194509,), (1348194517,), (1348194526,), (1348194531,), (1348194543,), (1348194547,), (1348194564,), (1348194580,), (1348194584,), (1348194765,), (1348194785,), (1348194802,), (1348194827,), (1348194834,), (1348195029,), (1348195068,), (1348195098,), (1348195108,), (1348195126,), (1348195146,), (1348195149,), (1348195153,), (1348195155,), (1348195159,), (1348195200,), (1348195201,), (1348195208,), (1348195308,), (1348195322,), (1348195327,), (1348195332,), (1348195335,), (1348195338,), (1348195378,), (1348195384,), (1348195390,), (1348195395,), (1348195408,), (1348195433,), (1348195453,), (1348195500,), (1348196027,), (1348196082,), (1348196124,), (1348196146,), (1348196161,), (1348196172,), (1348196213,), (1348196218,), (1348196222,), (1348196228,), (1348196239,), (1348196245,), (1348196255,), (1348196299,), (1348196311,), (1348196774,), (1348196643,), (1348196691,), (1348196738,), (1348196767,), (1348196912,), (1348196919,), (1348196926,), (1348196933,), (1348196938,), (1348196944,), (1348197184,), (1348197186,), (1348197189,), (1348197366,), (1348197368,), (1348197372,), (1348197376,), (1348197382,), (1348197443,), (1348197446,), (1348197449,), (1348197452,), (1348197457,), (1348197468,), (1348197493,), (1348197498,), (1348197519,), (1348197556,), (1348197568,), (1348197574,), (1348197577,), (1348197580,), (1348197581,), (1348197609,), (1348197614,), (1348197624,), (1348197633,), (1348197642,), (1348197723,), (1348197750,), (1348197781,), (1348197786,), (1348197789,), (1348197796,), (1348197801,), (1348197928,), (1348198079,), (1348201272,), (1348209099,), (1348209101,), (1348209201,), (1348209204,), (1348209209,), (1348209214,), (1348209219,), (1348209431,), (1348209492,), (1348209561,), (1348210002,), (1348210033,), (1348210058,), (1348210079,), (1348210084,), (1348210192,), (1348210207,), (1348210231,), (1348210256,), (1348210397,), (1348210411,), (1348210430,), (1348210436,), (1348210440,), (1348210766,), (1348210788,), (1348210918,), (1348210922,), (1348210926,), (1348210931,), (1348210997,), (1348211342,), (1348211381,), (1348211394,), (1348211420,), (1348211453,), (1348211681,), (1348211705,), (1348211740,), (1348211762,), (1348211837,), (1348211842,), (1348211846,), (1348211938,), (1348211895,), (1348211902,), (1348211911,), (1348211925,), (1348211932,), (1348212065,), (1348212098,), (1348212120,), (1348212125,), (1348212131,), (1348212230,), (1348212248,), (1348212272,), (1348212574,), (1348212579,), (1348212587,), (1348212620,), (1348212652,), (1348212665,), (1348212692,), (1348212715,), (1348212730,), (1348212801,), (1348213191,), (1348213213,), (1348213225,), (1348213306,), (1348213556,), (1348213561,), (1348213567,), (1348213571,), (1348213622,), (1348213626,), (1348213636,), (1348213639,), (1348213644,), (1348213647,), (1348213677,), (1348213680,), (1348213685,), (1348213690,), (1348213700,), (1348213757,), (1348213760,), (1348213774,), (1348213854,), (1348213856,), (1348213860,), (1348213863,), (1348213871,), (1348213874,), (1348214049,), (1348214059,), (1348214066,), (1348214086,), (1348214107,), (1348214144,), (1348214149,), (1348214155,), (1348214273,), (1348214280,), (1348214286,), (1348214594,), (1348214679,), (1348214710,), (1348214733,), (1348214759,), (1348214785,), (1348214821,), (1348215177,), (1348215210,), (1348214454,), (1348214480,), (1348214507,), (1348214537,), (1348214565,), (1348214980,), (1348215034,), (1348215083,), (1348215134,), (1348215416,), (1348215446,), (1348215596,), (1348215806,), (1348215865,), (1348215911,), (1348216298,), (1348216369,), (1348216424,), (1348216463,), (1348217280,), (1348217372,), (1348217468,), (1348218012,), (1348218057,), (1348218107,), (1348218159,), (1348218186,), (1348218278,), (1348218550,), (1348218596,), (1348218672,), (1348219155,), (1348219200,), (1348219252,), (1348219284,), (1348219339,), (1348219381,), (1348219628,), (1348219630,), (1348219654,), (1348219681,), (1348219716,), (1348219870,), (1348219913,), (1348219934,), (1348219977,), (1348220232,), (1348220259,), (1348220290,), (1348220318,), (1348220344,), (1348220578,), (1348220597,), (1348220634,), (1348220682,), (1348220720,), (1348220837,), (1348220852,), (1348220876,), (1348220896,), (1348220956,), (1348220959,), (1348220962,), (1348220966,), (1348220970,), (1348221003,), (1348221008,), (1348221011,), (1348221015,), (1348221020,), (1348221027,), (1348221204,), (1348221054,), (1348221056,), (1348221169,), (1348221277,), (1348221280,), (1348221286,), (1348221289,), (1348221296,), (1348221301,), (1348221332,), (1348221335,), (1348221339,), (1348221344,), (1348221350,), (1348221383,), (1348221523,), (1348221548,), (1348221570,), (1348221797,), (1348221846,), (1348221866,), (1348221874,), (1348221884,), (1348221924,), (1348221929,), (1348221933,), (1348221944,), (1348221953,), (1348221979,), (1348221986,), (1348222028,), (1348222057,), (1348222063,), (1348222072,), (1348222171,), (1348222185,), (1348222203,), (1348222359,), (1348222373,), (1348222400,), (1348222410,), (1348222430,), (1348222437,), (1348222453,), (1348222456,), (1348222462,), (1348222480,), (1348222483,), (1348222489,), (1348222509,), (1348222529,), (1348222550,), (1348222556,), (1348222588,), (1348222597,), (1348222657,), (1348222694,), (1348222771,), (1348223036,), (1348223058,), (1348223066,), (1348223114,), (1348223126,), (1348223164,), (1348223242,), (1348223282,), (1348223307,), (1348223320,), (1348223334,), (1348223396,), (1348223398,), (1348223404,), (1348223409,), (1348223414,), (1348223511,), (1348223445,), (1348223447,), (1348223457,), (1348223462,), (1348223497,), (1348223759,), (1348223878,), (1348223940,), (1348223987,), (1348224216,), (1348224272,), (1348224284,), (1348224297,), (1348224302,), (1348224493,), (1348224529,), (1348224542,), (1348224568,), (1348224680,), (1348224719,), (1348224928,), (1348224942,), (1348224958,), (1348224970,), (1348225166,), (1348225188,), (1348225195,), (1348225212,), (1348225219,), (1348225306,), (1348225310,), (1348225316,), (1348225322,), (1348225326,), (1348225532,), (1348225537,), (1348225552,), (1348225563,), (1348225573,), (1348225577,), (1348225622,), (1348225629,), (1348225632,), (1348225640,), (1348225718,), (1348225728,), (1348225731,), (1348225737,), (1348225863,), (1348225890,), (1348225923,), (1348225957,), (1348225990,), (1348226018,), (1348226259,), (1348226294,), (1348226309,), (1348226323,), (1348226600,), (1348226649,), (1348226657,), (1348226672,), (1348226697,), (1348227037,), (1348227054,), (1348227083,), (1348227100,), (1348227120,), (1348227125,), (1348227273,), (1348227303,), (1348227341,), (1348227777,), (1348227631,), (1348227673,), (1348227722,), (1348227914,), (1348227957,), (1348227974,), (1348228028,), (1348228068,), (1348228100,), (1348228353,), (1348228359,), (1348228361,), (1348228404,), (1348228405,), (1348228406,), (1348228447,), (1348228448,), (1348228449,), (1348228529,), (1348228530,), (1348228531,), (1348228544,), (1348228552,), (1348228553,), (1348228580,), (1348228584,), (1348228624,), (1348228626,), (1348228635,), (1348228636,), (1348228646,), (1348228662,), (1348228667,), (1348228696,), (1348228724,), (1348228744,), (1348228755,), (1348228772,), (1348228784,), (1348228791,), (1348228811,), (1348228834,), (1348228861,), (1348228868,), (1348228904,), (1348228909,), (1348228927,), (1348228940,), (1348228971,), (1348228983,), (1348229034,), (1348229063,), (1348229121,), (1348229217,), (1348229245,), (1348229248,), (1348229298,), (1348229302,), (1348229323,), (1348229329,), (1348229334,), (1348229369,), (1348229385,), (1348229391,), (1348229407,), (1348229413,), (1348229423,), (1348229507,), (1348229528,), (1348229536,), (1348229600,), (1348229680,), (1348229690,), (1348229727,), (1348229910,), (1348229916,), (1348229923,), (1348229929,), (1348229944,), (1348229945,), (1348229949,), (1348229950,), (1348229994,), (1348229989,), (1348230091,), (1348230095,), (1348230102,), (1348230109,), (1348230116,), (1348230161,), (1348230168,), (1348230173,), (1348230177,), (1348230180,), (1348230365,), (1348230409,), (1348230430,), (1348230641,), (1348230659,), (1348230673,), (1348230709,), (1348230917,), (1348230951,), (1348230985,), (1348231014,), (1348231037,), (1348231057,), (1348231554,), (1348231614,), (1348231679,), (1348231728,), (1348231775,), (1348232120,), (1348232212,), (1348232296,), (1348232383,), (1348232476,), (1348232612,), (1348232656,), (1348232712,), (1348232750,), (1348232791,), (1348232817,), (1348233004,), (1348233016,), (1348233021,), (1348233085,), (1348233094,), (1348233108,), (1348233129,), (1348233253,), (1348233305,), (1348233334,), (1348233350,), (1348233579,), (1348233583,), (1348233614,), (1348233798,), (1348233812,), (1348233838,), (1348233854,), (1348233889,), (1348233895,), (1348233905,), (1348233909,), (1348233911,), (1348233919,), (1348234059,), (1348233955,), (1348233958,), (1348233965,), (1348234214,), (1348234219,), (1348234225,), (1348234245,), (1348234249,), (1348234385,), (1348234388,), (1348234397,), (1348234406,), (1348234409,), (1348234674,), (1348234686,), (1348234691,), (1348234707,), (1348234721,), (1348234742,), (1348234818,), (1348234821,), (1348234827,), (1348234854,), (1348234939,), (1348234942,), (1348234947,), (1348234951,), (1348234955,), (1348235180,), (1348235191,), (1348235206,), (1348235278,), (1348235286,), (1348235291,), (1348235344,), (1348235351,), (1348235358,), (1348235449,), (1348235454,), (1348235463,), (1348235469,), (1348235473,), (1348235477,), (1348235509,), (1348235514,), (1348235529,), (1348235557,), (1348235562,), (1348235567,), (1348235591,), (1348235595,), (1348235597,), (1348235603,), (1348235700,), (1348235703,), (1348235715,), (1348235727,), (1348235801,), (1348235813,), (1348235825,), (1348235836,), (1348235858,), (1348235881,), (1348235898,), (1348235900,), (1348235905,), (1348235910,), (1348235917,), (1348235969,), (1348235971,), (1348235983,), (1348235999,), (1348236045,), (1348236019,), (1348236023,), (1348236034,), (1348236149,), (1348236154,), (1348236158,), (1348236162,), (1348236172,), (1348236176,), (1348236206,), (1348236216,), (1348236257,), (1348236266,), (1348236277,), (1348236387,), (1348236399,), (1348236453,), (1348236457,), (1348236463,), (1348236468,), (1348236475,), (1348236538,), (1348236544,), (1348236575,), (1348236701,), (1348236704,), (1348236995,), (1348237021,), (1348237046,), (1348237120,), (1348237132,), (1348237411,), (1348237439,), (1348237468,), (1348237503,), (1348237673,), (1348237695,), (1348237701,), (1348237711,), (1348237786,), (1348237906,), (1348238036,), (1348238039,), (1348238043,), (1348238048,), (1348238114,), (1348238130,), (1348238151,), (1348238159,), (1348238188,), (1348238217,), (1348238456,), (1348238458,), (1348238462,), (1348238468,), (1348238614,), (1348238575,), (1348238597,), (1348238599,), (1348238607,), (1348238612,), (1348238679,), (1348238696,), (1348238716,), (1348238725,), (1348238729,), (1348238923,), (1348238928,), (1348238935,), (1348238938,), (1348238946,), (1348238959,), (1348238983,), (1348238987,), (1348238992,), (1348239000,), (1348239005,), (1348239010,), (1348239050,), (1348239063,), (1348239071,), (1348239075,), (1348239489,), (1348239510,), (1348239537,), (1348239560,), (1348239579,), (1348239618,), (1348239832,), (1348239845,), (1348239851,), (1348239973,), (1348239976,), (1348239982,), (1348240179,), (1348240190,), (1348240195,), (1348240327,), (1348240387,), (1348240399,), (1348240402,), (1348240420,), (1348240476,), (1348240507,), (1348240511,), (1348240600,), (1348240603,), (1348240609,), (1348240635,), (1348240648,), (1348240654,), (1348240801,), (1348240817,), (1348240844,), (1348240867,), (1348241562,), (1348241626,), (1348241687,), (1348241726,), (1348241759,), (1348241837,), (1348241927,), (1348241980,), (1348242066,), (1348242146,), (1348242196,), (1348242501,), (1348242395,), (1348243304,), (1348243407,), (1348243444,), (1348243476,), (1348244210,), (1348244269,), (1348244345,), (1348244440,), (1348244478,), (1348245268,), (1348245358,), (1348245442,), (1348246427,), (1348246524,), (1348246583,), (1348246657,), (1348246709,), (1348248159,), (1348248284,), (1348248343,), (1348248404,), (1348248455,), (1348248492,), (1348248750,), (1348248800,), (1348248872,), (1348248938,), (1348249371,), (1348249415,), (1348249488,), (1348249560,), (1348249564,), (1348249585,), (1348250352,), (1348250405,), (1348250461,), (1348250549,), (1348250570,), (1348250849,), (1348250853,), (1348250860,), (1348250888,), (1348250918,), (1348256433,), (1348259334,), (1348259379,), (1348259383,), (1348259480,), (1348259695,), (1348259698,), (1348260070,), (1348260075,), (1348260080,), (1348260085,), (1348260122,), (1348260125,), (1348260141,), (1348260145,), (1348260414,), (1348262380,), (1348263226,), (1348263267,), (1348263319,), (1348264030,), (1348264089,), (1348264137,), (1348266234,), (1348266371,), (1348266485,), (1348266579,), (1348266674,), (1348267020,), (1348267029,), (1348267044,), (1348267049,), (1348267159,), (1348268547,), (1348269662,), (1348269710,), (1348269785,), (1348269869,), (1348270413,), (1348270454,), (1348271074,), (1348271481,), (1348271523,), (1348271567,), (1348271730,), (1348271822,), (1348271889,), (1348272200,), (1348272265,), (1348272349,), (1348272430,), (1348272492,), (1348272545,), (1348272945,), (1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,), (1348278353,), (1348278396,), (1348278468,), (1348278516,), (1348278823,), (1348278854,), (1348278909,), (1348279370,), (1348279394,), (1348279438,), (1348279546,), (1348279565,), (1348279628,), (1348279849,), (1348279903,), (1348279948,), (1348280011,), (1348280601,), (1348280653,), (1348280702,), (1348280875,), (1348281266,), (1348281300,), (1348281335,), (1348281362,), (1348281395,), (1348281698,), (1348281727,), (1348281756,), (1348281783,), (1348281814,), (1348281842,), (1348281999,), (1348282001,), (1348282005,), (1348282199,), (1348282237,), (1348282280,), (1348282361,), (1348282416,), (1348282455,), (1348282603,), (1348282612,), (1348282619,), (1348282627,), (1348282653,), (1348282703,), (1348282974,), (1348283019,), (1348283036,), (1348283092,), (1348283552,), (1348283591,), (1348283634,), (1348283644,), (1348283649,), (1348283654,), (1348283709,), (1348283731,), (1348283757,), (1348283782,), (1348283808,), (1348283910,), (1348284242,), (1348284294,), (1348284366,), (1348284408,), (1348284645,), (1348284753,), (1348284901,), (1348285001,), (1348285287,), (1348285355,), (1348286009,), (1348285674,), (1348285881,), (1348286679,), (1348286715,), (1348286758,), (1348286799,), (1348286867,), (1348286895,), (1348286922,), (1348286946,), (1348286973,), (1348286993,), (1348287121,), (1348287142,), (1348287169,), (1348287189,), (1348287356,), (1348287360,), (1348287364,), (1348287381,), (1348287405,), (1348287433,), (1348287643,), (1348287672,), (1348287695,), (1348287722,), (1348288142,), (1348288208,), (1348288272,), (1348288283,), (1348288297,), (1348288313,), (1348288591,), (1348288607,), (1348288609,), (1348288613,), (1348288684,), (1348288715,), (1348288812,), (1348288838,), (1348288880,), (1348288990,), (1348289001,), (1348289250,), (1348289352,), (1348289355,), (1348289360,), (1348289363,), (1348289409,), (1348289414,), (1348289419,), (1348290170,), (1348290440,), (1348290316,), (1348290355,), (1348291056,), (1348291113,), (1348291161,), (1348291192,), (1348291230,), (1348291647,), (1348291846,), (1348291943,), (1348292038,), (1348292128,), (1348292413,), (1348292442,), (1348292499,), (1348292547,), (1348292604,), (1348292658,), (1348293026,), (1348293080,), (1348293162,), (1348293255,), (1348293327,), (1348293376,), (1348293595,), (1348293625,), (1348293651,), (1348293681,), (1348293713,), (1348294048,), (1348294098,), (1348294207,), (1348294253,), (1348294329,), (1348294812,), (1348294868,), (1348294921,), (1348295218,), (1348295226,), (1348295231,), (1348295256,), (1348295583,), (1348295621,), (1348295653,), (1348295688,), (1348295709,), (1348295748,), (1348295942,), (1348295950,), (1348295955,), (1348295961,), (1348295983,), (1348296014,), (1348296142,), (1348296169,), (1348296196,), (1348296221,), (1348296533,), (1348296715,), (1348296790,), (1348296878,), (1348297620,), (1348297677,), (1348297720,), (1348297824,), (1348297893,), (1348298060,), (1348298087,), (1348298120,), (1348298161,), (1348298184,), (1348298494,), (1348298396,), (1348298475,), (1348298487,), (1348299010,), (1348299030,), (1348299059,), (1348299120,), (1348299145,), (1348299166,), (1348299487,), (1348299502,), (1348299510,), (1348299699,), (1348299718,), (1348299726,), (1348299733,), (1348300318,), (1348300412,), (1348300435,), (1348300443,), (1348300448,), (1348300474,), (1348300617,), (1348300663,), (1348300708,), (1348300737,), (1348300922,), (1348300930,), (1348300934,), (1348300939,), (1348300943,), (1348300947,), (1348301112,), (1348301119,), (1348301124,), (1348301140,), (1348301205,), (1348301209,), (1348301216,), (1348301221,), (1348301225,), (1348301231,), (1348301304,), (1348301332,), (1348301351,), (1348301399,), (1348301409,), (1348301496,), (1348301501,), (1348301507,), (1348301616,), (1348301762,), (1348301790,), (1348301796,), (1348301800,), (1348301805,), (1348301811,), (1348301995,), (1348302016,), (1348302047,), (1348302068,), (1348302086,), (1348302122,), (1348302327,), (1348302368,), (1348302399,), (1348302468,), (1348302737,), (1348302764,), (1348302792,), (1348302827,), (1348302835,), (1348302837,), (1348303070,), (1348303011,), (1348303043,), (1348303286,), (1348303309,), (1348303338,), (1348303378,), (1348303426,), (1348303478,), (1348303887,), (1348303947,), (1348304028,), (1348304045,), (1348304052,), (1348304070,), (1348304190,), (1348304250,), (1348304313,), (1348304372,), (1348304413,), (1348304535,), (1348304538,), (1348304541,), (1348304543,), (1348304561,), (1348304593,), (1348304999,), (1348305035,), (1348305102,), (1348305136,), (1348305268,), (1348305440,), (1348305442,), (1348305448,), (1348305455,), (1348305460,), (1348305468,), (1348305498,), (1348305505,), (1348305510,), (1348305539,), (1348305558,), (1348305563,), (1348305567,), (1348305573,), (1348305579,), (1348305585,), (1348305638,), (1348305651,), (1348305659,), (1348305667,), (1348305687,), (1348305695,), (1348305701,), (1348305706,), (1348305713,), (1348305719,), (1348305764,), (1348305769,), (1348305788,), (1348305797,), (1348305803,), (1348305833,), (1348305837,), (1348305842,), (1348305848,), (1348305882,), (1348305891,), (1348305897,), (1348305901,), (1348305909,), (1348305916,), (1348305942,), (1348305944,), (1348305949,), (1348305952,), (1348305956,), (1348306017,), (1348306000,), (1348306005,), (1348306007,), (1348306208,), (1348306212,), (1348306217,), (1348306223,), (1348306228,), (1348306506,), (1348306567,), (1348306626,), (1348306659,), (1348306680,), (1348306729,), (1348306733,), (1348306734,), (1348306773,), (1348306879,), (1348306891,), (1348306905,), (1348306925,), (1348306953,), (1348307051,), (1348307056,), (1348307061,), (1348307065,), (1348307071,), (1348307075,), (1348307110,), (1348307129,), (1348307137,), (1348307145,), (1348307194,), (1348307197,), (1348307220,), (1348307223,), (1348307227,), (1348307232,), (1348307264,), (1348307271,), (1348307279,), (1348307286,), (1348307312,), (1348307315,), (1348307319,), (1348307324,), (1348307329,), (1348307334,), (1348307372,), (1348307375,), (1348307378,), (1348307383,), (1348307388,), (1348307391,), (1348307408,), (1348307410,), (1348307414,), (1348307419,), (1348307622,), (1348307627,), (1348307630,), (1348307633,), (1348307635,), (1348307636,), (1348308073,), (1348308122,), (1348308168,), (1348308202,), (1348308684,), (1348308640,), (1348309203,), (1348309329,), (1348309355,), (1348309598,), (1348309701,), (1348309747,), (1348309792,), (1348309849,), (1348310222,), (1348310272,), (1348310332,), (1348310406,), (1348310458,), (1348310992,), (1348311049,), (1348311060,), (1348311075,), (1348311094,), (1348311181,), (1348311185,), (1348311201,), (1348311232,), (1348311264,), (1348311477,), (1348311498,), (1348311519,), (1348311525,), (1348311565,), (1348311617,), (1348311622,), (1348311628,), (1348311646,), (1348311729,), (1348311744,), (1348311758,), (1348311763,), (1348311771,), (1348311776,), (1348311923,), (1348311952,), (1348311971,), (1348312058,), (1348312071,), (1348312089,), (1348312102,), (1348312161,), (1348312165,), (1348312168,), (1348312171,), (1348312174,), (1348312179,), (1348312291,), (1348312316,), (1348312352,), (1348312384,), (1348312395,), (1348312409,), (1348312501,), (1348312526,), (1348312548,), (1348312572,), (1348312929,), (1348313002,), (1348313033,), (1348313039,), (1348313079,), (1348313302,), (1348313255,), (1348313284,), (1348313293,), (1348313297,), (1348313438,), (1348313448,), (1348313500,), (1348313522,), (1348313569,), (1348313572,), (1348313575,), (1348313586,), (1348313597,), (1348313603,), (1348313800,), (1348313912,), (1348313961,), (1348314345,), (1348314372,), (1348314377,), (1348314384,), (1348314392,), (1348314441,), (1348314467,), (1348314494,), (1348314523,), (1348314558,), (1348314579,), (1348314628,), (1348314661,), (1348314762,), (1348315011,), (1348315014,), (1348315017,), (1348315021,), (1348315026,), (1348315079,), (1348315081,), (1348315084,), (1348315092,), (1348315096,), (1348315102,), (1348315132,), (1348315134,), (1348315136,), (1348315210,), (1348315258,), (1348315263,), (1348315268,), (1348315272,), (1348315412,), (1348315416,), (1348315421,), (1348315426,), (1348315813,), (1348315833,), (1348315885,), (1348315900,), (1348315908,), (1348315936,), (1348316067,), (1348316074,), (1348316081,), (1348316088,), (1348316095,), (1348316103,), (1348316280,), (1348316284,), (1348316289,), (1348316490,), (1348316333,), (1348316342,), (1348316484,), (1348316942,), (1348316984,), (1348317010,), (1348317141,), (1348317144,), (1348317148,), (1348317152,), (1348317161,), (1348317170,), (1348317201,), (1348317204,), (1348317212,), (1348317255,), (1348317259,), (1348317262,), (1348317265,), (1348317269,), (1348317273,), (1348317305,), (1348317309,), (1348317312,), (1348317315,), (1348317381,), (1348317384,), (1348317386,), (1348317390,), (1348317441,), (1348317456,), (1348317460,), (1348317511,), (1348317515,), (1348317519,), (1348317526,), (1348317528,), (1348317531,), (1348317576,), (1348317580,), (1348317585,), (1348317591,), (1348317598,), (1348317814,), (1348317820,), (1348317827,), (1348317833,), (1348318014,), (1348318024,), (1348318032,), (1348318050,), (1348318063,), (1348318069,), (1348318130,), (1348318109,), (1348318114,), (1348318118,), (1348318122,), (1348318223,), (1348318234,), (1348318239,), (1348318246,), (1348318358,), (1348318363,), (1348318365,), (1348318371,), (1348318415,), (1348318423,), (1348318435,), (1348318446,), (1348318451,), (1348318462,), (1348318511,), (1348318518,), (1348318525,), (1348318555,), (1348318559,), (1348318562,), (1348318566,), (1348318571,), (1348318576,), (1348318598,), (1348318601,), (1348318604,), (1348318610,), (1348318660,), (1348318665,), (1348318668,), (1348318672,), (1348318679,), (1348318685,), (1348318728,), (1348318843,), (1348318846,), (1348318886,), (1348318887,), (1348318892,), (1348318925,), (1348318959,), (1348318985,), (1348319616,), (1348319649,), (1348319684,), (1348319756,), (1348319767,), (1348319770,), (1348319814,), (1348319807,), (1348319809,), (1348320100,), (1348320104,), (1348320129,), (1348320152,), (1348320900,), (1348321165,), (1348321169,), (1348321176,), (1348321211,), (1348321215,), (1348321225,), (1348321232,), (1348321246,), (1348321588,), (1348321615,), (1348321635,), (1348321645,), (1348321652,), (1348321658,), (1348321682,), (1348321687,), (1348321693,), (1348321726,), (1348321730,), (1348321734,), (1348321739,), (1348321744,), (1348321747,), (1348321794,), (1348321797,), (1348321801,), (1348321857,), (1348321866,), (1348321876,), (1348321880,), (1348321894,), (1348321916,), (1348322170,), (1348322193,), (1348322214,), (1348322240,), (1348322267,), (1348322463,), (1348322495,), (1348322534,), (1348322572,), (1348322853,), (1348322879,), (1348322909,), (1348322934,), (1348322967,), (1348322996,), (1348323086,), (1348323092,), (1348323095,), (1348323099,), (1348323153,), (1348323156,), (1348323160,), (1348323162,), (1348323166,), (1348323171,), (1348323405,), (1348323436,), (1348323462,), (1348323480,), (1348323523,), (1348323565,), (1348324125,), (1348323976,), (1348324041,), (1348324087,), (1348324468,), (1348324482,), (1348324496,), (1348324498,), (1348324560,), (1348324570,), (1348324726,), (1348324746,), (1348324754,), (1348324757,), (1348324827,), (1348324830,), (1348324832,), (1348324841,), (1348324853,), (1348324857,), (1348324986,), (1348325014,), (1348325041,), (1348325073,), (1348325098,), (1348325126,), (1348325324,), (1348325337,), (1348325363,), (1348325392,), (1348325508,), (1348325512,), (1348325514,), (1348325517,), (1348325522,), (1348325527,), (1348325626,), (1348325635,), (1348325639,), (1348325644,), (1348325653,), (1348325674,), (1348325707,), (1348325711,), (1348325715,), (1348325721,), (1348325725,), (1348325731,), (1348325823,), (1348325835,), (1348325838,), (1348325842,), (1348325846,), (1348325943,), (1348325947,), (1348325951,), (1348326000,), (1348326003,), (1348326019,), (1348326031,), (1348326045,), (1348326055,), (1348326105,), (1348326109,), (1348326115,), (1348326121,), (1348326238,), (1348326243,), (1348326245,), (1348329558,), (1348330707,), (1348330745,), (1348330784,), (1348331406,), (1348331436,), (1348331463,), (1348331513,), (1348331821,), (1348331853,), (1348331928,), (1348331965,), (1348332374,), (1348332402,), (1348332432,), (1348332460,), (1348332502,), (1348332507,), (1348332512,), (1348332519,), (1348332528,), (1348332744,), (1348332773,), (1348332804,), (1348332930,), (1348332938,), (1348332944,), (1348332950,), (1348332954,), (1348332987,), (1348332994,), (1348333003,), (1348333013,), (1348333018,), (1348333024,), (1348333049,), (1348333055,), (1348333059,), (1348333170,), (1348333182,), (1348333189,), (1348333198,), (1348333205,), (1348333209,), (1348333227,), (1348333232,), (1348333236,), (1348333243,), (1348333248,), (1348333255,), (1348333297,), (1348333301,), (1348333305,), (1348333310,), (1348333345,), (1348333352,), (1348333357,), (1348333360,), (1348333365,), (1348333371,), (1348333419,), (1348333422,), (1348333427,), (1348333433,), (1348333467,), (1348333472,), (1348333477,), (1348333482,), (1348333487,), (1348333596,), (1348333562,), (1348333569,), (1348333578,), (1348333586,), (1348333615,), (1348333622,), (1348333625,), (1348333631,), (1348333770,), (1348333785,), (1348333790,), (1348333798,), (1348333833,), (1348333840,), (1348333859,), (1348333863,), (1348333869,), (1348333875,), (1348333941,), (1348333945,), (1348333950,), (1348333961,), (1348333973,), (1348333999,), (1348334003,), (1348334008,), (1348334014,), (1348334018,), (1348334024,), (1348334049,), (1348334054,), (1348334068,), (1348334105,), (1348334110,), (1348334114,), (1348334118,), (1348334121,), (1348334126,), (1348334155,), (1348334159,), (1348334161,), (1348334167,), (1348334173,), (1348334201,), (1348334205,), (1348334209,), (1348334247,), (1348334250,), (1348334288,), (1348334347,), (1348334349,), (1348334352,), (1348334353,), (1348334357,), (1348334403,), (1348334408,), (1348334411,), (1348334417,), (1348334488,), (1348334500,), (1348334504,), (1348334507,), (1348334512,), (1348334752,), (1348334693,), (1348334729,), (1348334747,), (1348334782,), (1348334788,), (1348334798,), (1348334805,), (1348334806,), (1348334810,), (1348334838,), (1348334843,), (1348334848,), (1348334854,), (1348334858,), (1348334882,), (1348334915,), (1348334934,), (1348334949,), (1348334964,), (1348335052,), (1348335057,), (1348335084,), (1348335098,), (1348335108,), (1348335198,), (1348335202,), (1348335206,), (1348335210,), (1348335215,), (1348335242,), (1348335248,), (1348335253,), (1348335275,), (1348335280,), (1348335374,), (1348335379,), (1348335383,), (1348335774,), (1348335849,), (1348335964,), (1348336042,), (1348336133,), (1348336231,), (1348336758,), (1348336778,), (1348336803,), (1348336828,), (1348336884,), (1348336900,), (1348336939,), (1348336945,), (1348336959,), (1348336965,), (1348337009,), (1348337014,), (1348337020,), (1348337023,), (1348337026,), (1348337044,), (1348337200,), (1348337294,), (1348337315,), (1348337344,), (1348337361,), (1348337441,), (1348337445,), (1348337470,), (1348337474,), (1348337481,), (1348337574,), (1348337579,), (1348337585,), (1348337587,), (1348337590,), (1348337806,), (1348337790,), (1348337793,), (1348337797,), (1348337800,), (1348337803,), (1348337844,), (1348337852,), (1348338065,), (1348338078,), (1348338151,), (1348338184,), (1348338206,), (1348338244,), (1348338278,), (1348338348,), (1348338352,), (1348338357,), (1348338366,), (1348338448,), (1348338481,), (1348338508,), (1348338531,), (1348338576,), (1348338581,), (1348338585,), (1348338665,), (1348338699,), (1348338702,), (1348338710,), (1348338718,), (1348338822,), (1348338834,), (1348338875,), (1348338900,), (1348338915,), (1348338927,), (1348339015,), (1348339045,), (1348339050,), (1348339089,), (1348339093,), (1348339100,), (1348339108,), (1348339110,), (1348339115,), (1348339136,), (1348339141,), (1348339145,), (1348339149,), (1348339293,), (1348339321,), (1348339352,), (1348339379,), (1348339406,), (1348339434,), (1348339898,), (1348339910,), (1348339931,), (1348339937,), (1348339941,), (1348339945,), (1348340013,), (1348339978,), (1348339987,), (1348339992,), (1348340001,), (1348340051,), (1348340056,), (1348340063,), (1348340070,), (1348340229,), (1348340332,), (1348340492,), (1348340656,), (1348340851,), (1348341267,), (1348341281,), (1348341297,), (1348341303,), (1348341309,), (1348341315,), (1348341420,), (1348341545,), (1348341686,), (1348341851,), (1348341857,), (1348341864,), (1348341869,), (1348341873,), (1348341923,), (1348341929,), (1348341935,), (1348341941,), (1348341946,), (1348342006,), (1348342016,), (1348342101,), (1348342145,), (1348342159,), (1348342176,), (1348342354,), (1348342362,), (1348342382,), (1348342406,), (1348342410,), (1348342455,), (1348342474,), (1348342481,), (1348342485,), (1348342490,), (1348342494,), (1348342551,), (1348342562,), (1348342568,), (1348342580,), (1348342583,), (1348342656,), (1348342662,), (1348342685,), (1348342774,), (1348342804,), (1348343112,), (1348343147,), (1348343175,), (1348343198,), (1348343244,), (1348343252,), (1348343277,), (1348343284,), (1348343339,), (1348343329,), (1348343334,), (1348343388,), (1348343392,), (1348343399,), (1348343408,), (1348343413,), (1348343418,), (1348343461,), (1348343463,), (1348343468,), (1348343672,), (1348344538,), (1348344542,), (1348344702,), (1348344706,), (1348344807,), (1348344813,), (1348344818,), (1348344823,), (1348344828,), (1348344834,), (1348344852,), (1348344856,), (1348344860,), (1348344864,), (1348344868,), (1348344871,), (1348344892,), (1348344899,), (1348344905,), (1348344996,), (1348345006,), (1348345017,), (1348345021,), (1348345040,), (1348345221,), (1348345170,), (1348345210,), (1348345284,), (1348345288,), (1348345309,), (1348345316,), (1348345322,), (1348345386,), (1348345444,), (1348345465,), (1348345481,), (1348345502,), (1348345624,), (1348345629,), (1348345781,), (1348345829,), (1348345867,), (1348345893,), (1348346078,), (1348346082,), (1348346086,), (1348346093,), (1348346097,), (1348346123,), (1348346129,), (1348346145,), (1348346196,), (1348348251,), (1348348247,), (1348348514,), (1348348581,), (1348348637,), (1348348717,), (1348348797,), (1348348899,), (1348348969,), (1348348976,), (1348349070,), (1348349087,), (1348349092,), (1348349113,), (1348349136,), (1348349165,), (1348349222,), (1348349225,), (1348349228,), (1348349235,), (1348349262,), (1348349267,), (1348349271,), (1348349276,), (1348349281,), (1348349284,), (1348349318,), (1348349321,), (1348349326,), (1348349363,), (1348349366,), (1348349372,), (1348349464,), (1348349468,), (1348349472,), (1348349516,), (1348349520,), (1348349523,), (1348349569,), (1348349574,), (1348349579,), (1348349586,), (1348349593,), (1348349619,), (1348349624,), (1348349628,), (1348349632,), (1348349657,), (1348349661,), (1348349665,), (1348349668,), (1348349673,), (1348349704,), (1348349705,), (1348349707,), (1348349709,), (1348350192,), (1348350219,), (1348350247,), (1348350279,), (1348350302,), (1348350711,), (1348350568,), (1348350607,), (1348350635,), (1348350679,), (1348350826,), (1348350864,), (1348350909,), (1348351079,), (1348351524,), (1348351544,), (1348351572,), (1348351600,), (1348351771,), (1348351780,), (1348351789,), (1348351796,), (1348351804,), (1348351811,), (1348352008,), (1348352025,), (1348352037,), (1348352065,), (1348352197,), (1348352202,), (1348352208,), (1348352223,), (1348352276,), (1348352337,), (1348352342,), (1348352348,), (1348352354,), (1348352410,), (1348352414,), (1348352420,), (1348352426,), (1348352501,), (1348352513,), (1348352519,), (1348352522,), (1348352583,), (1348353825,), (1348353822,), (1348354013,), (1348354021,), (1348354055,), (1348354067,), (1348354180,), (1348354203,), (1348354228,), (1348354525,), (1348354552,), (1348354583,), (1348354587,), (1348354632,), (1348354634,), (1348354637,), (1348354685,), (1348354689,), (1348354698,), (1348354729,), (1348354763,), (1348354846,), (1348354848,), (1348354849,), (1348354852,), (1348354884,), (1348354889,), (1348354892,), (1348354896,), (1348354938,), (1348354940,), (1348354942,), (1348354982,), (1348354985,), (1348354990,), (1348354992,), (1348354997,), (1348355034,), (1348355035,), (1348355039,), (1348355041,), (1348355044,), (1348355048,), (1348355075,), (1348355083,), (1348355088,), (1348355091,), (1348355142,), (1348355144,), (1348355146,), (1348355148,), (1348355151,), (1348355152,), (1348355184,), (1348355676,), (1348355646,), (1348355843,), (1348355877,), (1348355882,), (1348355902,), (1348355908,), (1348356022,), (1348356024,), (1348356102,), (1348356106,), (1348356110,), (1348356114,), (1348356258,), (1348356273,), (1348356279,), (1348356281,), (1348356288,), (1348356325,), (1348356401,), (1348356404,), (1348356407,), (1348356410,), (1348356465,), (1348356477,), (1348356502,), (1348356603,), (1348356627,), (1348356629,), (1348356664,), (1348357057,), (1348361460,), (1348364943,), (1348365089,), (1348365116,), (1348365390,), (1348366000,), (1348366004,), (1348366137,), (1348366141,), (1348366173,), (1348366503,), (1348366535,), (1348366571,), (1348366610,), (1348366826,), (1348369137,), (1348370067,), (1348371715,), (1348372497,), (1348372914,), (1348376159,), (1348376174,), (1348377336,), (1348377460,), (1348378921,), (1348380353,), (1348381042,), (1348381160,), (1348381299,), (1348382046,), (1348382694,), (1348382745,), (1348390234,), (1348386778,), (1348391062,), (1348391664,), (1348391681,), (1348391813,), (1348393303,), (1348393357,), (1348393968,), (1348394035,), (1348394492,), (1348397165,), (1348398126,), (1348401620,), (1348401706,), (1348402285,), (1348403298,), (1348403370,), (1348405324,), (1348406583,), (1348407076,), (1348406969,), (1348407036,), (1348407543,), (1348408617,), (1348408646,), (1348410336,), (1348414436,), (1348414751,), (1348414821,), (1348415577,), (1348430169,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28032025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21845175]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] map_info['map_portfolio_photo'] : {21845175: [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890]} final : True mtd_id 4302 list_pids : [1348278559, 1348277365, 1348277047, 1348276854, 1348276793, 1348276764, 1348276758, 1348276521, 1348276482, 1348276137, 1348276106, 1348276075, 1348276008, 1348275882, 1348275849, 1348275773, 1348275753, 1348275742, 1348275697, 1348275656, 1348275640, 1348275532, 1348275491, 1348275329, 1348274728, 1348274713, 1348274687, 1348274668, 1348274354, 1348274282, 1348274274, 1348274251, 1348274219, 1348274195, 1348273606, 1348273566, 1348273511, 1348273453, 1348273418, 1348272917, 1348272890] Looping around the photos to save general results len do output : 1 /21845175Didn'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, '2704294') ('4302', '21845175', '1348278559', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294') ('4302', None, None, None, None, None, None, None, '2704294') ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21845175', 'None', None, None, None, None, '2704294'), ('4302', '21845175', '1348278559', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348277365', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348277047', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276854', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276793', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276764', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276758', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276521', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276482', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276137', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276106', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276075', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348276008', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275882', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275849', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275773', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275753', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275742', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275697', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275656', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275640', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275532', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275491', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348275329', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274728', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274713', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274687', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274668', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274354', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274282', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274274', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274251', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274219', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348274195', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273606', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273566', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273511', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273453', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348273418', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348272917', None, None, None, None, None, '2704294'), ('4302', '21845175', '1348272890', None, None, None, None, None, '2704294')] time used for this insertion : 0.08309412002563477 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.040521144866943 time spend to save output : 0.08360481262207031 total time spend for step 5 : 5.124125957489014 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 (2704294) 3.22user 2.82system 0:22.79elapsed 26%CPU (0avgtext+0avgdata 161032maxresident)k 123416inputs+32760outputs (592major+83592minor)pagefaults 0swaps