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 : 455500 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 (2660948) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2660948) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257252 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2660948'] with mtr_portfolio_ids : ['21257252'] and first list_photo_ids : [] new path : /proc/455500/ Name: python3 Umask: 0002 State: R (running) Tgid: 455500 Ngid: 0 Pid: 455500 PPid: 455499 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 455500 NSpid: 455500 NSpgid: 452376 NSsid: 452376 VmPeak: 1106852 kB VmSize: 1106852 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100012 kB VmRSS: 100012 kB RssAnon: 59760 kB RssFile: 40252 kB RssShmem: 0 kB VmData: 865600 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 46 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '455500', 'Ngid': '0', 'Pid': '455500', 'PPid': '455499', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '455500', 'NSpid': '455500', 'NSpgid': '452376', 'NSsid': '452376', 'VmPeak': '1106852 kB', 'VmSize': '1106852 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100012 kB', 'VmRSS': '100012 kB', 'RssAnon': '59760 kB', 'RssFile': '40252 kB', 'RssShmem': '0 kB', 'VmData': '865600 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '46', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '455500', '1106852', '0', '1106852', '865600', '100012', b'', 'marlene', '2660948') 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 (21257252) 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 (2660948 ) ) 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 (21257252) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1342825679, 'portfolio_id': 21257252}, {'photo_id': 1342820308, 'portfolio_id': 21257252}, {'photo_id': 1342820301, 'portfolio_id': 21257252}, {'photo_id': 1342820293, 'portfolio_id': 21257252}, {'photo_id': 1342820257, 'portfolio_id': 21257252}, {'photo_id': 1342820062, 'portfolio_id': 21257252}, {'photo_id': 1342820041, 'portfolio_id': 21257252}, {'photo_id': 1342819981, 'portfolio_id': 21257252}, {'photo_id': 1342819951, 'portfolio_id': 21257252}, {'photo_id': 1342819939, 'portfolio_id': 21257252}, {'photo_id': 1342819857, 'portfolio_id': 21257252}, {'photo_id': 1342819850, 'portfolio_id': 21257252}, {'photo_id': 1342819844, 'portfolio_id': 21257252}, {'photo_id': 1342819841, 'portfolio_id': 21257252}, {'photo_id': 1342819839, 'portfolio_id': 21257252}, {'photo_id': 1342819617, 'portfolio_id': 21257252}, {'photo_id': 1342819594, 'portfolio_id': 21257252}, {'photo_id': 1342819563, 'portfolio_id': 21257252}, {'photo_id': 1342819381, 'portfolio_id': 21257252}, {'photo_id': 1342819376, 'portfolio_id': 21257252}, {'photo_id': 1342819370, 'portfolio_id': 21257252}, {'photo_id': 1342819353, 'portfolio_id': 21257252}, {'photo_id': 1342819322, 'portfolio_id': 21257252}, {'photo_id': 1342819320, 'portfolio_id': 21257252}, {'photo_id': 1342819316, 'portfolio_id': 21257252}, {'photo_id': 1342819312, 'portfolio_id': 21257252}, {'photo_id': 1342819308, 'portfolio_id': 21257252}, {'photo_id': 1342819258, 'portfolio_id': 21257252}, {'photo_id': 1342819218, 'portfolio_id': 21257252}, {'photo_id': 1342819142, 'portfolio_id': 21257252}, {'photo_id': 1342819089, 'portfolio_id': 21257252}, {'photo_id': 1342819013, 'portfolio_id': 21257252}, {'photo_id': 1342818550, 'portfolio_id': 21257252}, {'photo_id': 1342818463, 'portfolio_id': 21257252}, {'photo_id': 1342818397, 'portfolio_id': 21257252}, {'photo_id': 1342818085, 'portfolio_id': 21257252}, {'photo_id': 1342817978, 'portfolio_id': 21257252}, {'photo_id': 1342817927, 'portfolio_id': 21257252}, {'photo_id': 1342817820, 'portfolio_id': 21257252}, {'photo_id': 1342817760, 'portfolio_id': 21257252}, {'photo_id': 1342816957, 'portfolio_id': 21257252}, {'photo_id': 1342816825, 'portfolio_id': 21257252}, {'photo_id': 1342816656, 'portfolio_id': 21257252}, {'photo_id': 1342816596, 'portfolio_id': 21257252}, {'photo_id': 1342815909, 'portfolio_id': 21257252}, {'photo_id': 1342815894, 'portfolio_id': 21257252}] map_portfolio_id_photo_id: {21257252: [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894]} ##### 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.971247673034668 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Mar 12 05:41:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21257252) 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 : 21257252 get user id for portfolio 21257252 get sub ptf for main ptf 21257252, type 3726 and hashtags ['autre_refus', 'Carton_brun', 'papier', 'metal', 'mal_croppe', 'environnement', 'cartonnette', 'kraft', 'plastique', 'Carton_gris', 'Teint_Dans_La_Masse', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21257252 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','metal','mal_croppe','environnement','cartonnette','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','flou')) 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`=21257252 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','metal','mal_croppe','environnement','cartonnette','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21257252, 'sub_port_id': 21257269, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845258, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'environnement': {'main_port_id': 21257252, 'sub_port_id': 21257270, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845259, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'cartonnette': {'main_port_id': 21257252, 'sub_port_id': 21257271, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845260, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'autre_refus': {'main_port_id': 21257252, 'sub_port_id': 21257272, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845261, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'Carton_gris': {'main_port_id': 21257252, 'sub_port_id': 21257273, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845262, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'mal_croppe': {'main_port_id': 21257252, 'sub_port_id': 21257274, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845263, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'plastique': {'main_port_id': 21257252, 'sub_port_id': 21257275, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845264, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'papier': {'main_port_id': 21257252, 'sub_port_id': 21257276, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845265, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'flou': {'main_port_id': 21257252, 'sub_port_id': 21257277, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845266, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21257252, 'sub_port_id': 21257278, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845267, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'metal': {'main_port_id': 21257252, 'sub_port_id': 21257279, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845268, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}, 'kraft': {'main_port_id': 21257252, 'sub_port_id': 21257280, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845269, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21257269 , 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=21257252 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 (21257269) result : ((1342819504,), (1342819505,), (1342819602,), (1342820322,), (1342820334,), (1342820699,), (1342826236,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257270 , 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=21257252 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 (21257270) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257271 , 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=21257252 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 (21257271) result : ((1342819339,), (1342819395,), (1342819396,), (1342819397,), (1342819398,), (1342819498,), (1342819592,), (1342820304,), (1342820332,), (1342820708,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257272 , 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=21257252 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 (21257272) result : ((1342819336,), (1342819337,), (1342819390,), (1342819481,), (1342819483,), (1342819484,), (1342819566,), (1342819570,), (1342820302,), (1342820326,), (1342820328,), (1342820664,), (1342820665,), (1342820691,), (1342820693,), (1342820694,), (1342820695,), (1342820704,), (1342820706,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257273 , 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=21257252 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 (21257273) result : ((1342819391,), (1342819392,), (1342819490,), (1342819491,), (1342819493,), (1342819582,), (1342819584,), (1342820303,), (1342820321,), (1342820329,), (1342820330,), (1342820331,), (1342820697,), (1342820698,), (1342820707,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257274 , 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=21257252 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 (21257274) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257275 , 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=21257252 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 (21257275) result : ((1342820305,), (1342820323,), (1342820336,), (1342820337,), (1342820667,), (1342820668,), (1342820700,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257276 , 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=21257252 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 (21257276) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257277 , 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=21257252 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 (21257277) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257278 , 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=21257252 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 (21257278) result : ((1342819386,), (1342819387,), (1342819472,), (1342819547,), (1342819549,), (1342819550,), (1342820295,), (1342820297,), (1342820298,), (1342820313,), (1342820315,), (1342820316,), (1342820317,), (1342820662,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257279 , 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=21257252 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 (21257279) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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 21257280 , 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=21257252 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; Catched exception ! Connect or reconnect ! SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257280) result : ((1342819399,), (1342820324,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21257252) result : ((1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,)) 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`=21257252 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','metal','mal_croppe','environnement','cartonnette','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','flou')) 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`=21257252 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','metal','mal_croppe','environnement','cartonnette','kraft','plastique','Carton_gris','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21257252, 'sub_port_id': 21257281, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845270, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'environnement': {'main_port_id': 21257252, 'sub_port_id': 21257282, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845271, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'cartonnette': {'main_port_id': 21257252, 'sub_port_id': 21257283, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845272, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'autre_refus': {'main_port_id': 21257252, 'sub_port_id': 21257284, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845273, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'Carton_gris': {'main_port_id': 21257252, 'sub_port_id': 21257285, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845274, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'mal_croppe': {'main_port_id': 21257252, 'sub_port_id': 21257286, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845275, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'plastique': {'main_port_id': 21257252, 'sub_port_id': 21257287, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845276, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'papier': {'main_port_id': 21257252, 'sub_port_id': 21257288, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845277, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'flou': {'main_port_id': 21257252, 'sub_port_id': 21257289, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845278, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 21257252, 'sub_port_id': 21257290, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845279, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'metal': {'main_port_id': 21257252, 'sub_port_id': 21257291, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845280, 'last_updated_at': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 4, 35), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}, 'kraft': {'main_port_id': 21257252, 'sub_port_id': 21257292, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13845281, 'last_updated_at': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 11, 5, 4, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 11, 4, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257281,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257269 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257282,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257270 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257283,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257271 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257284,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257272 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257285,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257273 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257286,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257274 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257287,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257275 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257288,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257276 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21257292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21257280 lien utilise dans velours : https://www.fotonower.com/velours/21257281,21257282,21257283,21257284,21257285,21257286,21257287,21257288,21257289,21257290,21257291,21257292?tags=Carton_brun,environnement,cartonnette,autre_refus,Carton_gris,mal_croppe,plastique,papier,flou,Teint_Dans_La_Masse,metal,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21257252]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] map_info['map_portfolio_photo'] : {21257252: [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894]} final : False mtd_id 4302 list_pids : [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] Looping around the photos to save general results len do output : 1 /21257252. 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, '2660948') ('4302', '21257252', '1342825679', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 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, '21257252', "{'Carton_brun': 21257269, 'environnement': 21257270, 'cartonnette': 21257271, 'autre_refus': 21257272, 'Carton_gris': 21257273, 'mal_croppe': 21257274, 'plastique': 21257275, 'papier': 21257276, 'flou': 21257277, 'Teint_Dans_La_Masse': 21257278, 'metal': 21257279, 'kraft': 21257280}", None, None, None, None, '2660948'), ('4302', '21257252', '1342825679', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948')] time used for this insertion : 0.02263188362121582 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6252689361572266 time spend to save output : 0.022935152053833008 total time spend for step 1 : 3.6482040882110596 step2:final Wed Mar 12 05:42: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 ! 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 (21257252) 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 21257252 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1342815909,1342815894,1342816957,1342816825,1342816656,1342816596,1342818085,1342817978,1342817927,1342817820,1342817760,1342818550,1342818463,1342818397,1342819258,1342819218,1342819142,1342819089,1342819013,1342819322,1342819320,1342819316,1342819312,1342819308,1342819381,1342819376,1342819370,1342819353,1342819617,1342819594,1342819563,1342819857,1342819850,1342819844,1342819841,1342819839,1342820062,1342820041,1342819981,1342819951,1342819939,1342820308,1342820301,1342820293,1342820257,1342825679); 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([21257252]) Inside saveOutput : final : False verbose : True original output for save of step final : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} new output for save of step final : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] map_info['map_portfolio_photo'] : {21257252: [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894]} final : False mtd_id 4302 list_pids : [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] Looping around the photos to save general results len do output : 46 /1342825679.Didn't retrieve data . /1342820308.Didn't retrieve data . /1342820301.Didn't retrieve data . /1342820293.Didn't retrieve data . /1342820257.Didn't retrieve data . /1342820062.Didn't retrieve data . /1342820041.Didn't retrieve data . /1342819981.Didn't retrieve data . /1342819951.Didn't retrieve data . /1342819939.Didn't retrieve data . /1342819857.Didn't retrieve data . /1342819850.Didn't retrieve data . /1342819844.Didn't retrieve data . /1342819841.Didn't retrieve data . /1342819839.Didn't retrieve data . /1342819617.Didn't retrieve data . /1342819594.Didn't retrieve data . /1342819563.Didn't retrieve data . /1342819381.Didn't retrieve data . /1342819376.Didn't retrieve data . /1342819370.Didn't retrieve data . /1342819353.Didn't retrieve data . /1342819322.Didn't retrieve data . /1342819320.Didn't retrieve data . /1342819316.Didn't retrieve data . /1342819312.Didn't retrieve data . /1342819308.Didn't retrieve data . /1342819258.Didn't retrieve data . /1342819218.Didn't retrieve data . /1342819142.Didn't retrieve data . /1342819089.Didn't retrieve data . /1342819013.Didn't retrieve data . /1342818550.Didn't retrieve data . /1342818463.Didn't retrieve data . /1342818397.Didn't retrieve data . /1342818085.Didn't retrieve data . /1342817978.Didn't retrieve data . /1342817927.Didn't retrieve data . /1342817820.Didn't retrieve data . /1342817760.Didn't retrieve data . /1342816957.Didn't retrieve data . /1342816825.Didn't retrieve data . /1342816656.Didn't retrieve data . /1342816596.Didn't retrieve data . /1342815909.Didn't retrieve data . /1342815894.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, '2660948') ('4302', '21257252', '1342825679', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 138 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', '21257252', '1342825679', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342820308', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342820301', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342820293', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342820257', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342820062', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342820041', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819981', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819951', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819939', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819857', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819850', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819844', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819841', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819839', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819617', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819594', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819563', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819381', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819376', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819370', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819353', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819322', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819320', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819316', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819312', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819308', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819258', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819218', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819142', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819089', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342819013', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342818550', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342818463', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342818397', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342818085', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342817978', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342817927', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342817820', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342817760', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342816957', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342816825', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342816656', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342816596', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342815909', '0.0509679334191812', None, None, None, None, '2660948'), ('4302', '21257252', '1342815894', '0.0509679334191812', None, None, None, None, '2660948')] time used for this insertion : 0.02501368522644043 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15986347198486328 time spend to save output : 0.02666759490966797 total time spend for step 2 : 0.18653106689453125 step3:velours_tree Wed Mar 12 05:42: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 : {21257252: [{'Carton_brun': 21257269, 'environnement': 21257270, 'cartonnette': 21257271, 'autre_refus': 21257272, 'Carton_gris': 21257273, 'mal_croppe': 21257274, 'plastique': 21257275, 'papier': 21257276, 'flou': 21257277, 'Teint_Dans_La_Masse': 21257278, 'metal': 21257279, 'kraft': 21257280}]} input_args_next_step : {21257252: ()} output_args : {21257252: [{'Carton_brun': 21257269, 'environnement': 21257270, 'cartonnette': 21257271, 'autre_refus': 21257272, 'Carton_gris': 21257273, 'mal_croppe': 21257274, 'plastique': 21257275, 'papier': 21257276, 'flou': 21257277, 'Teint_Dans_La_Masse': 21257278, 'metal': 21257279, 'kraft': 21257280}]} args : 21257252 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 : ({'Carton_brun': 21257269, 'environnement': 21257270, 'cartonnette': 21257271, 'autre_refus': 21257272, 'Carton_gris': 21257273, 'mal_croppe': 21257274, 'plastique': 21257275, 'papier': 21257276, 'flou': 21257277, 'Teint_Dans_La_Masse': 21257278, 'metal': 21257279, 'kraft': 21257280},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21257252) 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([21257252]) 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.32500267028808594 time spend to save output : 5.3882598876953125e-05 total time spend for step 3 : 0.3250565528869629 step4:send_mail_cod Wed Mar 12 05:42:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} input_args_next_step : {1342825679: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342825679 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342820308 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342820301 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342820293 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342820257 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342820062 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342820041 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819981 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819951 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819939 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819857 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819850 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819844 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819841 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819839 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819617 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819594 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819563 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819381 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819376 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819370 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819353 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819322 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819320 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819316 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819312 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819308 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819258 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819218 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819142 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819089 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342819013 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342818550 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342818463 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342818397 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342818085 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342817978 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342817927 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342817820 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342817760 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342816957 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342816825 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342816656 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342816596 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342815909 depend.output_id : 0 input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ()} output_args : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',)} args : 1342815894 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 : {21257252: [{'Carton_brun': 21257269, 'environnement': 21257270, 'cartonnette': 21257271, 'autre_refus': 21257272, 'Carton_gris': 21257273, 'mal_croppe': 21257274, 'plastique': 21257275, 'papier': 21257276, 'flou': 21257277, 'Teint_Dans_La_Masse': 21257278, 'metal': 21257279, 'kraft': 21257280}]} input_args_next_step : {1342825679: ('0.0509679334191812',), 1342820308: ('0.0509679334191812',), 1342820301: ('0.0509679334191812',), 1342820293: ('0.0509679334191812',), 1342820257: ('0.0509679334191812',), 1342820062: ('0.0509679334191812',), 1342820041: ('0.0509679334191812',), 1342819981: ('0.0509679334191812',), 1342819951: ('0.0509679334191812',), 1342819939: ('0.0509679334191812',), 1342819857: ('0.0509679334191812',), 1342819850: ('0.0509679334191812',), 1342819844: ('0.0509679334191812',), 1342819841: ('0.0509679334191812',), 1342819839: ('0.0509679334191812',), 1342819617: ('0.0509679334191812',), 1342819594: ('0.0509679334191812',), 1342819563: ('0.0509679334191812',), 1342819381: ('0.0509679334191812',), 1342819376: ('0.0509679334191812',), 1342819370: ('0.0509679334191812',), 1342819353: ('0.0509679334191812',), 1342819322: ('0.0509679334191812',), 1342819320: ('0.0509679334191812',), 1342819316: ('0.0509679334191812',), 1342819312: ('0.0509679334191812',), 1342819308: ('0.0509679334191812',), 1342819258: ('0.0509679334191812',), 1342819218: ('0.0509679334191812',), 1342819142: ('0.0509679334191812',), 1342819089: ('0.0509679334191812',), 1342819013: ('0.0509679334191812',), 1342818550: ('0.0509679334191812',), 1342818463: ('0.0509679334191812',), 1342818397: ('0.0509679334191812',), 1342818085: ('0.0509679334191812',), 1342817978: ('0.0509679334191812',), 1342817927: ('0.0509679334191812',), 1342817820: ('0.0509679334191812',), 1342817760: ('0.0509679334191812',), 1342816957: ('0.0509679334191812',), 1342816825: ('0.0509679334191812',), 1342816656: ('0.0509679334191812',), 1342816596: ('0.0509679334191812',), 1342815909: ('0.0509679334191812',), 1342815894: ('0.0509679334191812',), 21257252: ()} output_args : {21257252: [{'Carton_brun': 21257269, 'environnement': 21257270, 'cartonnette': 21257271, 'autre_refus': 21257272, 'Carton_gris': 21257273, 'mal_croppe': 21257274, 'plastique': 21257275, 'papier': 21257276, 'flou': 21257277, 'Teint_Dans_La_Masse': 21257278, 'metal': 21257279, 'kraft': 21257280}]} args : 21257252 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 :47, first value : ('0.0509679334191812',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21257252) 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 (1342825679,1342820308,1342820301,1342820293,1342820257,1342820062,1342820041,1342819981,1342819951,1342819939,1342819857,1342819850,1342819844,1342819841,1342819839,1342819617,1342819594,1342819563,1342819381,1342819376,1342819370,1342819353,1342819322,1342819320,1342819316,1342819312,1342819308,1342819258,1342819218,1342819142,1342819089,1342819013,1342818550,1342818463,1342818397,1342818085,1342817978,1342817927,1342817820,1342817760,1342816957,1342816825,1342816656,1342816596,1342815909,1342815894) Found this number of photos: 46 ##### Call download_photos : nb_thread : 5 begin to download photo : 1342815894 begin to download photo : 1342818085 begin to download photo : 1342819312 begin to download photo : 1342819617 begin to download photo : 1342820062 download finish for photo 1342819617 begin to download photo : 1342819839 download finish for photo 1342815894 begin to download photo : 1342815909 download finish for photo 1342818085 begin to download photo : 1342818397 download finish for photo 1342820062 begin to download photo : 1342820257 download finish for photo 1342819312 begin to download photo : 1342819316 download finish for photo 1342818397 begin to download photo : 1342818463 download finish for photo 1342819839 begin to download photo : 1342819841 download finish for photo 1342815909 begin to download photo : 1342816596 download finish for photo 1342820257 begin to download photo : 1342820293 download finish for photo 1342819316 begin to download photo : 1342819320 download finish for photo 1342819841 begin to download photo : 1342819844 download finish for photo 1342816596 begin to download photo : 1342816656 download finish for photo 1342819320 begin to download photo : 1342819322 download finish for photo 1342818463 begin to download photo : 1342818550 download finish for photo 1342820293 begin to download photo : 1342820301 download finish for photo 1342819844 begin to download photo : 1342819850 download finish for photo 1342816656 begin to download photo : 1342816825 download finish for photo 1342819322 begin to download photo : 1342819353 download finish for photo 1342820301 begin to download photo : 1342820308 download finish for photo 1342819850 begin to download photo : 1342819857 download finish for photo 1342816825 begin to download photo : 1342816957 download finish for photo 1342818550 begin to download photo : 1342819013 download finish for photo 1342819013 begin to download photo : 1342819089 download finish for photo 1342819353 begin to download photo : 1342819370 download finish for photo 1342820308 begin to download photo : 1342825679 download finish for photo 1342819857 begin to download photo : 1342819939 download finish for photo 1342816957 begin to download photo : 1342817760 download finish for photo 1342825679 download finish for photo 1342819089 begin to download photo : 1342819142 download finish for photo 1342819939 begin to download photo : 1342819951 download finish for photo 1342817760 begin to download photo : 1342817820 download finish for photo 1342819370 begin to download photo : 1342819376 download finish for photo 1342819142 begin to download photo : 1342819218 download finish for photo 1342819951 begin to download photo : 1342819981 download finish for photo 1342817820 begin to download photo : 1342817927 download finish for photo 1342819376 begin to download photo : 1342819381 download finish for photo 1342819218 begin to download photo : 1342819258 download finish for photo 1342819981 begin to download photo : 1342820041 download finish for photo 1342817927 begin to download photo : 1342817978 download finish for photo 1342819381 begin to download photo : 1342819563 download finish for photo 1342819258 begin to download photo : 1342819308 download finish for photo 1342820041 download finish for photo 1342819563 begin to download photo : 1342819594 download finish for photo 1342819308 download finish for photo 1342817978 download finish for photo 1342819594 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 46 ; length of list_pids : 46 ; length of list_args : 46 results_Auto_P21257252_12-03-2025_05_42_04.pdf 21257271 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=21257271 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342819339: '1741664213_529854_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc_rle_crop_3704251594_0.png', 1342819395: '1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252156_0.png', 1342819396: '1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252152_0.png', 1342819397: '1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252162_0.png', 1342819398: '1741664232_530062_1342816656_cb89813e9bda0888c6e8daf3563b75e0_rle_crop_3704252241_0.png', 1342819498: '1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253242_0.png', 1342819592: '1741664247_943468_1342817760_4414bae046ebabd38ccb5ea2491c0fbc_rle_crop_3704253440_0.png', 1342820304: '1741664462_531935_1342819370_1b2943c439783f1c9328f9c8c2d11d58_rle_crop_3704256743_0.png', 1342820332: '1741664486_946691_1342819322_8960980714dc62b7731cc5440095b8f1_rle_crop_3704256865_0.png', 1342820708: '1741664734_534641_1342819841_5946d47703eaaa902b5951fc0fe14b00_rle_crop_3704262078_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/76b68da0df14da76f47f70c9cc34dbe7_3642525.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/346bbe6bc4bd768a3076b451a7542a01_19785741.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/886550107e0218690f08d13b55aa56db_98297819.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ca18aef158d61a734861fa43a05ea71d_18144879.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7e7135fe39d945b84fca15955fc04bf6_65535444.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f0e2acf18526dba9802fd3fd0a68a825_49036695.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e5d5ee796148c6e0a3d7eeef42f464a0_83284776.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/330f079c09b4c319e1479ed452336715_37879044.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/cb8d0b52a2c27ff083df9f398bb6940b_53353840.png change filename to text .imagette212572711741754524/ imagette212572711741754524/1741664213_529854_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc_rle_crop_3704251594_0.png.png imagette212572711741754524/1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252156_0.png.png imagette212572711741754524/1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252162_0.png.png imagette212572711741754524/1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252152_0.png.png imagette212572711741754524/1741664462_531935_1342819370_1b2943c439783f1c9328f9c8c2d11d58_rle_crop_3704256743_0.png.png imagette212572711741754524/1741664232_530062_1342816656_cb89813e9bda0888c6e8daf3563b75e0_rle_crop_3704252241_0.png.png imagette212572711741754524/1741664734_534641_1342819841_5946d47703eaaa902b5951fc0fe14b00_rle_crop_3704262078_0.png.png imagette212572711741754524/1741664486_946691_1342819322_8960980714dc62b7731cc5440095b8f1_rle_crop_3704256865_0.png.png imagette212572711741754524/1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253242_0.png.png imagette212572711741754524/1741664247_943468_1342817760_4414bae046ebabd38ccb5ea2491c0fbc_rle_crop_3704253440_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f8698c5212ad3ec568f2176b86dbdcbb_78006569.png imagette212572711741754524 21257272 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=21257272 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342820326: '1741664486_946691_1342819322_8960980714dc62b7731cc5440095b8f1_rle_crop_3704256864_0.png', 1342820706: '1741664734_534641_1342819839_84cd2d2608b05b5d988deb3b790d33a1_rle_crop_3704262126_0.png', 1342820704: '1741664734_534641_1342820062_d8812df1d38c86bcb59aa7a577d203b0_rle_crop_3704262052_0.png', 1342820695: '1741664712_534313_1342819981_bb8715896b4037b6fd35a8f594227d53_rle_crop_3704260552_0.png', 1342820694: '1741664712_534313_1342820041_d0eb2243125e14cf4e88e4ba90c2db92_rle_crop_3704260541_0.png', 1342820693: '1741664712_534313_1342820308_df9349ac70f4d40dd604bb46c1162810_rle_crop_3704259207_0.png', 1342820691: '1741664727_952103_1342819857_76b11bf6db22e0bc63e02fcc2feed72f_rle_crop_3704258693_0.png', 1342820665: '1741664691_534063_1342820257_a13a60662034befcfdd31dbbfc2a22d0_rle_crop_3704258374_0.png', 1342820664: '1741664691_534063_1342820293_9ba4733a3807db5cd76583784842add2_rle_crop_3704258361_0.png', 1342820328: '1741664486_946691_1342819218_db839a8779804a1284280706ffe3085c_rle_crop_3704256900_0.png', 1342819336: '1741664213_529854_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc_rle_crop_3704251593_0.png', 1342820302: '1741664462_531935_1342819617_954f5aed8644025f68f164959637d937_rle_crop_3704256702_0.png', 1342819570: '1741664247_231879_1342817760_4414bae046ebabd38ccb5ea2491c0fbc_rle_crop_3704253448_0.png', 1342819566: '1741664247_231879_1342818550_90b01f0446c5ba8db7255ec4dfba847f_rle_crop_3704253210_0.png', 1342819484: '1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253305_0.png', 1342819483: '1741664251_530297_1342815909_9d2ec4965cd2dfffdd2546e2e6eaaa8b_rle_crop_3704253272_0.png', 1342819481: '1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253245_0.png', 1342819390: '1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252161_0.png', 1342819337: '1741664213_529854_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc_rle_crop_3704251596_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/31aa14ae2a5f203a62f479e872b47064_70713972.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/310140c670b7be6e7accc5d5edd88fb9_60123686.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f8056bff19d007453e42d32a44601f57_88853591.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/6dd7ccb5a3decb04d130c1a20cbc11eb_50099346.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e84b4386bd4ecc624802171fffd0f64a_98981353.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/71ea6766167fa4054b10c6b6b6088741_3188544.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5b0b4f940250333d4dc0ff4b6cc4f170_91211985.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/da86ebb4ebc8811fe21be45858f38651_8867605.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b302a876a19e9b826d0360c36cad7a9c_10049260.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f6f8dc1314b03889df780985b1a29566_93751315.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9a96b190e8e0b43d7984a5d65a39e16c_11560588.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3b6accc70a76d37266970a9fea10d5b8_31605137.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/21fdf5dca647f5f760ddf1c1e815f332_69135520.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b8182d94201ae8f67509e041f6e95b57_79466253.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8008bd36bf6df389af26054a34350f32_35518705.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/1c26e080a384f54a49bb20f14eaad42c_91382578.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b8cc1d16171fc46547acf59734416f5c_30272287.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d3c7f3d829f7eaf07dfdebc313a31722_53174639.png change filename to text .imagette212572721741754525/ imagette212572721741754525/1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253245_0.png.png imagette212572721741754525/1741664251_530297_1342815909_9d2ec4965cd2dfffdd2546e2e6eaaa8b_rle_crop_3704253272_0.png.png imagette212572721741754525/1741664247_231879_1342817760_4414bae046ebabd38ccb5ea2491c0fbc_rle_crop_3704253448_0.png.png imagette212572721741754525/1741664712_534313_1342820041_d0eb2243125e14cf4e88e4ba90c2db92_rle_crop_3704260541_0.png.png imagette212572721741754525/1741664734_534641_1342820062_d8812df1d38c86bcb59aa7a577d203b0_rle_crop_3704262052_0.png.png imagette212572721741754525/1741664727_952103_1342819857_76b11bf6db22e0bc63e02fcc2feed72f_rle_crop_3704258693_0.png.png imagette212572721741754525/1741664691_534063_1342820293_9ba4733a3807db5cd76583784842add2_rle_crop_3704258361_0.png.png imagette212572721741754525/1741664462_531935_1342819617_954f5aed8644025f68f164959637d937_rle_crop_3704256702_0.png.png imagette212572721741754525/1741664486_946691_1342819218_db839a8779804a1284280706ffe3085c_rle_crop_3704256900_0.png.png imagette212572721741754525/1741664712_534313_1342820308_df9349ac70f4d40dd604bb46c1162810_rle_crop_3704259207_0.png.png imagette212572721741754525/1741664213_529854_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc_rle_crop_3704251596_0.png.png imagette212572721741754525/1741664213_529854_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc_rle_crop_3704251593_0.png.png imagette212572721741754525/1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253305_0.png.png imagette212572721741754525/1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252161_0.png.png imagette212572721741754525/1741664712_534313_1342819981_bb8715896b4037b6fd35a8f594227d53_rle_crop_3704260552_0.png.png imagette212572721741754525/1741664486_946691_1342819322_8960980714dc62b7731cc5440095b8f1_rle_crop_3704256864_0.png.png imagette212572721741754525/1741664247_231879_1342818550_90b01f0446c5ba8db7255ec4dfba847f_rle_crop_3704253210_0.png.png imagette212572721741754525/1741664734_534641_1342819839_84cd2d2608b05b5d988deb3b790d33a1_rle_crop_3704262126_0.png.png imagette212572721741754525/1741664691_534063_1342820257_a13a60662034befcfdd31dbbfc2a22d0_rle_crop_3704258374_0.png.png imagette212572741741754527/ wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7d60ad2fdbac4b2e541313b7ba7e72b5_85832060.png imagette212572721741754525 21257274 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=21257274 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212572741741754527 21257275 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=21257275 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342820305: '1741664462_531935_1342819617_954f5aed8644025f68f164959637d937_rle_crop_3704256703_0.png', 1342820323: '1741664473_532079_1342819381_3f865922c72e4f6c050d74a3ba7c76ca_rle_crop_3704256774_0.png', 1342820336: '1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256956_0.png', 1342820337: '1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256948_0.png', 1342820667: '1741664691_534063_1342820293_9ba4733a3807db5cd76583784842add2_rle_crop_3704258363_0.png', 1342820668: '1741664691_534063_1342820257_a13a60662034befcfdd31dbbfc2a22d0_rle_crop_3704258373_0.png', 1342820700: '1741664712_534313_1342820308_df9349ac70f4d40dd604bb46c1162810_rle_crop_3704259208_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/08ec75e2d3b6559e1353df9593846411_24736478.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/523d3f92ca4085fc7f033b8c7d741094_32221452.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/5fe2d20cbface765634be3b554941221_73760644.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9017981bc30c3c2076e4e7e29ea758fe_39824759.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b16659bc8f6dc18743a0c02b5c647134_35746206.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/478567f8ab84ce8f6c256aaa5a8bf4f1_34080841.png change filename to text .imagette212572751741754527/ imagette212572751741754527/1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256956_0.png.png imagette212572751741754527/1741664712_534313_1342820308_df9349ac70f4d40dd604bb46c1162810_rle_crop_3704259208_0.png.png imagette212572751741754527/1741664462_531935_1342819617_954f5aed8644025f68f164959637d937_rle_crop_3704256703_0.png.png imagette212572751741754527/1741664691_534063_1342820293_9ba4733a3807db5cd76583784842add2_rle_crop_3704258363_0.png.png imagette212572751741754527/1741664691_534063_1342820257_a13a60662034befcfdd31dbbfc2a22d0_rle_crop_3704258373_0.png.png imagette212572751741754527/1741664473_532079_1342819381_3f865922c72e4f6c050d74a3ba7c76ca_rle_crop_3704256774_0.png.png imagette212572751741754527/1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256948_0.png.png imagette212572771741754528/ imagette212572791741754528/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ddeecb3f7aea5aebd88de852b6844133_71486353.png imagette212572751741754527 21257277 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=21257277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212572771741754528 21257279 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=21257279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212572791741754528 21257280 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=21257280 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342819399: '1741664232_530062_1342818085_200080c9d2635b207690655e9ee4eeb3_rle_crop_3704252142_0.png', 1342820324: '1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256886_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4f862195378c005dd57672529def2cdc_55478877.png change filename to text .imagette212572801741754528/ imagette212572801741754528/1741664232_530062_1342818085_200080c9d2635b207690655e9ee4eeb3_rle_crop_3704252142_0.png.png imagette212572801741754528/1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256886_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/1273a9513196deef6ffdbafe5f40af1a_75027528.png imagette212572801741754528 21257269 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=21257269 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342819504: '1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253246_0.png', 1342819505: '1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253300_0.png', 1342819602: '1741664247_943468_1342817927_02b338bf877a5e9623e517816db3da25_rle_crop_3704253313_0.png', 1342820322: '1741664473_532079_1342819316_1b3abcf20a0a167d06436841cd098ef3_rle_crop_3704256796_0.png', 1342820334: '1741664486_946691_1342819142_0ca978e15059501604c3558ff0cd9138_rle_crop_3704256908_0.png', 1342820699: '1741664712_534313_1342820308_df9349ac70f4d40dd604bb46c1162810_rle_crop_3704259203_0.png', 1342826236: '1741665852_542415_1342825679_12ba9ff9fd4344bda16a0d0f5e3191da_rle_crop_3704296246_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/6e6226798501faeca75a0a2fdece6c47_4604477.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ce69d59f98e8e12e82ca4584375a10e0_80703213.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/98a817214f9d9dd5136e7ed4b972a269_42345648.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c776ee86790022d76c3d80e214158491_5340117.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3bf4c257f771426e28c961437b86c35c_72022679.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ddf36ecb462d56e68dfce9e39bee393b_49931995.png change filename to text .imagette212572691741754529/ imagette212572691741754529/1741664473_532079_1342819316_1b3abcf20a0a167d06436841cd098ef3_rle_crop_3704256796_0.png.png imagette212572691741754529/1741664247_943468_1342817927_02b338bf877a5e9623e517816db3da25_rle_crop_3704253313_0.png.png imagette212572691741754529/1741665852_542415_1342825679_12ba9ff9fd4344bda16a0d0f5e3191da_rle_crop_3704296246_0.png.png imagette212572691741754529/1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253246_0.png.png imagette212572691741754529/1741664712_534313_1342820308_df9349ac70f4d40dd604bb46c1162810_rle_crop_3704259203_0.png.png imagette212572691741754529/1741664486_946691_1342819142_0ca978e15059501604c3558ff0cd9138_rle_crop_3704256908_0.png.png imagette212572691741754529/1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253300_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/f2a3ed51f133c23c42ca9dfcd36d493e_70339462.png imagette212572691741754529 21257273 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=21257273 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342819391: '1741664232_530062_1342818085_200080c9d2635b207690655e9ee4eeb3_rle_crop_3704252139_0.png', 1342819392: '1741664232_530062_1342816656_cb89813e9bda0888c6e8daf3563b75e0_rle_crop_3704252237_0.png', 1342819490: '1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253247_0.png', 1342819491: '1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253241_0.png', 1342819493: '1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253303_0.png', 1342819582: '1741664247_231879_1342817978_da924703c61033b1894427268afd896b_rle_crop_3704253252_0.png', 1342819584: '1741664247_231879_1342817978_da924703c61033b1894427268afd896b_rle_crop_3704253258_0.png', 1342820303: '1741664462_531935_1342819353_a464e0602d5209b842745ea72f55a894_rle_crop_3704256763_0.png', 1342820321: '1741664473_532079_1342819316_1b3abcf20a0a167d06436841cd098ef3_rle_crop_3704256794_0.png', 1342820329: '1741664486_946691_1342819322_8960980714dc62b7731cc5440095b8f1_rle_crop_3704256868_0.png', 1342820330: '1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256946_0.png', 1342820331: '1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256953_0.png', 1342820697: '1741664712_534313_1342819981_bb8715896b4037b6fd35a8f594227d53_rle_crop_3704260557_0.png', 1342820698: '1741664712_534313_1342819939_25b73e686bddc6d32e93cd17c20f88ad_rle_crop_3704260581_0.png', 1342820707: '1741664734_534641_1342820062_d8812df1d38c86bcb59aa7a577d203b0_rle_crop_3704262040_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4d5bf9d788b9b457e5a902aefbb5ebc8_85229602.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/2ff3e9c2f14e5be41c4642207dd07177_17535096.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e03d53dc7de0ac1e9f5336f549a717ad_12426267.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e232cc4775bccb32ac9bcda66a0f9799_85830111.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/21cffa9182bbc816e21943ba853ee568_60751056.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8ea271d5b59c8d6727ed92995612106c_20286075.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/27982351e8039dbfc407b49d7bd29f52_64242694.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/3046d459e8d1fd400dab4b9b00562d2b_78293804.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/cc414e9875297d710689e880934f9aa9_93986910.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/c7c74102bee2bc5e7af259f5125abd98_2518219.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/72c3185cc60357a86f74c1c441a3ff97_50712317.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d2978c3d0ab3f882a3788cf9b1ecca53_19632292.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ea8dd46fdfd18b97cad9bcd4a3cf567f_23399144.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bb15625fe4b8c05c151ed0ea92332807_93845896.png change filename to text .imagette212572731741754529/ imagette212572731741754529/1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256946_0.png.png imagette212572731741754529/1741664232_530062_1342818085_200080c9d2635b207690655e9ee4eeb3_rle_crop_3704252139_0.png.png imagette212572731741754529/1741664734_534641_1342820062_d8812df1d38c86bcb59aa7a577d203b0_rle_crop_3704262040_0.png.png imagette212572731741754529/1741664473_532079_1342819316_1b3abcf20a0a167d06436841cd098ef3_rle_crop_3704256794_0.png.png imagette212572731741754529/1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253247_0.png.png imagette212572731741754529/1741664712_534313_1342819939_25b73e686bddc6d32e93cd17c20f88ad_rle_crop_3704260581_0.png.png imagette212572731741754529/1741664251_530297_1342816957_51c898f820e3178ffbf5fa411a9cd7c5_rle_crop_3704253241_0.png.png imagette212572731741754529/1741664247_231879_1342817978_da924703c61033b1894427268afd896b_rle_crop_3704253252_0.png.png imagette212572731741754529/1741664247_231879_1342817978_da924703c61033b1894427268afd896b_rle_crop_3704253258_0.png.png imagette212572731741754529/1741664486_946691_1342819013_9b120ac9b04a5a452f0a07baab18467d_rle_crop_3704256953_0.png.png imagette212572731741754529/1741664232_530062_1342816656_cb89813e9bda0888c6e8daf3563b75e0_rle_crop_3704252237_0.png.png imagette212572731741754529/1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253303_0.png.png imagette212572731741754529/1741664486_946691_1342819322_8960980714dc62b7731cc5440095b8f1_rle_crop_3704256868_0.png.png imagette212572731741754529/1741664462_531935_1342819353_a464e0602d5209b842745ea72f55a894_rle_crop_3704256763_0.png.png imagette212572731741754529/1741664712_534313_1342819981_bb8715896b4037b6fd35a8f594227d53_rle_crop_3704260557_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e71752222fd9cd1614616e50919fe554_68418011.png imagette212572731741754529 21257278 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=21257278 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342819386: '1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252160_0.png', 1342819387: '1741664232_530062_1342816656_cb89813e9bda0888c6e8daf3563b75e0_rle_crop_3704252240_0.png', 1342819472: '1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253301_0.png', 1342819547: '1741664247_943468_1342817927_02b338bf877a5e9623e517816db3da25_rle_crop_3704253319_0.png', 1342819549: '1741664247_943468_1342817820_359674242fb361a2f4c4c951e2a2862a_rle_crop_3704253343_0.png', 1342819550: '1741664247_943468_1342817760_4414bae046ebabd38ccb5ea2491c0fbc_rle_crop_3704253444_0.png', 1342820295: '1741664462_531935_1342819370_1b2943c439783f1c9328f9c8c2d11d58_rle_crop_3704256746_0.png', 1342820297: '1741664462_531935_1342819353_a464e0602d5209b842745ea72f55a894_rle_crop_3704256759_0.png', 1342820298: '1741664462_531935_1342819353_a464e0602d5209b842745ea72f55a894_rle_crop_3704256758_0.png', 1342820313: '1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256895_0.png', 1342820315: '1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256890_0.png', 1342820316: '1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256891_0.png', 1342820317: '1741664473_532079_1342819308_d0d7f002783b7bd808d9f088e90ec57f_rle_crop_3704256926_0.png', 1342820662: '1741664691_534063_1342820257_a13a60662034befcfdd31dbbfc2a22d0_rle_crop_3704258369_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/b014e80052e031a3694966a28cadf411_82529494.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/35f775f5cfee0e59a70bc28706fbb7ad_90778294.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/bf89c54b30c5d2c45fad8ac7420f8870_29876099.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/62dad615c132aea8328543a380f19762_57089016.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d157d5c65e12b224a547c3abb7babf31_92978847.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/7f13477e99e213596daf49b154495fe8_76453277.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e219eb3f28b0dc6e0d02c8f8381b10e6_48627400.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/889df4a8cb415e7f68adca5bc14660f9_99426893.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/ffe8db06ea03b9a478eb7776cf8e97c6_43405009.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/4d1045ce8edf2e0a934d1bf967bf5ac0_76682721.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/db26461768b82768a588d01898dd4458_84183233.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/8dc4b6131562e065c0d101159fc7f9d5_15738137.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/d02c2713f8b3a256da0ca23b335e3d93_48611840.png change filename to text .imagette212572781741754531/ imagette212572781741754531/1741664247_943468_1342817927_02b338bf877a5e9623e517816db3da25_rle_crop_3704253319_0.png.png imagette212572781741754531/1741664247_943468_1342817760_4414bae046ebabd38ccb5ea2491c0fbc_rle_crop_3704253444_0.png.png imagette212572781741754531/1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256895_0.png.png imagette212572781741754531/1741664462_531935_1342819353_a464e0602d5209b842745ea72f55a894_rle_crop_3704256758_0.png.png imagette212572781741754531/1741664473_532079_1342819308_d0d7f002783b7bd808d9f088e90ec57f_rle_crop_3704256926_0.png.png imagette212572781741754531/1741664232_530062_1342816656_cb89813e9bda0888c6e8daf3563b75e0_rle_crop_3704252240_0.png.png imagette212572781741754531/1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256891_0.png.png imagette212572781741754531/1741664232_530062_1342816825_e58127346c1e9bf211f8904c346930d7_rle_crop_3704252160_0.png.png imagette212572781741754531/1741664473_532079_1342819312_72527c5a48a69cb73d9cf2e3870cb53e_rle_crop_3704256890_0.png.png imagette212572781741754531/1741664251_530297_1342815894_910cfe0e275a27d6dfddca7410341bd4_rle_crop_3704253301_0.png.png imagette212572781741754531/1741664691_534063_1342820257_a13a60662034befcfdd31dbbfc2a22d0_rle_crop_3704258369_0.png.png imagette212572781741754531/1741664462_531935_1342819370_1b2943c439783f1c9328f9c8c2d11d58_rle_crop_3704256746_0.png.png imagette212572781741754531/1741664462_531935_1342819353_a464e0602d5209b842745ea72f55a894_rle_crop_3704256759_0.png.png imagette212572781741754531/1741664247_943468_1342817820_359674242fb361a2f4c4c951e2a2862a_rle_crop_3704253343_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/172b24d8025a9e58e4b9353ebfa616d5_62571629.png imagette212572781741754531 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21257252 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21257281,21257282,21257283,21257284,21257285,21257286,21257287,21257288,21257289,21257290,21257291,21257292?tags=Carton_brun,environnement,cartonnette,autre_refus,Carton_gris,mal_croppe,plastique,papier,flou,Teint_Dans_La_Masse,metal,kraft your option no_mail is active, we will not send the real mail to your client args[1342825679] : ('0.0509679334191812',) no score found for photo 1342825679 We are sending mail with results at report@fotonower.com args[1342820308] : ('0.0509679334191812',) no score found for photo 1342820308 We are sending mail with results at report@fotonower.com args[1342820301] : ('0.0509679334191812',) no score found for photo 1342820301 We are sending mail with results at report@fotonower.com args[1342820293] : ('0.0509679334191812',) no score found for photo 1342820293 We are sending mail with results at report@fotonower.com args[1342820257] : ('0.0509679334191812',) no score found for photo 1342820257 We are sending mail with results at report@fotonower.com args[1342820062] : ('0.0509679334191812',) no score found for photo 1342820062 We are sending mail with results at report@fotonower.com args[1342820041] : ('0.0509679334191812',) no score found for photo 1342820041 We are sending mail with results at report@fotonower.com args[1342819981] : ('0.0509679334191812',) no score found for photo 1342819981 We are sending mail with results at report@fotonower.com args[1342819951] : ('0.0509679334191812',) no score found for photo 1342819951 We are sending mail with results at report@fotonower.com args[1342819939] : ('0.0509679334191812',) no score found for photo 1342819939 We are sending mail with results at report@fotonower.com args[1342819857] : ('0.0509679334191812',) no score found for photo 1342819857 We are sending mail with results at report@fotonower.com args[1342819850] : ('0.0509679334191812',) no score found for photo 1342819850 We are sending mail with results at report@fotonower.com args[1342819844] : ('0.0509679334191812',) no score found for photo 1342819844 We are sending mail with results at report@fotonower.com args[1342819841] : ('0.0509679334191812',) no score found for photo 1342819841 We are sending mail with results at report@fotonower.com args[1342819839] : ('0.0509679334191812',) no score found for photo 1342819839 We are sending mail with results at report@fotonower.com args[1342819617] : ('0.0509679334191812',) no score found for photo 1342819617 We are sending mail with results at report@fotonower.com args[1342819594] : ('0.0509679334191812',) no score found for photo 1342819594 We are sending mail with results at report@fotonower.com args[1342819563] : ('0.0509679334191812',) no score found for photo 1342819563 We are sending mail with results at report@fotonower.com args[1342819381] : ('0.0509679334191812',) no score found for photo 1342819381 We are sending mail with results at report@fotonower.com args[1342819376] : ('0.0509679334191812',) no score found for photo 1342819376 We are sending mail with results at report@fotonower.com args[1342819370] : ('0.0509679334191812',) no score found for photo 1342819370 We are sending mail with results at report@fotonower.com args[1342819353] : ('0.0509679334191812',) no score found for photo 1342819353 We are sending mail with results at report@fotonower.com args[1342819322] : ('0.0509679334191812',) no score found for photo 1342819322 We are sending mail with results at report@fotonower.com args[1342819320] : ('0.0509679334191812',) no score found for photo 1342819320 We are sending mail with results at report@fotonower.com args[1342819316] : ('0.0509679334191812',) no score found for photo 1342819316 We are sending mail with results at report@fotonower.com args[1342819312] : ('0.0509679334191812',) no score found for photo 1342819312 We are sending mail with results at report@fotonower.com args[1342819308] : ('0.0509679334191812',) no score found for photo 1342819308 We are sending mail with results at report@fotonower.com args[1342819258] : ('0.0509679334191812',) no score found for photo 1342819258 We are sending mail with results at report@fotonower.com args[1342819218] : ('0.0509679334191812',) no score found for photo 1342819218 We are sending mail with results at report@fotonower.com args[1342819142] : ('0.0509679334191812',) no score found for photo 1342819142 We are sending mail with results at report@fotonower.com args[1342819089] : ('0.0509679334191812',) no score found for photo 1342819089 We are sending mail with results at report@fotonower.com args[1342819013] : ('0.0509679334191812',) no score found for photo 1342819013 We are sending mail with results at report@fotonower.com args[1342818550] : ('0.0509679334191812',) no score found for photo 1342818550 We are sending mail with results at report@fotonower.com args[1342818463] : ('0.0509679334191812',) no score found for photo 1342818463 We are sending mail with results at report@fotonower.com args[1342818397] : ('0.0509679334191812',) no score found for photo 1342818397 We are sending mail with results at report@fotonower.com args[1342818085] : ('0.0509679334191812',) no score found for photo 1342818085 We are sending mail with results at report@fotonower.com args[1342817978] : ('0.0509679334191812',) no score found for photo 1342817978 We are sending mail with results at report@fotonower.com args[1342817927] : ('0.0509679334191812',) no score found for photo 1342817927 We are sending mail with results at report@fotonower.com args[1342817820] : ('0.0509679334191812',) no score found for photo 1342817820 We are sending mail with results at report@fotonower.com args[1342817760] : ('0.0509679334191812',) no score found for photo 1342817760 We are sending mail with results at report@fotonower.com args[1342816957] : ('0.0509679334191812',) no score found for photo 1342816957 We are sending mail with results at report@fotonower.com args[1342816825] : ('0.0509679334191812',) no score found for photo 1342816825 We are sending mail with results at report@fotonower.com args[1342816656] : ('0.0509679334191812',) no score found for photo 1342816656 We are sending mail with results at report@fotonower.com args[1342816596] : ('0.0509679334191812',) no score found for photo 1342816596 We are sending mail with results at report@fotonower.com args[1342815909] : ('0.0509679334191812',) no score found for photo 1342815909 We are sending mail with results at report@fotonower.com args[1342815894] : ('0.0509679334191812',) no score found for photo 1342815894 We are sending mail with results at report@fotonower.com refus_total : 0.0509679334191812 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=21257252 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'autre_refus' After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21257252]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] map_info['map_portfolio_photo'] : {21257252: [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894]} final : False mtd_id 4302 list_pids : [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] 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, '2660948') ('4302', '21257252', '1342825679', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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', '21257252', '1342825679', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948')] time used for this insertion : 0.018674135208129883 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.89557409286499 time spend to save output : 0.01912379264831543 total time spend for step 4 : 12.914697885513306 step5:split_time_score Wed Mar 12 05:42:16 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 : ['21257252'] 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 : [('21257252',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21257252) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1342820062: {'path': 'temp/1741754523_455500_1342820062_d8812df1d38c86bcb59aa7a577d203b0.jpg', 'extension': 'jpg'}, 1342820257: {'path': 'temp/1741754523_455500_1342820257_a13a60662034befcfdd31dbbfc2a22d0.jpg', 'extension': 'jpg'}, 1342820293: {'path': 'temp/1741754523_455500_1342820293_9ba4733a3807db5cd76583784842add2.jpg', 'extension': 'jpg'}, 1342820301: {'path': 'temp/1741754523_455500_1342820301_cba84013fb8599687aefcfac3711cbd0.jpg', 'extension': 'jpg'}, 1342820308: {'path': 'temp/1741754523_455500_1342820308_df9349ac70f4d40dd604bb46c1162810.jpg', 'extension': 'jpg'}, 1342825679: {'path': 'temp/1741754523_455500_1342825679_12ba9ff9fd4344bda16a0d0f5e3191da.jpg', 'extension': 'jpg'}, 1342819617: {'path': 'temp/1741754523_455500_1342819617_954f5aed8644025f68f164959637d937.jpg', 'extension': 'jpg'}, 1342819839: {'path': 'temp/1741754523_455500_1342819839_84cd2d2608b05b5d988deb3b790d33a1.jpg', 'extension': 'jpg'}, 1342819841: {'path': 'temp/1741754523_455500_1342819841_5946d47703eaaa902b5951fc0fe14b00.jpg', 'extension': 'jpg'}, 1342819844: {'path': 'temp/1741754523_455500_1342819844_23b959e330b39ef52ff5fc5f6a60d5c2.jpg', 'extension': 'jpg'}, 1342819850: {'path': 'temp/1741754523_455500_1342819850_9b2e3548d1d37560118150dd4c06294c.jpg', 'extension': 'jpg'}, 1342819857: {'path': 'temp/1741754523_455500_1342819857_76b11bf6db22e0bc63e02fcc2feed72f.jpg', 'extension': 'jpg'}, 1342819939: {'path': 'temp/1741754523_455500_1342819939_25b73e686bddc6d32e93cd17c20f88ad.jpg', 'extension': 'jpg'}, 1342819951: {'path': 'temp/1741754523_455500_1342819951_df2e3d82af48c33707589ca0d089529c.jpg', 'extension': 'jpg'}, 1342819981: {'path': 'temp/1741754523_455500_1342819981_bb8715896b4037b6fd35a8f594227d53.jpg', 'extension': 'jpg'}, 1342820041: {'path': 'temp/1741754523_455500_1342820041_d0eb2243125e14cf4e88e4ba90c2db92.jpg', 'extension': 'jpg'}, 1342818085: {'path': 'temp/1741754523_455500_1342818085_200080c9d2635b207690655e9ee4eeb3.jpg', 'extension': 'jpg'}, 1342818397: {'path': 'temp/1741754523_455500_1342818397_f3bc0505680c064237bf7798d5f3ce77.jpg', 'extension': 'jpg'}, 1342818463: {'path': 'temp/1741754523_455500_1342818463_af976b3b3c4d5ec7eb71f4b8b832e3cc.jpg', 'extension': 'jpg'}, 1342818550: {'path': 'temp/1741754523_455500_1342818550_90b01f0446c5ba8db7255ec4dfba847f.jpg', 'extension': 'jpg'}, 1342819013: {'path': 'temp/1741754523_455500_1342819013_9b120ac9b04a5a452f0a07baab18467d.jpg', 'extension': 'jpg'}, 1342819089: {'path': 'temp/1741754523_455500_1342819089_9807d5c67a66cc532c258605b720dffc.jpg', 'extension': 'jpg'}, 1342819142: {'path': 'temp/1741754523_455500_1342819142_0ca978e15059501604c3558ff0cd9138.jpg', 'extension': 'jpg'}, 1342819218: {'path': 'temp/1741754523_455500_1342819218_db839a8779804a1284280706ffe3085c.jpg', 'extension': 'jpg'}, 1342819258: {'path': 'temp/1741754523_455500_1342819258_5eda8994ce3d7621b1112366ccf27464.jpg', 'extension': 'jpg'}, 1342819308: {'path': 'temp/1741754523_455500_1342819308_d0d7f002783b7bd808d9f088e90ec57f.jpg', 'extension': 'jpg'}, 1342815894: {'path': 'temp/1741754523_455500_1342815894_910cfe0e275a27d6dfddca7410341bd4.jpg', 'extension': 'jpg'}, 1342815909: {'path': 'temp/1741754523_455500_1342815909_9d2ec4965cd2dfffdd2546e2e6eaaa8b.jpg', 'extension': 'jpg'}, 1342816596: {'path': 'temp/1741754523_455500_1342816596_77fe2a407f0d713769f7dde8653b8684.jpg', 'extension': 'jpg'}, 1342816656: {'path': 'temp/1741754523_455500_1342816656_cb89813e9bda0888c6e8daf3563b75e0.jpg', 'extension': 'jpg'}, 1342816825: {'path': 'temp/1741754523_455500_1342816825_e58127346c1e9bf211f8904c346930d7.jpg', 'extension': 'jpg'}, 1342816957: {'path': 'temp/1741754523_455500_1342816957_51c898f820e3178ffbf5fa411a9cd7c5.jpg', 'extension': 'jpg'}, 1342817760: {'path': 'temp/1741754523_455500_1342817760_4414bae046ebabd38ccb5ea2491c0fbc.jpg', 'extension': 'jpg'}, 1342817820: {'path': 'temp/1741754523_455500_1342817820_359674242fb361a2f4c4c951e2a2862a.jpg', 'extension': 'jpg'}, 1342817927: {'path': 'temp/1741754523_455500_1342817927_02b338bf877a5e9623e517816db3da25.jpg', 'extension': 'jpg'}, 1342817978: {'path': 'temp/1741754523_455500_1342817978_da924703c61033b1894427268afd896b.jpg', 'extension': 'jpg'}, 1342819312: {'path': 'temp/1741754523_455500_1342819312_72527c5a48a69cb73d9cf2e3870cb53e.jpg', 'extension': 'jpg'}, 1342819316: {'path': 'temp/1741754523_455500_1342819316_1b3abcf20a0a167d06436841cd098ef3.jpg', 'extension': 'jpg'}, 1342819320: {'path': 'temp/1741754523_455500_1342819320_081af5b11c22f1dd2dc3f8e5ab2956ac.jpg', 'extension': 'jpg'}, 1342819322: {'path': 'temp/1741754523_455500_1342819322_8960980714dc62b7731cc5440095b8f1.jpg', 'extension': 'jpg'}, 1342819353: {'path': 'temp/1741754523_455500_1342819353_a464e0602d5209b842745ea72f55a894.jpg', 'extension': 'jpg'}, 1342819370: {'path': 'temp/1741754523_455500_1342819370_1b2943c439783f1c9328f9c8c2d11d58.jpg', 'extension': 'jpg'}, 1342819376: {'path': 'temp/1741754523_455500_1342819376_b8e50363dd8bb610f1226208a2bb42c6.jpg', 'extension': 'jpg'}, 1342819381: {'path': 'temp/1741754523_455500_1342819381_3f865922c72e4f6c050d74a3ba7c76ca.jpg', 'extension': 'jpg'}, 1342819563: {'path': 'temp/1741754523_455500_1342819563_3ed0df34a2ea4333ef40497fa25ea8df.jpg', 'extension': 'jpg'}, 1342819594: {'path': 'temp/1741754523_455500_1342819594_d83172cc8b922ff1f0e139a8062878d0.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 = 21257252; (('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 = 21257252 group by h (('04', 46),) 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=21257252 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 (21257252) 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 (21257252) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21257252 Nombre de photos uploadées : 46 / 23040 (0%) 11032025 21257252 Nombre de photos taguées (types de déchets): 0 / 46 (0%) 11032025 21257252 Nombre de photos taguées (volume) : 0 / 46 (0%) [{'photo_id': 1342815909, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/9d2ec4965cd2dfffdd2546e2e6eaaa8b.jpg', 'username': None, 'uploaded_at': 1741663897, 'text': 'image_11032025_04_30_14_010134m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342815894, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/910cfe0e275a27d6dfddca7410341bd4.jpg', 'username': None, 'uploaded_at': 1741663897, 'text': 'image_11032025_04_30_24_009124m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342816957, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/51c898f820e3178ffbf5fa411a9cd7c5.jpg', 'username': None, 'uploaded_at': 1741663957, 'text': 'image_11032025_04_30_44_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342816825, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/11/e58127346c1e9bf211f8904c346930d7.jpg', 'username': None, 'uploaded_at': 1741663957, 'text': 'image_11032025_04_31_04_010143m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002105712890625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21257252, '2025-03-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1656727,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023990631103515625 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= 1656727 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21249450, 'dashboard_result_id': 9379289, '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_P21249450_11-03-2025_01_50_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249463, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21249839, 'dashboard_result_id': 9379290, '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_P21249839_12-03-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249864, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21250319, 'dashboard_result_id': 9379291, '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_P21250319_11-03-2025_02_20_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21250338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21250348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250349, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21250930, 'dashboard_result_id': 9379292, '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_P21250930_11-03-2025_02_33_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21250949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21250955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250960, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21251739, 'dashboard_result_id': 9379293, '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_P21251739_11-03-2025_02_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21251743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21251744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21251745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21251746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21251747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21251748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21251749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21251750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21251751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21251752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21251753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21251754, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21252370, 'dashboard_result_id': 9379294, '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_P21252370_12-03-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21252395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21252396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21252397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21252398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21252399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21252400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21252401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21252402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21252403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21252404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21252405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21252406, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21253064, 'dashboard_result_id': 9379295, '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_P21253064_12-03-2025_05_39_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21253096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253100, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21253689, 'dashboard_result_id': 9379296, '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_P21253689_12-03-2025_05_40_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21253694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253705, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21254485, 'dashboard_result_id': 9379297, '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_P21254485_12-03-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21254514, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21254515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21254516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21254517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21254518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21254519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21254520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21254521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21254522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21254523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21254524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21254525, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21255240, 'dashboard_result_id': 9379298, '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_P21255240_11-03-2025_04_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21255242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255252, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21255924, 'dashboard_result_id': 9379299, '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_P21255924_12-03-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21255941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255952, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21256458, 'dashboard_result_id': 9379300, '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_P21256458_12-03-2025_05_41_42.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21256508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21256509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21256510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21256511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21256512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21256513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21256514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21256515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21256516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21256517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21256518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21256519, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21257252, 'dashboard_result_id': 9379301, '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_P21257252_11-03-2025_05_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21257269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21257270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21257271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21257272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21257273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21257274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21257275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21257276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21257277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21257278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21257279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21257280, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21258215, 'dashboard_result_id': 9379302, '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_P21258215_11-03-2025_05_51_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21258220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258227, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21258639, 'dashboard_result_id': 9379303, '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_P21258639_11-03-2025_05_52_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21258642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258653, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21259275, 'dashboard_result_id': 9379304, '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_P21259275_11-03-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259289, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21259792, 'dashboard_result_id': 9379305, '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_P21259792_11-03-2025_06_01_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259816, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21260558, 'dashboard_result_id': 9379306, '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_P21260558_11-03-2025_06_18_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21260569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21260570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21260571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21260572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21260573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21260574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21260575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21260576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21260577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21260578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21260579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21260580, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21261291, 'dashboard_result_id': 9379307, '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_P21261291_11-03-2025_06_33_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21261293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21261294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21261295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21261296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21261297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21261298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21261300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21261301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21261302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21261303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21261304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21261305, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21261988, 'dashboard_result_id': 9379308, '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_P21261988_11-03-2025_06_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262038, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21262483, 'dashboard_result_id': 9379309, '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_P21262483_11-03-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262507, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21263155, 'dashboard_result_id': 9379310, '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_P21263155_11-03-2025_07_21_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21263186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263197, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21263614, 'dashboard_result_id': 9379311, '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_P21263614_11-03-2025_07_36_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21263698, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21264563, 'dashboard_result_id': 9379312, '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_P21264563_11-03-2025_07_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21264567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21264568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21264569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21264570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21264572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21264573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21264574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21264576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21264577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21264578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21264580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21264581, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21265070, 'dashboard_result_id': 9379313, '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_P21265070_11-03-2025_08_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21265132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265142, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21265740, 'dashboard_result_id': 9379314, '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_P21265740_11-03-2025_08_20_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21265765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265776, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21266677, 'dashboard_result_id': 9379315, '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_P21266677_11-03-2025_08_33_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21266680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21266681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21266682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21266683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21266684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21266685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21266686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21266687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21266688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21266689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21266690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21266691, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21267494, 'dashboard_result_id': 9379316, '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_P21267494_11-03-2025_08_50_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21267519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21267520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21267521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21267522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21267523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21267524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21267525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21267526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21267527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21267528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21267529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21267530, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21268290, 'dashboard_result_id': 9379317, '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_P21268290_11-03-2025_09_05_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21268340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21268341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21268343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21268345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21268346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21268347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21268348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21268349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21268351, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21270987, 'dashboard_result_id': 9379318, '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_P21270987_11-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21270988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21270989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21270990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21270991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21270992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21270993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21270994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21270995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21270996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21270997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21270998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21270999, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21271484, 'dashboard_result_id': 9379319, '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_P21271484_11-03-2025_09_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21271517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21271518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21271519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21271520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21271521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21271522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21271523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21271524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21271525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21271526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21271527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21271528, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21272434, 'dashboard_result_id': 9379320, '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_P21272434_11-03-2025_10_38_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21272495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21272496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21272497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21272498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21272499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21272500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21272501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21272502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21272503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21272504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21272505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21272506, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21274348, 'dashboard_result_id': 9379321, '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_P21274348_11-03-2025_10_48_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274370, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21274952, 'dashboard_result_id': 9379322, '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_P21274952_11-03-2025_11_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274992, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21275965, 'dashboard_result_id': 9379323, '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_P21275965_11-03-2025_11_25_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21275966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21275967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21275968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21275969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21275970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21275971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21275972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21275973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21275974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21275975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21275976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21275977, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21277375, 'dashboard_result_id': 9379324, '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_P21277375_11-03-2025_11_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277389, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21277828, 'dashboard_result_id': 9379325, '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_P21277828_11-03-2025_11_48_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277858, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21279043, 'dashboard_result_id': 9379326, '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_P21279043_11-03-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21279073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21279074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21279075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21279076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21279077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21279078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21279079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21279080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21279081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21279082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21279083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21279084, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21280201, 'dashboard_result_id': 9379327, '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_P21280201_11-03-2025_12_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21280284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21280285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21280286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21280287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21280288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21280289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21280290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21280291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21280292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21280293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21280294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21280295, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21281654, 'dashboard_result_id': 9379328, '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_P21281654_11-03-2025_12_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21281724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21281725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21281726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21281727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21281728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21281729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21281730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21281731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21281732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21281733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21281734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21281735, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21282447, 'dashboard_result_id': 9379329, '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_P21282447_11-03-2025_12_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21282448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21282449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21282450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21282451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21282452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21282453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21282454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21282455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21282456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21282457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21282458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21282459, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21284381, 'dashboard_result_id': 9379330, '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_P21284381_11-03-2025_13_21_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21284398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21284399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21284400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21284401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21284402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21284403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21284404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21284405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21284406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21284407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21284408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21284409, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21285026, 'dashboard_result_id': 9379331, '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_P21285026_11-03-2025_13_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285086, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21285881, 'dashboard_result_id': 9379332, '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_P21285881_11-03-2025_13_50_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285895, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21286522, 'dashboard_result_id': 9379333, '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_P21286522_11-03-2025_14_07_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21286536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21286537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21286538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21286539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21286540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21286541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21286542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21286543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21286544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21286545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21286546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21286547, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21287307, 'dashboard_result_id': 9379334, '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_P21287307_11-03-2025_14_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21287345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21287346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21287347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21287348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21287349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21287350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21287351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21287352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21287353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21287354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21287355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21287356, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21288100, 'dashboard_result_id': 9379335, '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_P21288100_11-03-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21288189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288197, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21288922, 'dashboard_result_id': 9379336, '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_P21288922_11-03-2025_14_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21288935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288946, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21289999, 'dashboard_result_id': 9379337, '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_P21289999_11-03-2025_15_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290065, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21290771, 'dashboard_result_id': 9379338, '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_P21290771_11-03-2025_15_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290843, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21291523, 'dashboard_result_id': 9379339, '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_P21291523_11-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21291656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21291657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21291658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21291659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21291660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21291661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21291662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21291663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21291664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21291665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21291666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21291667, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21292609, 'dashboard_result_id': 9379340, '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_P21292609_11-03-2025_15_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21292622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21292623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21292624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21292625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21292626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21292627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21292628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21292629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21292630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21292631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21292632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21292633, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21293205, 'dashboard_result_id': 9379341, '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_P21293205_11-03-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21293252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21293253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21293254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21293255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21293256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21293257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21293258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21293259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21293260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21293261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21293262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21293263, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21294338, 'dashboard_result_id': 9379342, '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_P21294338_11-03-2025_16_18_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21294339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21294340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21294341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21294342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21294343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21294344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21294345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21294346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21294347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21294348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21294349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21294350, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21295180, 'dashboard_result_id': 9379343, '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_P21295180_11-03-2025_16_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21295234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21295235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21295237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21295238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21295239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21295241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21295242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21295243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21295245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21295246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21295247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21295249, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21296139, 'dashboard_result_id': 9379344, '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_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21296935, 'dashboard_result_id': 9379345, '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_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21297690, 'dashboard_result_id': 9379346, '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_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21298566, 'dashboard_result_id': 9379347, '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_P21298566_11-03-2025_17_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21300323, 'dashboard_result_id': 9379348, '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_P21300323_11-03-2025_18_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21300348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300359, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21300708, 'dashboard_result_id': 9379349, '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_P21300708_11-03-2025_18_19_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21300752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300760, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21301375, 'dashboard_result_id': 9379350, '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_P21301375_11-03-2025_18_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21301386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21301387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21301388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21301389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21301390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21301391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21301392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21301393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21301394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21301395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21301396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21301397, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21302206, 'dashboard_result_id': 9379351, '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_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21303075, 'dashboard_result_id': 9379352, '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_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21304387, 'dashboard_result_id': 9379353, '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_P21304387_11-03-2025_19_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21305160, 'dashboard_result_id': 9379354, '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_P21305160_11-03-2025_19_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21305185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21305186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21305187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21305188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21305189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21305190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21305191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21305192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21305193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21305194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21305195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21305196, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21305972, 'dashboard_result_id': 9379355, '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_P21305972_11-03-2025_20_05_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306034, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21306716, 'dashboard_result_id': 9379356, '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_P21306716_11-03-2025_20_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306764, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21307713, 'dashboard_result_id': 9379357, '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_P21307713_11-03-2025_20_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21307768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21307769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21307770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21307771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21307772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21307773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21307774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21307775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21307776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21307777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21307778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21307779, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21308578, 'dashboard_result_id': 9379358, '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_P21308578_11-03-2025_21_06_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21308651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21308652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21308653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21308654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21308655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21308656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21308657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21308658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21308659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21308660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21308661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21308662, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21310213, 'dashboard_result_id': 9379359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21310476, 'dashboard_result_id': 9379360, '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_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21310997, 'dashboard_result_id': 9379361, '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_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21311536, 'dashboard_result_id': 9379362, '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_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21312012, 'dashboard_result_id': 9379363, '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_P21312012_11-03-2025_22_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21312136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21312137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21312138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21312139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21312140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21312141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21312142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21312143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21312144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21312145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21312146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21312147, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21313136, 'dashboard_result_id': 9379364, '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_P21313136_11-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21313212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21313213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21313214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21313215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21313216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21313217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21313218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21313219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21313220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21313221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21313222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21313223, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21314183, 'dashboard_result_id': 9379365, '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_P21314183_11-03-2025_22_38_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21314189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21314190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21314191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21314192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21314193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21314194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21314195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21314196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21314197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21314198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21314199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21314200, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21315548, 'dashboard_result_id': 9379366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21315564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21315565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21315566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21315567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21315568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21315569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21315570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21315571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21315572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21315573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21315574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21315575, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21316639, 'dashboard_result_id': 9379367, '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_P21316639_12-03-2025_00_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21316691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21316692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21316693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21316694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21316695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21316696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21316697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21316698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21316699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21316700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21316701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21316702, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21317594, 'dashboard_result_id': 9379368, '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_P21317594_11-03-2025_23_20_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21317641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21317642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21317644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21317645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21317647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21317648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21317649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21317651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21317652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21317653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21317655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21317656, 'pht': 3726}}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21318640, 'dashboard_result_id': 9379369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21318643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21318644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21318645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21318646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21318647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21318648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21318649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21318650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21318651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21318652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21318653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21318654, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1656727, 'dashboard_run_id': 1669067, 'mtr_portfolio_id': 21319051, 'dashboard_result_id': 9379370, '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_P21319051_12-03-2025_00_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21319052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21319053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21319054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21319055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21319056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21319057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21319058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21319059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21319060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21319061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21319062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21319063, '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 = 21249450 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': 2660936, 'mtr_portfolio_id': 21249450, 'created_at': datetime.datetime(2025, 3, 12, 5, 34, 33), 'result': '0.11352422924626834', 'result_long': None, 'result_double': None}] Qualite : 0.11352422924626834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21249450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249450_11-03-2025_01_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21249450 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_P21249450_11-03-2025_01_50_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249463, 'pht': 3726}}" where mtr_portfolio_id = 21249450 and dashboard_run_id = 1669067 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`=21249450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379289, 0.11352422924626834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249450_11-03-2025_01_50_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249457, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249463, '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 = 21249839 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': 2660937, 'mtr_portfolio_id': 21249839, 'created_at': datetime.datetime(2025, 3, 12, 5, 35, 58), 'result': '0.054023532245917466', 'result_long': None, 'result_double': None}] Qualite : 0.054023532245917466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21249839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249839_12-03-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21249839 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_P21249839_12-03-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249864, 'pht': 3726}}" where mtr_portfolio_id = 21249839 and dashboard_run_id = 1669067 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`=21249839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379290, 0.054023532245917466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21249839_12-03-2025_05_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21249853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21249854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21249855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21249856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21249857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21249858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21249859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21249860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21249861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21249862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21249863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21249864, '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 = 21250319 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': 2660938, 'mtr_portfolio_id': 21250319, 'created_at': datetime.datetime(2025, 3, 12, 5, 36, 35), 'result': '0.06579669098745708', 'result_long': None, 'result_double': None}] Qualite : 0.06579669098745708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21250319 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250319_11-03-2025_02_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21250319 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_P21250319_11-03-2025_02_20_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21250338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21250348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250349, 'pht': 3726}}" where mtr_portfolio_id = 21250319 and dashboard_run_id = 1669067 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`=21250319 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379291, 0.06579669098745708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250319_11-03-2025_02_20_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21250338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21250348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250349, '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 = 21250930 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': 2660939, 'mtr_portfolio_id': 21250930, 'created_at': datetime.datetime(2025, 3, 12, 5, 38, 4), 'result': '0.08017683520666881', 'result_long': None, 'result_double': None}] Qualite : 0.08017683520666881 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21250930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250930_11-03-2025_02_33_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21250930 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_P21250930_11-03-2025_02_33_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21250949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21250955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250960, 'pht': 3726}}" where mtr_portfolio_id = 21250930 and dashboard_run_id = 1669067 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`=21250930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379292, 0.08017683520666881, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21250930_11-03-2025_02_33_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21250949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21250950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21250951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21250952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21250953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21250954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21250955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21250956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21250957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21250958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21250959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21250960, '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 = 21251739 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': 2660940, 'mtr_portfolio_id': 21251739, 'created_at': datetime.datetime(2025, 3, 12, 5, 38, 27), 'result': '0.07086150235187742', 'result_long': None, 'result_double': None}] Qualite : 0.07086150235187742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21251739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21251739_11-03-2025_02_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21251739 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_P21251739_11-03-2025_02_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21251743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21251744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21251745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21251746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21251747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21251748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21251749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21251750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21251751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21251752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21251753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21251754, 'pht': 3726}}" where mtr_portfolio_id = 21251739 and dashboard_run_id = 1669067 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`=21251739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379293, 0.07086150235187742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21251739_11-03-2025_02_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21251743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21251744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21251745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21251746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21251747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21251748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21251749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21251750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21251751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21251752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21251753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21251754, '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 = 21252370 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': 2660941, 'mtr_portfolio_id': 21252370, 'created_at': datetime.datetime(2025, 3, 12, 5, 38, 58), 'result': '0.057859920493014805', 'result_long': None, 'result_double': None}] Qualite : 0.057859920493014805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21252370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21252370_12-03-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21252370 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_P21252370_12-03-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21252395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21252396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21252397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21252398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21252399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21252400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21252401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21252402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21252403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21252404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21252405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21252406, 'pht': 3726}}" where mtr_portfolio_id = 21252370 and dashboard_run_id = 1669067 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`=21252370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379294, 0.057859920493014805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21252370_12-03-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21252395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21252396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21252397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21252398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21252399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21252400, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21252401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21252402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21252403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21252404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21252405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21252406, '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 = 21253064 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': 2660942, 'mtr_portfolio_id': 21253064, 'created_at': datetime.datetime(2025, 3, 12, 5, 39, 33), 'result': '0.07061955142307048', 'result_long': None, 'result_double': None}] Qualite : 0.07061955142307048 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21253064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253064_12-03-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21253064 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_P21253064_12-03-2025_05_39_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21253096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253100, 'pht': 3726}}" where mtr_portfolio_id = 21253064 and dashboard_run_id = 1669067 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`=21253064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379295, 0.07061955142307048, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253064_12-03-2025_05_39_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21253096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253100, '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 = 21253689 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': 2660943, 'mtr_portfolio_id': 21253689, 'created_at': datetime.datetime(2025, 3, 12, 5, 40, 33), 'result': '0.08172710708253195', 'result_long': None, 'result_double': None}] Qualite : 0.08172710708253195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21253689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253689_12-03-2025_05_40_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21253689 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_P21253689_12-03-2025_05_40_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21253694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253705, 'pht': 3726}}" where mtr_portfolio_id = 21253689 and dashboard_run_id = 1669067 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`=21253689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379296, 0.08172710708253195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21253689_12-03-2025_05_40_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21253694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21253695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21253696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21253697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21253698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21253699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21253700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21253701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21253702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21253703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21253704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21253705, '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 = 21254485 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': 2660944, 'mtr_portfolio_id': 21254485, 'created_at': datetime.datetime(2025, 3, 12, 5, 40, 36), 'result': '0.06524138466275414', 'result_long': None, 'result_double': None}] Qualite : 0.06524138466275414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21254485 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21254485_12-03-2025_05_40_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21254485 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_P21254485_12-03-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21254514, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21254515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21254516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21254517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21254518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21254519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21254520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21254521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21254522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21254523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21254524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21254525, 'pht': 3726}}" where mtr_portfolio_id = 21254485 and dashboard_run_id = 1669067 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`=21254485 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379297, 0.06524138466275414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21254485_12-03-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21254514, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21254515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21254516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21254517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21254518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21254519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21254520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21254521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21254522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21254523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21254524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21254525, '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 = 21255240 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': 2660945, 'mtr_portfolio_id': 21255240, 'created_at': datetime.datetime(2025, 3, 12, 5, 41, 3), 'result': '0.06724219416581088', 'result_long': None, 'result_double': None}] Qualite : 0.06724219416581088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21255240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255240_11-03-2025_04_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21255240 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_P21255240_11-03-2025_04_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21255242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255252, 'pht': 3726}}" where mtr_portfolio_id = 21255240 and dashboard_run_id = 1669067 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`=21255240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379298, 0.06724219416581088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255240_11-03-2025_04_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21255242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255252, '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 = 21255924 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': 2660946, 'mtr_portfolio_id': 21255924, 'created_at': datetime.datetime(2025, 3, 12, 5, 41, 32), 'result': '0.06922140088110597', 'result_long': None, 'result_double': None}] Qualite : 0.06922140088110597 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21255924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255924_12-03-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21255924 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_P21255924_12-03-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21255941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255952, 'pht': 3726}}" where mtr_portfolio_id = 21255924 and dashboard_run_id = 1669067 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`=21255924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379299, 0.06922140088110597, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21255924_12-03-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21255941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21255942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21255943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21255944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21255945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21255946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21255947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21255948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21255949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21255950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21255951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21255952, '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 = 21256458 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': 2660947, 'mtr_portfolio_id': 21256458, 'created_at': datetime.datetime(2025, 3, 12, 5, 41, 38), 'result': '0.07184985529577313', 'result_long': None, 'result_double': None}] Qualite : 0.07184985529577313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21256458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21256458_12-03-2025_05_41_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21256458 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_P21256458_12-03-2025_05_41_42.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21256508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21256509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21256510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21256511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21256512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21256513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21256514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21256515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21256516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21256517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21256518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21256519, 'pht': 3726}}" where mtr_portfolio_id = 21256458 and dashboard_run_id = 1669067 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`=21256458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379300, 0.07184985529577313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21256458_12-03-2025_05_41_42.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21256508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21256509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21256510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21256511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21256512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21256513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21256514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21256515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21256516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21256517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21256518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21256519, '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 = 21257252 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': 2660948, 'mtr_portfolio_id': 21257252, 'created_at': datetime.datetime(2025, 3, 12, 5, 42, 2), 'result': '0.0509679334191812', 'result_long': None, 'result_double': None}] Qualite : 0.0509679334191812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21257252 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21257252_11-03-2025_05_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21257252 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_P21257252_11-03-2025_05_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21257269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21257270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21257271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21257272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21257273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21257274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21257275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21257276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21257277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21257278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21257279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21257280, 'pht': 3726}}" where mtr_portfolio_id = 21257252 and dashboard_run_id = 1669067 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`=21257252 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379301, 0.0509679334191812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21257252_11-03-2025_05_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21257269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21257270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21257271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21257272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21257273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21257274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21257275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21257276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21257277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21257278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21257279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21257280, '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 = 21258215 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': 2656771, 'mtr_portfolio_id': 21258215, 'created_at': datetime.datetime(2025, 3, 11, 5, 51, 28), 'result': '0.06274845492690631', 'result_long': None, 'result_double': None}] Qualite : 0.06274845492690631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21258215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258215_11-03-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21258215 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_P21258215_11-03-2025_05_51_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21258220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258227, 'pht': 3726}}" where mtr_portfolio_id = 21258215 and dashboard_run_id = 1669067 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`=21258215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379302, 0.06274845492690631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258215_11-03-2025_05_51_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21258220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258227, '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 = 21258639 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': 2656772, 'mtr_portfolio_id': 21258639, 'created_at': datetime.datetime(2025, 3, 11, 5, 52, 35), 'result': '0.06102000110689618', 'result_long': None, 'result_double': None}] Qualite : 0.06102000110689618 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21258639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258639_11-03-2025_05_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21258639 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_P21258639_11-03-2025_05_52_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21258642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258653, 'pht': 3726}}" where mtr_portfolio_id = 21258639 and dashboard_run_id = 1669067 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`=21258639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379303, 0.06102000110689618, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21258639_11-03-2025_05_52_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21258642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21258643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21258644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21258645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21258646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21258647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21258648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21258649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21258650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21258651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21258652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21258653, '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 = 21259275 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': 2656775, 'mtr_portfolio_id': 21259275, 'created_at': datetime.datetime(2025, 3, 11, 5, 49, 31), 'result': '0.06366760695809574', 'result_long': None, 'result_double': None}] Qualite : 0.06366760695809574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21259275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259275_11-03-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21259275 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_P21259275_11-03-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259289, 'pht': 3726}}" where mtr_portfolio_id = 21259275 and dashboard_run_id = 1669067 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`=21259275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379304, 0.06366760695809574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259275_11-03-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259289, '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 = 21259792 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': 2656805, 'mtr_portfolio_id': 21259792, 'created_at': datetime.datetime(2025, 3, 11, 6, 1, 2), 'result': '0.06982437013958794', 'result_long': None, 'result_double': None}] Qualite : 0.06982437013958794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21259792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259792_11-03-2025_06_01_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21259792 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_P21259792_11-03-2025_06_01_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259816, 'pht': 3726}}" where mtr_portfolio_id = 21259792 and dashboard_run_id = 1669067 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`=21259792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379305, 0.06982437013958794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21259792_11-03-2025_06_01_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21259805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21259806, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21259807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21259808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21259809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21259810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21259811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21259812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21259813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21259814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21259815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21259816, '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 = 21260558 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': 2656851, 'mtr_portfolio_id': 21260558, 'created_at': datetime.datetime(2025, 3, 11, 6, 18, 1), 'result': '0.07244321788213307', 'result_long': None, 'result_double': None}] Qualite : 0.07244321788213307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21260558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21260558_11-03-2025_06_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21260558 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_P21260558_11-03-2025_06_18_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21260569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21260570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21260571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21260572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21260573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21260574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21260575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21260576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21260577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21260578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21260579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21260580, 'pht': 3726}}" where mtr_portfolio_id = 21260558 and dashboard_run_id = 1669067 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`=21260558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379306, 0.07244321788213307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21260558_11-03-2025_06_18_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21260569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21260570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21260571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21260572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21260573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21260574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21260575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21260576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21260577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21260578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21260579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21260580, '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 = 21261291 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': 2656883, 'mtr_portfolio_id': 21261291, 'created_at': datetime.datetime(2025, 3, 11, 6, 33, 28), 'result': '0.0656515455423969', 'result_long': None, 'result_double': None}] Qualite : 0.0656515455423969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21261291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261291_11-03-2025_06_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21261291 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_P21261291_11-03-2025_06_33_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21261293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21261294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21261295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21261296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21261297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21261298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21261300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21261301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21261302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21261303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21261304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21261305, 'pht': 3726}}" where mtr_portfolio_id = 21261291 and dashboard_run_id = 1669067 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`=21261291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379307, 0.0656515455423969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261291_11-03-2025_06_33_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21261293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21261294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21261295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21261296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21261297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21261298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21261300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21261301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21261302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21261303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21261304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21261305, '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 = 21261988 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': 2656925, 'mtr_portfolio_id': 21261988, 'created_at': datetime.datetime(2025, 3, 11, 6, 48, 2), 'result': '0.0760230747811503', 'result_long': None, 'result_double': None}] Qualite : 0.0760230747811503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21261988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261988_11-03-2025_06_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21261988 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_P21261988_11-03-2025_06_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262038, 'pht': 3726}}" where mtr_portfolio_id = 21261988 and dashboard_run_id = 1669067 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`=21261988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379308, 0.0760230747811503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21261988_11-03-2025_06_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262038, '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 = 21262483 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': 2656951, 'mtr_portfolio_id': 21262483, 'created_at': datetime.datetime(2025, 3, 11, 7, 2, 59), 'result': '0.0714707297654109', 'result_long': None, 'result_double': None}] Qualite : 0.0714707297654109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21262483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21262483_11-03-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21262483 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_P21262483_11-03-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262507, 'pht': 3726}}" where mtr_portfolio_id = 21262483 and dashboard_run_id = 1669067 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`=21262483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379309, 0.0714707297654109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21262483_11-03-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21262486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21262488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21262490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21262492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21262494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21262496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21262499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21262501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21262503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21262505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21262506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21262507, '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 = 21263155 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': 2657043, 'mtr_portfolio_id': 21263155, 'created_at': datetime.datetime(2025, 3, 11, 7, 21, 2), 'result': '0.06302682993954607', 'result_long': None, 'result_double': None}] Qualite : 0.06302682993954607 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21263155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263155_11-03-2025_07_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21263155 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_P21263155_11-03-2025_07_21_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21263186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263197, 'pht': 3726}}" where mtr_portfolio_id = 21263155 and dashboard_run_id = 1669067 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`=21263155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379310, 0.06302682993954607, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263155_11-03-2025_07_21_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21263186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263197, '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 = 21263614 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': 2657070, 'mtr_portfolio_id': 21263614, 'created_at': datetime.datetime(2025, 3, 11, 7, 36, 4), 'result': '0.06348575130866749', 'result_long': None, 'result_double': None}] Qualite : 0.06348575130866749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21263614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263614_11-03-2025_07_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21263614 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_P21263614_11-03-2025_07_36_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21263698, 'pht': 3726}}" where mtr_portfolio_id = 21263614 and dashboard_run_id = 1669067 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`=21263614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379311, 0.06348575130866749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263614_11-03-2025_07_36_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21263687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21263688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21263689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21263690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21263691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21263692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21263693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21263694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21263695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21263696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21263697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21263698, '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 = 21264563 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': 2657118, 'mtr_portfolio_id': 21264563, 'created_at': datetime.datetime(2025, 3, 11, 7, 48, 57), 'result': '0.06681431948921272', 'result_long': None, 'result_double': None}] Qualite : 0.06681431948921272 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21264563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264563_11-03-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21264563 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_P21264563_11-03-2025_07_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21264567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21264568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21264569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21264570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21264572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21264573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21264574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21264576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21264577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21264578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21264580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21264581, 'pht': 3726}}" where mtr_portfolio_id = 21264563 and dashboard_run_id = 1669067 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`=21264563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379312, 0.06681431948921272, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264563_11-03-2025_07_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21264567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21264568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21264569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21264570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21264572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21264573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21264574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21264576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21264577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21264578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21264580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21264581, '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 = 21265070 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': 2657149, 'mtr_portfolio_id': 21265070, 'created_at': datetime.datetime(2025, 3, 11, 8, 3, 1), 'result': '0.05667686782855531', 'result_long': None, 'result_double': None}] Qualite : 0.05667686782855531 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21265070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265070_11-03-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21265070 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_P21265070_11-03-2025_08_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21265132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265142, 'pht': 3726}}" where mtr_portfolio_id = 21265070 and dashboard_run_id = 1669067 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`=21265070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379313, 0.05667686782855531, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265070_11-03-2025_08_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21265132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265142, '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 = 21265740 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': 2657206, 'mtr_portfolio_id': 21265740, 'created_at': datetime.datetime(2025, 3, 11, 8, 20), 'result': '0.059354371774589625', 'result_long': None, 'result_double': None}] Qualite : 0.059354371774589625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21265740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265740_11-03-2025_08_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21265740 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_P21265740_11-03-2025_08_20_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21265765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265776, 'pht': 3726}}" where mtr_portfolio_id = 21265740 and dashboard_run_id = 1669067 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`=21265740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379314, 0.059354371774589625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21265740_11-03-2025_08_20_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21265765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21265766, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21265767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21265768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21265769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21265770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21265771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21265772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21265773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21265774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21265775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21265776, '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 = 21266677 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': 2657239, 'mtr_portfolio_id': 21266677, 'created_at': datetime.datetime(2025, 3, 11, 8, 33, 3), 'result': '0.10244795674945671', 'result_long': None, 'result_double': None}] Qualite : 0.10244795674945671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21266677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266677_11-03-2025_08_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21266677 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_P21266677_11-03-2025_08_33_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21266680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21266681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21266682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21266683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21266684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21266685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21266686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21266687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21266688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21266689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21266690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21266691, 'pht': 3726}}" where mtr_portfolio_id = 21266677 and dashboard_run_id = 1669067 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`=21266677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379315, 0.10244795674945671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266677_11-03-2025_08_33_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21266680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21266681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21266682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21266683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21266684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21266685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21266686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21266687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21266688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21266689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21266690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21266691, '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 = 21267494 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': 2657304, 'mtr_portfolio_id': 21267494, 'created_at': datetime.datetime(2025, 3, 11, 8, 49, 59), 'result': '0.07430089774800909', 'result_long': None, 'result_double': None}] Qualite : 0.07430089774800909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21267494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267494_11-03-2025_08_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21267494 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_P21267494_11-03-2025_08_50_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21267519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21267520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21267521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21267522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21267523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21267524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21267525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21267526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21267527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21267528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21267529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21267530, 'pht': 3726}}" where mtr_portfolio_id = 21267494 and dashboard_run_id = 1669067 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`=21267494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379316, 0.07430089774800909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267494_11-03-2025_08_50_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21267519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21267520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21267521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21267522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21267523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21267524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21267525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21267526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21267527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21267528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21267529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21267530, '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 = 21268290 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': 2657348, 'mtr_portfolio_id': 21268290, 'created_at': datetime.datetime(2025, 3, 11, 9, 5, 13), 'result': '0.08171770379676986', 'result_long': None, 'result_double': None}] Qualite : 0.08171770379676986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21268290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268290_11-03-2025_09_05_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21268290 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_P21268290_11-03-2025_09_05_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21268340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21268341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21268343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21268345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21268346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21268347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21268348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21268349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21268351, 'pht': 3726}}" where mtr_portfolio_id = 21268290 and dashboard_run_id = 1669067 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`=21268290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379317, 0.08171770379676986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268290_11-03-2025_09_05_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21268340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21268341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21268342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21268343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21268344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21268345, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21268346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21268347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21268348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21268349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21268350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21268351, '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 = 21270987 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': 2657459, 'mtr_portfolio_id': 21270987, 'created_at': datetime.datetime(2025, 3, 11, 9, 49), 'result': '0.06843060197890778', 'result_long': None, 'result_double': None}] Qualite : 0.06843060197890778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21270987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270987_11-03-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21270987 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_P21270987_11-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21270988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21270989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21270990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21270991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21270992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21270993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21270994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21270995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21270996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21270997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21270998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21270999, 'pht': 3726}}" where mtr_portfolio_id = 21270987 and dashboard_run_id = 1669067 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`=21270987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379318, 0.06843060197890778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270987_11-03-2025_09_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21270988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21270989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21270990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21270991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21270992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21270993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21270994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21270995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21270996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21270997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21270998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21270999, '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 = 21271484 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': 2657479, 'mtr_portfolio_id': 21271484, 'created_at': datetime.datetime(2025, 3, 11, 9, 57, 1), 'result': '0.07975382958320949', 'result_long': None, 'result_double': None}] Qualite : 0.07975382958320949 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21271484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21271484_11-03-2025_09_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21271484 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_P21271484_11-03-2025_09_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21271517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21271518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21271519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21271520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21271521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21271522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21271523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21271524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21271525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21271526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21271527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21271528, 'pht': 3726}}" where mtr_portfolio_id = 21271484 and dashboard_run_id = 1669067 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`=21271484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379319, 0.07975382958320949, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21271484_11-03-2025_09_57_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21271517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21271518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21271519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21271520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21271521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21271522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21271523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21271524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21271525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21271526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21271527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21271528, '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 = 21272434 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': 2657528, 'mtr_portfolio_id': 21272434, 'created_at': datetime.datetime(2025, 3, 11, 10, 38, 3), 'result': '0.07296345784053497', 'result_long': None, 'result_double': None}] Qualite : 0.07296345784053497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21272434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21272434_11-03-2025_10_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21272434 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_P21272434_11-03-2025_10_38_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21272495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21272496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21272497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21272498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21272499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21272500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21272501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21272502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21272503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21272504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21272505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21272506, 'pht': 3726}}" where mtr_portfolio_id = 21272434 and dashboard_run_id = 1669067 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`=21272434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379320, 0.07296345784053497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21272434_11-03-2025_10_38_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21272495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21272496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21272497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21272498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21272499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21272500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21272501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21272502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21272503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21272504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21272505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21272506, '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 = 21274348 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': 2657604, 'mtr_portfolio_id': 21274348, 'created_at': datetime.datetime(2025, 3, 11, 10, 48, 5), 'result': '0.1083951317170957', 'result_long': None, 'result_double': None}] Qualite : 0.1083951317170957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21274348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274348_11-03-2025_10_48_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21274348 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_P21274348_11-03-2025_10_48_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274370, 'pht': 3726}}" where mtr_portfolio_id = 21274348 and dashboard_run_id = 1669067 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`=21274348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379321, 0.1083951317170957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274348_11-03-2025_10_48_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274370, '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 = 21274952 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': 2657627, 'mtr_portfolio_id': 21274952, 'created_at': datetime.datetime(2025, 3, 11, 11, 3, 2), 'result': '0.061270237211016196', 'result_long': None, 'result_double': None}] Qualite : 0.061270237211016196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21274952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274952_11-03-2025_11_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21274952 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_P21274952_11-03-2025_11_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274992, 'pht': 3726}}" where mtr_portfolio_id = 21274952 and dashboard_run_id = 1669067 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`=21274952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379322, 0.061270237211016196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21274952_11-03-2025_11_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21274981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21274982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21274983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21274984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21274985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21274986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21274987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21274988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21274989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21274990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21274991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21274992, '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 = 21275965 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': 2657698, 'mtr_portfolio_id': 21275965, 'created_at': datetime.datetime(2025, 3, 11, 11, 25, 2), 'result': '0.06700432011430651', 'result_long': None, 'result_double': None}] Qualite : 0.06700432011430651 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21275965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21275965_11-03-2025_11_25_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21275965 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_P21275965_11-03-2025_11_25_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21275966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21275967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21275968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21275969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21275970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21275971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21275972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21275973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21275974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21275975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21275976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21275977, 'pht': 3726}}" where mtr_portfolio_id = 21275965 and dashboard_run_id = 1669067 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`=21275965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379323, 0.06700432011430651, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21275965_11-03-2025_11_25_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21275966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21275967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21275968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21275969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21275970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21275971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21275972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21275973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21275974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21275975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21275976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21275977, '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 = 21277375 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': 2657746, 'mtr_portfolio_id': 21277375, 'created_at': datetime.datetime(2025, 3, 11, 11, 32, 57), 'result': '0.06444317308121753', 'result_long': None, 'result_double': None}] Qualite : 0.06444317308121753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21277375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277375_11-03-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21277375 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_P21277375_11-03-2025_11_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277389, 'pht': 3726}}" where mtr_portfolio_id = 21277375 and dashboard_run_id = 1669067 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`=21277375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379324, 0.06444317308121753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277375_11-03-2025_11_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277389, '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 = 21277828 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': 2657785, 'mtr_portfolio_id': 21277828, 'created_at': datetime.datetime(2025, 3, 11, 11, 48, 6), 'result': '0.05508029696401546', 'result_long': None, 'result_double': None}] Qualite : 0.05508029696401546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21277828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277828_11-03-2025_11_48_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21277828 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_P21277828_11-03-2025_11_48_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277858, 'pht': 3726}}" where mtr_portfolio_id = 21277828 and dashboard_run_id = 1669067 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`=21277828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379325, 0.05508029696401546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21277828_11-03-2025_11_48_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21277847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21277848, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21277849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21277850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21277851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21277852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21277853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21277854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21277855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21277856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21277857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21277858, '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 = 21279043 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': 2657834, 'mtr_portfolio_id': 21279043, 'created_at': datetime.datetime(2025, 3, 11, 12, 4, 59), 'result': '0.060109770992889736', 'result_long': None, 'result_double': None}] Qualite : 0.060109770992889736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21279043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21279043_11-03-2025_12_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21279043 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_P21279043_11-03-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21279073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21279074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21279075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21279076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21279077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21279078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21279079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21279080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21279081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21279082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21279083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21279084, 'pht': 3726}}" where mtr_portfolio_id = 21279043 and dashboard_run_id = 1669067 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`=21279043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379326, 0.060109770992889736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21279043_11-03-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21279073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21279074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21279075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21279076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21279077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21279078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21279079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21279080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21279081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21279082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21279083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21279084, '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 = 21280201 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': 2657878, 'mtr_portfolio_id': 21280201, 'created_at': datetime.datetime(2025, 3, 11, 12, 20, 59), 'result': '0.05856664228058519', 'result_long': None, 'result_double': None}] Qualite : 0.05856664228058519 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21280201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21280201_11-03-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21280201 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_P21280201_11-03-2025_12_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21280284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21280285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21280286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21280287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21280288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21280289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21280290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21280291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21280292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21280293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21280294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21280295, 'pht': 3726}}" where mtr_portfolio_id = 21280201 and dashboard_run_id = 1669067 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`=21280201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379327, 0.05856664228058519, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21280201_11-03-2025_12_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21280284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21280285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21280286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21280287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21280288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21280289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21280290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21280291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21280292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21280293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21280294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21280295, '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 = 21281654 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': 2657944, 'mtr_portfolio_id': 21281654, 'created_at': datetime.datetime(2025, 3, 11, 12, 32, 59), 'result': '0.05416265340618014', 'result_long': None, 'result_double': None}] Qualite : 0.05416265340618014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21281654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21281654_11-03-2025_12_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21281654 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_P21281654_11-03-2025_12_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21281724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21281725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21281726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21281727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21281728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21281729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21281730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21281731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21281732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21281733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21281734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21281735, 'pht': 3726}}" where mtr_portfolio_id = 21281654 and dashboard_run_id = 1669067 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`=21281654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379328, 0.05416265340618014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21281654_11-03-2025_12_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21281724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21281725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21281726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21281727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21281728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21281729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21281730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21281731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21281732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21281733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21281734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21281735, '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 = 21282447 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': 2658006, 'mtr_portfolio_id': 21282447, 'created_at': datetime.datetime(2025, 3, 11, 12, 57, 1), 'result': '0.047236435972464005', 'result_long': None, 'result_double': None}] Qualite : 0.047236435972464005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21282447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282447_11-03-2025_12_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282447 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_P21282447_11-03-2025_12_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21282448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21282449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21282450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21282451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21282452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21282453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21282454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21282455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21282456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21282457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21282458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21282459, 'pht': 3726}}" where mtr_portfolio_id = 21282447 and dashboard_run_id = 1669067 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`=21282447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379329, 0.047236435972464005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282447_11-03-2025_12_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21282448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21282449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21282450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21282451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21282452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21282453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21282454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21282455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21282456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21282457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21282458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21282459, '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 = 21284381 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': 2658083, 'mtr_portfolio_id': 21284381, 'created_at': datetime.datetime(2025, 3, 11, 13, 21, 1), 'result': '0.038878116200891835', 'result_long': None, 'result_double': None}] Qualite : 0.038878116200891835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21284381 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21284381_11-03-2025_13_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21284381 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_P21284381_11-03-2025_13_21_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21284398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21284399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21284400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21284401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21284402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21284403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21284404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21284405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21284406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21284407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21284408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21284409, 'pht': 3726}}" where mtr_portfolio_id = 21284381 and dashboard_run_id = 1669067 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`=21284381 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379330, 0.038878116200891835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21284381_11-03-2025_13_21_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21284398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21284399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21284400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21284401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21284402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21284403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21284404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21284405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21284406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21284407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21284408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21284409, '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 = 21285026 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': 2658111, 'mtr_portfolio_id': 21285026, 'created_at': datetime.datetime(2025, 3, 11, 13, 32, 59), 'result': '0.05621428444191229', 'result_long': None, 'result_double': None}] Qualite : 0.05621428444191229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21285026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285026_11-03-2025_13_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21285026 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_P21285026_11-03-2025_13_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285086, 'pht': 3726}}" where mtr_portfolio_id = 21285026 and dashboard_run_id = 1669067 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`=21285026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379331, 0.05621428444191229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285026_11-03-2025_13_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285086, '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 = 21285881 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': 2658158, 'mtr_portfolio_id': 21285881, 'created_at': datetime.datetime(2025, 3, 11, 13, 50, 58), 'result': '0.05675840012529667', 'result_long': None, 'result_double': None}] Qualite : 0.05675840012529667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21285881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285881_11-03-2025_13_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21285881 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_P21285881_11-03-2025_13_50_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285895, 'pht': 3726}}" where mtr_portfolio_id = 21285881 and dashboard_run_id = 1669067 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`=21285881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379332, 0.05675840012529667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21285881_11-03-2025_13_50_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21285884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21285885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21285886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21285887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21285888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21285889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21285890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21285891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21285892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21285893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21285894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21285895, '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 = 21286522 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': 2658198, 'mtr_portfolio_id': 21286522, 'created_at': datetime.datetime(2025, 3, 11, 14, 7), 'result': '0.06279214832119401', 'result_long': None, 'result_double': None}] Qualite : 0.06279214832119401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21286522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21286522_11-03-2025_14_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21286522 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_P21286522_11-03-2025_14_07_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21286536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21286537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21286538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21286539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21286540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21286541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21286542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21286543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21286544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21286545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21286546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21286547, 'pht': 3726}}" where mtr_portfolio_id = 21286522 and dashboard_run_id = 1669067 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`=21286522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379333, 0.06279214832119401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21286522_11-03-2025_14_07_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21286536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21286537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21286538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21286539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21286540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21286541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21286542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21286543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21286544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21286545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21286546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21286547, '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 = 21287307 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': 2658259, 'mtr_portfolio_id': 21287307, 'created_at': datetime.datetime(2025, 3, 11, 14, 20, 59), 'result': '0.059306368382292876', 'result_long': None, 'result_double': None}] Qualite : 0.059306368382292876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21287307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21287307_11-03-2025_14_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21287307 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_P21287307_11-03-2025_14_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21287345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21287346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21287347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21287348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21287349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21287350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21287351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21287352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21287353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21287354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21287355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21287356, 'pht': 3726}}" where mtr_portfolio_id = 21287307 and dashboard_run_id = 1669067 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`=21287307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379334, 0.059306368382292876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21287307_11-03-2025_14_21_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21287345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21287346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21287347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21287348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21287349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21287350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21287351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21287352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21287353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21287354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21287355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21287356, '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 = 21288100 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': 2658300, 'mtr_portfolio_id': 21288100, 'created_at': datetime.datetime(2025, 3, 11, 14, 32, 59), 'result': '0.07271295487057525', 'result_long': None, 'result_double': None}] Qualite : 0.07271295487057525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21288100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288100_11-03-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21288100 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_P21288100_11-03-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21288189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288197, 'pht': 3726}}" where mtr_portfolio_id = 21288100 and dashboard_run_id = 1669067 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`=21288100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379335, 0.07271295487057525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288100_11-03-2025_14_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21288189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288197, '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 = 21288922 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': 2658363, 'mtr_portfolio_id': 21288922, 'created_at': datetime.datetime(2025, 3, 11, 14, 48, 58), 'result': '0.0711878413736381', 'result_long': None, 'result_double': None}] Qualite : 0.0711878413736381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21288922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288922_11-03-2025_14_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21288922 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_P21288922_11-03-2025_14_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21288935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288946, 'pht': 3726}}" where mtr_portfolio_id = 21288922 and dashboard_run_id = 1669067 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`=21288922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379336, 0.0711878413736381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21288922_11-03-2025_14_48_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21288935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21288936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21288937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21288938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21288939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21288940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21288941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21288942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21288943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21288944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21288945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21288946, '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 = 21289999 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': 2658407, 'mtr_portfolio_id': 21289999, 'created_at': datetime.datetime(2025, 3, 11, 15, 2, 59), 'result': '0.06463648848266758', 'result_long': None, 'result_double': None}] Qualite : 0.06463648848266758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21289999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21289999_11-03-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21289999 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_P21289999_11-03-2025_15_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290065, 'pht': 3726}}" where mtr_portfolio_id = 21289999 and dashboard_run_id = 1669067 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`=21289999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379337, 0.06463648848266758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21289999_11-03-2025_15_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290065, '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 = 21290771 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': 2658485, 'mtr_portfolio_id': 21290771, 'created_at': datetime.datetime(2025, 3, 11, 15, 21), 'result': '0.07674918487790915', 'result_long': None, 'result_double': None}] Qualite : 0.07674918487790915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21290771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290771_11-03-2025_15_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290771 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_P21290771_11-03-2025_15_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290843, 'pht': 3726}}" where mtr_portfolio_id = 21290771 and dashboard_run_id = 1669067 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`=21290771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379338, 0.07674918487790915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290771_11-03-2025_15_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21290832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21290833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21290834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21290835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21290836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21290837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21290838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21290839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21290840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21290841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21290842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21290843, '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 = 21291523 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': 2658529, 'mtr_portfolio_id': 21291523, 'created_at': datetime.datetime(2025, 3, 11, 15, 33), 'result': '0.07358332947441941', 'result_long': None, 'result_double': None}] Qualite : 0.07358332947441941 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21291523 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291523_11-03-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21291523 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_P21291523_11-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21291656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21291657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21291658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21291659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21291660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21291661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21291662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21291663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21291664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21291665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21291666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21291667, 'pht': 3726}}" where mtr_portfolio_id = 21291523 and dashboard_run_id = 1669067 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`=21291523 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379339, 0.07358332947441941, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291523_11-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21291656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21291657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21291658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21291659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21291660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21291661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21291662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21291663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21291664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21291665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21291666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21291667, '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 = 21292609 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': 2658596, 'mtr_portfolio_id': 21292609, 'created_at': datetime.datetime(2025, 3, 11, 15, 49, 28), 'result': '0.07274373967134913', 'result_long': None, 'result_double': None}] Qualite : 0.07274373967134913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21292609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21292609_11-03-2025_15_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21292609 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_P21292609_11-03-2025_15_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21292622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21292623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21292624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21292625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21292626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21292627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21292628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21292629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21292630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21292631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21292632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21292633, 'pht': 3726}}" where mtr_portfolio_id = 21292609 and dashboard_run_id = 1669067 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`=21292609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379340, 0.07274373967134913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21292609_11-03-2025_15_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21292622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21292623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21292624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21292625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21292626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21292627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21292628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21292629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21292630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21292631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21292632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21292633, '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 = 21293205 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': 2658622, 'mtr_portfolio_id': 21293205, 'created_at': datetime.datetime(2025, 3, 11, 16, 2, 59), 'result': '0.0658398990723713', 'result_long': None, 'result_double': None}] Qualite : 0.0658398990723713 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21293205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21293205_11-03-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21293205 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_P21293205_11-03-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21293252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21293253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21293254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21293255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21293256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21293257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21293258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21293259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21293260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21293261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21293262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21293263, 'pht': 3726}}" where mtr_portfolio_id = 21293205 and dashboard_run_id = 1669067 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`=21293205 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379341, 0.0658398990723713, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21293205_11-03-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21293252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21293253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21293254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21293255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21293256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21293257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21293258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21293259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21293260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21293261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21293262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21293263, '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 = 21294338 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': 2658690, 'mtr_portfolio_id': 21294338, 'created_at': datetime.datetime(2025, 3, 11, 16, 18, 1), 'result': '0.06976271512776594', 'result_long': None, 'result_double': None}] Qualite : 0.06976271512776594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21294338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21294338_11-03-2025_16_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21294338 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_P21294338_11-03-2025_16_18_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21294339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21294340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21294341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21294342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21294343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21294344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21294345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21294346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21294347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21294348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21294349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21294350, 'pht': 3726}}" where mtr_portfolio_id = 21294338 and dashboard_run_id = 1669067 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`=21294338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379342, 0.06976271512776594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21294338_11-03-2025_16_18_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21294339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21294340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21294341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21294342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21294343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21294344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21294345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21294346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21294347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21294348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21294349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21294350, '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 = 21295180 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': 2658728, 'mtr_portfolio_id': 21295180, 'created_at': datetime.datetime(2025, 3, 11, 16, 33, 4), 'result': '0.06787483491200408', 'result_long': None, 'result_double': None}] Qualite : 0.06787483491200408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21295180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21295180_11-03-2025_16_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21295180 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_P21295180_11-03-2025_16_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21295234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21295235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21295237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21295238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21295239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21295241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21295242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21295243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21295245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21295246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21295247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21295249, 'pht': 3726}}" where mtr_portfolio_id = 21295180 and dashboard_run_id = 1669067 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`=21295180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379343, 0.06787483491200408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21295180_11-03-2025_16_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21295234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21295235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21295237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21295238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21295239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21295241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21295242, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21295243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21295245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21295246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21295247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21295249, '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 = 21296139 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': 2658800, 'mtr_portfolio_id': 21296139, 'created_at': datetime.datetime(2025, 3, 11, 16, 48, 2), 'result': '0.07193525091200008', 'result_long': None, 'result_double': None}] Qualite : 0.07193525091200008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21296139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21296139 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_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, 'pht': 3726}}" where mtr_portfolio_id = 21296139 and dashboard_run_id = 1669067 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`=21296139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379344, 0.07193525091200008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296139_11-03-2025_16_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21296148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296151, '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 = 21296935 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': 2658827, 'mtr_portfolio_id': 21296935, 'created_at': datetime.datetime(2025, 3, 11, 17, 5, 1), 'result': '0.08099840915747374', 'result_long': None, 'result_double': None}] Qualite : 0.08099840915747374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21296935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21296935 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_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, 'pht': 3726}}" where mtr_portfolio_id = 21296935 and dashboard_run_id = 1669067 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`=21296935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379345, 0.08099840915747374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21296935_11-03-2025_17_05_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21296953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21296954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21296955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21296956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21296957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21296958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21296959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21296960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21296961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21296962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21296963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21296964, '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 = 21297690 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': 2658882, 'mtr_portfolio_id': 21297690, 'created_at': datetime.datetime(2025, 3, 11, 17, 21), 'result': '0.06864296636137529', 'result_long': None, 'result_double': None}] Qualite : 0.06864296636137529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21297690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21297690 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_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, 'pht': 3726}}" where mtr_portfolio_id = 21297690 and dashboard_run_id = 1669067 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`=21297690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379346, 0.06864296636137529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297690_11-03-2025_17_21_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21297763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21297764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21297765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21297766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21297767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21297768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21297769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21297770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21297771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21297772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21297774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21297775, '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 = 21298566 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': 2658917, 'mtr_portfolio_id': 21298566, 'created_at': datetime.datetime(2025, 3, 11, 17, 32, 59), 'result': '0.07852440913351555', 'result_long': None, 'result_double': None}] Qualite : 0.07852440913351555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21298566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21298566 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_P21298566_11-03-2025_17_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, 'pht': 3726}}" where mtr_portfolio_id = 21298566 and dashboard_run_id = 1669067 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`=21298566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379347, 0.07852440913351555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21298566_11-03-2025_17_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21298615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21298616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21298617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21298618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21298619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21298620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21298621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21298622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21298623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21298624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21298625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21298626, '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 = 21300323 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': 2659047, 'mtr_portfolio_id': 21300323, 'created_at': datetime.datetime(2025, 3, 11, 18, 19), 'result': '0.05392843308567019', 'result_long': None, 'result_double': None}] Qualite : 0.05392843308567019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21300323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300323_11-03-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21300323 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_P21300323_11-03-2025_18_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21300348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300359, 'pht': 3726}}" where mtr_portfolio_id = 21300323 and dashboard_run_id = 1669067 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`=21300323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379348, 0.05392843308567019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300323_11-03-2025_18_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21300348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300359, '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 = 21300708 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': 2659085, 'mtr_portfolio_id': 21300708, 'created_at': datetime.datetime(2025, 3, 11, 18, 33, 1), 'result': '0.051192878180644864', 'result_long': None, 'result_double': None}] Qualite : 0.051192878180644864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21300708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300708_11-03-2025_18_19_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21300708 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_P21300708_11-03-2025_18_19_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21300752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300760, 'pht': 3726}}" where mtr_portfolio_id = 21300708 and dashboard_run_id = 1669067 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`=21300708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379349, 0.051192878180644864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21300708_11-03-2025_18_19_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21300749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21300750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21300751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21300752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21300753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21300754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21300755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21300756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21300757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21300758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21300759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21300760, '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 = 21301375 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': 2659142, 'mtr_portfolio_id': 21301375, 'created_at': datetime.datetime(2025, 3, 11, 18, 48, 58), 'result': '0.07221075704859409', 'result_long': None, 'result_double': None}] Qualite : 0.07221075704859409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21301375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21301375_11-03-2025_18_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21301375 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_P21301375_11-03-2025_18_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21301386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21301387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21301388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21301389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21301390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21301391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21301392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21301393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21301394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21301395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21301396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21301397, 'pht': 3726}}" where mtr_portfolio_id = 21301375 and dashboard_run_id = 1669067 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`=21301375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379350, 0.07221075704859409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21301375_11-03-2025_18_34_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21301386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21301387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21301388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21301389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21301390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21301391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21301392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21301393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21301394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21301395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21301396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21301397, '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 = 21302206 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': 2659191, 'mtr_portfolio_id': 21302206, 'created_at': datetime.datetime(2025, 3, 11, 19, 3, 59), 'result': '0.05414101871496152', 'result_long': None, 'result_double': None}] Qualite : 0.05414101871496152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21302206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21302206 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_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, 'pht': 3726}}" where mtr_portfolio_id = 21302206 and dashboard_run_id = 1669067 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`=21302206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379351, 0.05414101871496152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21302206_11-03-2025_18_49_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21302255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21302256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21302257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21302258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21302259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21302260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21302261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21302262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21302263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21302264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21302265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21302266, '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 = 21303075 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': 2659244, 'mtr_portfolio_id': 21303075, 'created_at': datetime.datetime(2025, 3, 11, 19, 17, 30), 'result': '0.07165204742663832', 'result_long': None, 'result_double': None}] Qualite : 0.07165204742663832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21303075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21303075 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_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, 'pht': 3726}}" where mtr_portfolio_id = 21303075 and dashboard_run_id = 1669067 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`=21303075 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379352, 0.07165204742663832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21303075_11-03-2025_19_06_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21303190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21303194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21303195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21303196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21303197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21303198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21303199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21303200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21303201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21303202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21303204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21303209, '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 = 21304387 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': 2659294, 'mtr_portfolio_id': 21304387, 'created_at': datetime.datetime(2025, 3, 11, 19, 35, 30), 'result': '0.05295210931662141', 'result_long': None, 'result_double': None}] Qualite : 0.05295210931662141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21304387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304387 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_P21304387_11-03-2025_19_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, 'pht': 3726}}" where mtr_portfolio_id = 21304387 and dashboard_run_id = 1669067 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`=21304387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379353, 0.05295210931662141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304387_11-03-2025_19_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21304457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21304458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21304459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21304460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21304461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21304462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21304463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21304464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21304465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21304466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21304467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21304468, '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 = 21305160 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': 2659353, 'mtr_portfolio_id': 21305160, 'created_at': datetime.datetime(2025, 3, 11, 19, 49, 1), 'result': '0.07315978438042056', 'result_long': None, 'result_double': None}] Qualite : 0.07315978438042056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21305160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305160_11-03-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21305160 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_P21305160_11-03-2025_19_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21305185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21305186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21305187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21305188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21305189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21305190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21305191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21305192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21305193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21305194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21305195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21305196, 'pht': 3726}}" where mtr_portfolio_id = 21305160 and dashboard_run_id = 1669067 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`=21305160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379354, 0.07315978438042056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305160_11-03-2025_19_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21305185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21305186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21305187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21305188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21305189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21305190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21305191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21305192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21305193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21305194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21305195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21305196, '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 = 21305972 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': 2659407, 'mtr_portfolio_id': 21305972, 'created_at': datetime.datetime(2025, 3, 11, 20, 5, 2), 'result': '0.06434961334001617', 'result_long': None, 'result_double': None}] Qualite : 0.06434961334001617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21305972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305972_11-03-2025_20_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21305972 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_P21305972_11-03-2025_20_05_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306034, 'pht': 3726}}" where mtr_portfolio_id = 21305972 and dashboard_run_id = 1669067 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`=21305972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379355, 0.06434961334001617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21305972_11-03-2025_20_05_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306034, '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 = 21306716 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': 2659471, 'mtr_portfolio_id': 21306716, 'created_at': datetime.datetime(2025, 3, 11, 20, 17, 29), 'result': '0.06280255699653875', 'result_long': None, 'result_double': None}] Qualite : 0.06280255699653875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21306716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21306716_11-03-2025_20_08_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21306716 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_P21306716_11-03-2025_20_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306764, 'pht': 3726}}" where mtr_portfolio_id = 21306716 and dashboard_run_id = 1669067 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`=21306716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379356, 0.06280255699653875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21306716_11-03-2025_20_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21306753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21306754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21306755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21306756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21306757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21306758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21306759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21306760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21306761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21306762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21306763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21306764, '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 = 21307713 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': 2659513, 'mtr_portfolio_id': 21307713, 'created_at': datetime.datetime(2025, 3, 11, 20, 33, 4), 'result': '0.07786306669879538', 'result_long': None, 'result_double': None}] Qualite : 0.07786306669879538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21307713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21307713_11-03-2025_20_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21307713 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_P21307713_11-03-2025_20_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21307768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21307769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21307770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21307771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21307772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21307773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21307774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21307775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21307776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21307777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21307778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21307779, 'pht': 3726}}" where mtr_portfolio_id = 21307713 and dashboard_run_id = 1669067 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`=21307713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379357, 0.07786306669879538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21307713_11-03-2025_20_33_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21307768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21307769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21307770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21307771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21307772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21307773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21307774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21307775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21307776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21307777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21307778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21307779, '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 = 21308578 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': 2659563, 'mtr_portfolio_id': 21308578, 'created_at': datetime.datetime(2025, 3, 11, 21, 6), 'result': '0.07594532110457287', 'result_long': None, 'result_double': None}] Qualite : 0.07594532110457287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21308578 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21308578_11-03-2025_21_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21308578 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_P21308578_11-03-2025_21_06_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21308651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21308652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21308653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21308654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21308655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21308656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21308657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21308658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21308659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21308660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21308661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21308662, 'pht': 3726}}" where mtr_portfolio_id = 21308578 and dashboard_run_id = 1669067 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`=21308578 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379358, 0.07594532110457287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21308578_11-03-2025_21_06_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21308651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21308652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21308653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21308654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21308655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21308656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21308657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21308658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21308659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21308660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21308661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21308662, '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 = 21310213 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': 2659643, 'mtr_portfolio_id': 21310213, 'created_at': datetime.datetime(2025, 3, 11, 21, 19, 59), 'result': '0.08173754257695107', 'result_long': None, 'result_double': None}] Qualite : 0.08173754257695107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310213 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21310213%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21310213 and dashboard_run_id = 1669067 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`=21310213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379359, 0.08173754257695107, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310225, 'pht': 3726}, 'url_report': ''}") 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 = 21310476 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': 2659663, 'mtr_portfolio_id': 21310476, 'created_at': datetime.datetime(2025, 3, 11, 21, 33, 36), 'result': '0.07168354068959866', 'result_long': None, 'result_double': None}] Qualite : 0.07168354068959866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310476 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_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, 'pht': 3726}}" where mtr_portfolio_id = 21310476 and dashboard_run_id = 1669067 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`=21310476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379360, 0.07168354068959866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310476_11-03-2025_21_33_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21310505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21310506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21310507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21310508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21310509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21310510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21310511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21310512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21310513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21310514, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21310515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21310516, '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 = 21310997 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': 2659701, 'mtr_portfolio_id': 21310997, 'created_at': datetime.datetime(2025, 3, 11, 21, 49, 33), 'result': '0.059853846064212325', 'result_long': None, 'result_double': None}] Qualite : 0.059853846064212325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21310997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21310997 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_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, 'pht': 3726}}" where mtr_portfolio_id = 21310997 and dashboard_run_id = 1669067 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`=21310997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379361, 0.059853846064212325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21310997_11-03-2025_21_49_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311031, '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 = 21311536 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': 2659744, 'mtr_portfolio_id': 21311536, 'created_at': datetime.datetime(2025, 3, 11, 22, 4, 2), 'result': '0.06288673998227223', 'result_long': None, 'result_double': None}] Qualite : 0.06288673998227223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21311536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21311536 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_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, 'pht': 3726}}" where mtr_portfolio_id = 21311536 and dashboard_run_id = 1669067 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`=21311536 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379362, 0.06288673998227223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21311536_11-03-2025_21_49_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21311537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21311538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21311539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21311540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21311541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21311542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21311543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21311544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21311545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21311546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21311547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21311548, '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 = 21312012 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': 2659846, 'mtr_portfolio_id': 21312012, 'created_at': datetime.datetime(2025, 3, 11, 22, 19, 57), 'result': '0.07018446277838529', 'result_long': None, 'result_double': None}] Qualite : 0.07018446277838529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21312012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21312012_11-03-2025_22_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21312012 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_P21312012_11-03-2025_22_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21312136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21312137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21312138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21312139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21312140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21312141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21312142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21312143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21312144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21312145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21312146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21312147, 'pht': 3726}}" where mtr_portfolio_id = 21312012 and dashboard_run_id = 1669067 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`=21312012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379363, 0.07018446277838529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21312012_11-03-2025_22_07_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21312136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21312137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21312138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21312139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21312140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21312141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21312142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21312143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21312144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21312145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21312146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21312147, '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 = 21313136 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': 2659891, 'mtr_portfolio_id': 21313136, 'created_at': datetime.datetime(2025, 3, 11, 22, 33), 'result': '0.07049984474891408', 'result_long': None, 'result_double': None}] Qualite : 0.07049984474891408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21313136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21313136_11-03-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21313136 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_P21313136_11-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21313212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21313213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21313214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21313215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21313216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21313217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21313218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21313219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21313220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21313221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21313222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21313223, 'pht': 3726}}" where mtr_portfolio_id = 21313136 and dashboard_run_id = 1669067 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`=21313136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379364, 0.07049984474891408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21313136_11-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21313212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21313213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21313214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21313215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21313216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21313217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21313218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21313219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21313220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21313221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21313222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21313223, '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 = 21314183 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': 2659955, 'mtr_portfolio_id': 21314183, 'created_at': datetime.datetime(2025, 3, 11, 22, 48, 28), 'result': '0.08477700190286842', 'result_long': None, 'result_double': None}] Qualite : 0.08477700190286842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21314183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21314183_11-03-2025_22_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21314183 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_P21314183_11-03-2025_22_38_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21314189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21314190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21314191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21314192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21314193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21314194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21314195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21314196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21314197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21314198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21314199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21314200, 'pht': 3726}}" where mtr_portfolio_id = 21314183 and dashboard_run_id = 1669067 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`=21314183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379365, 0.08477700190286842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21314183_11-03-2025_22_38_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21314189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21314190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21314191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21314192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21314193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21314194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21314195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21314196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21314197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21314198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21314199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21314200, '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 = 21315548 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': 2660016, 'mtr_portfolio_id': 21315548, 'created_at': datetime.datetime(2025, 3, 11, 23, 4, 58), 'result': '0.06339181530339628', 'result_long': None, 'result_double': None}] Qualite : 0.06339181530339628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21315548 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21315548%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21315548 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21315564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21315565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21315566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21315567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21315568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21315569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21315570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21315571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21315572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21315573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21315574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21315575, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21315548 and dashboard_run_id = 1669067 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`=21315548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379366, 0.06339181530339628, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21315564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21315565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21315566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21315567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21315568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21315569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21315570, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21315571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21315572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21315573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21315574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21315575, 'pht': 3726}, 'url_report': ''}") 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 = 21316639 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': 2660061, 'mtr_portfolio_id': 21316639, 'created_at': datetime.datetime(2025, 3, 12, 0, 45, 59), 'result': '0.08680107619851347', 'result_long': None, 'result_double': None}] Qualite : 0.08680107619851347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21316639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21316639_12-03-2025_00_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21316639 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_P21316639_12-03-2025_00_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21316691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21316692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21316693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21316694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21316695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21316696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21316697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21316698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21316699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21316700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21316701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21316702, 'pht': 3726}}" where mtr_portfolio_id = 21316639 and dashboard_run_id = 1669067 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`=21316639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379367, 0.08680107619851347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21316639_12-03-2025_00_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21316691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21316692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21316693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21316694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21316695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21316696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21316697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21316698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21316699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21316700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21316701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21316702, '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 = 21317594 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': 2660099, 'mtr_portfolio_id': 21317594, 'created_at': datetime.datetime(2025, 3, 11, 23, 34), 'result': '0.0768172529849865', 'result_long': None, 'result_double': None}] Qualite : 0.0768172529849865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21317594 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21317594_11-03-2025_23_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21317594 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_P21317594_11-03-2025_23_20_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21317641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21317642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21317644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21317645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21317647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21317648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21317649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21317651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21317652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21317653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21317655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21317656, 'pht': 3726}}" where mtr_portfolio_id = 21317594 and dashboard_run_id = 1669067 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`=21317594 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379368, 0.0768172529849865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21317594_11-03-2025_23_20_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21317641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21317642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21317644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21317645, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21317647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21317648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21317649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21317651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21317652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21317653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21317655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21317656, '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 = 21318640 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': 2660140, 'mtr_portfolio_id': 21318640, 'created_at': datetime.datetime(2025, 3, 11, 23, 49, 32), 'result': '0.09233070591556115', 'result_long': None, 'result_double': None}] Qualite : 0.09233070591556115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21318640 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21318640%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21318640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21318643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21318644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21318645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21318646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21318647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21318648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21318649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21318650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21318651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21318652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21318653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21318654, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 21318640 and dashboard_run_id = 1669067 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`=21318640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379369, 0.09233070591556115, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21318643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21318644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21318645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21318646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21318647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21318648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21318649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21318650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21318651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21318652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21318653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21318654, 'pht': 3726}, 'url_report': ''}") 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 = 21319051 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': 2660172, 'mtr_portfolio_id': 21319051, 'created_at': datetime.datetime(2025, 3, 12, 0, 33), 'result': '0.08945353085397523', 'result_long': None, 'result_double': None}] Qualite : 0.08945353085397523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21319051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21319051_12-03-2025_00_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21319051 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_P21319051_12-03-2025_00_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21319052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21319053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21319054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21319055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21319056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21319057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21319058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21319059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21319060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21319061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21319062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21319063, 'pht': 3726}}" where mtr_portfolio_id = 21319051 and dashboard_run_id = 1669067 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`=21319051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9379370, 0.08945353085397523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21319051_12-03-2025_00_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21319052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21319053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21319054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21319055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21319056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21319057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21319058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21319059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21319060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21319061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21319062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21319063, '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 (21249450,21249839,21250319,21250930,21251739,21252370,21253064,21253689,21254485,21255240,21255924,21256458,21257252,21258215,21258639,21259275,21259792,21260558,21261291,21261988,21262483,21263155,21263614,21264563,21265070,21265740,21266677,21267494,21268290,21270987,21271484,21272434,21274348,21274952,21275965,21277375,21277828,21279043,21280201,21281654,21282447,21284381,21285026,21285881,21286522,21287307,21288100,21288922,21289999,21290771,21291523,21292609,21293205,21294338,21295180,21296139,21296935,21297690,21298566,21300323,21300708,21301375,21302206,21303075,21304387,21305160,21305972,21306716,21307713,21308578,21310213,21310476,21310997,21311536,21312012,21313136,21314183,21315548,21316639,21317594,21318640,21319051) result : ((1342752394,), (1342753269,), (1342753572,), (1342753788,), (1342753799,), (1342754291,), (1342754354,), (1342754428,), (1342754622,), (1342754629,), (1342754640,), (1342754644,), (1342755364,), (1342755447,), (1342756861,), (1342756812,), (1342758777,), (1342758875,), (1342759286,), (1342759591,), (1342759605,), (1342759626,), (1342759843,), (1342759848,), (1342759872,), (1342759875,), (1342759877,), (1342759947,), (1342759964,), (1342759990,), (1342760021,), (1342760618,), (1342760708,), (1342760787,), (1342760831,), (1342760855,), (1342761104,), (1342761126,), (1342761145,), (1342761161,), (1342761166,), (1342761557,), (1342761585,), (1342761595,), (1342761611,), (1342761631,), (1342761651,), (1342761826,), (1342761812,), (1342761814,), (1342761822,), (1342761824,), (1342762146,), (1342762203,), (1342762213,), (1342762248,), (1342762323,), (1342762347,), (1342762357,), (1342762367,), (1342762389,), (1342762463,), (1342762510,), (1342762551,), (1342762617,), (1342762677,), (1342762952,), (1342762956,), (1342762959,), (1342762977,), (1342762983,), (1342763007,), (1342763013,), (1342763019,), (1342763022,), (1342763026,), (1342763028,), (1342763071,), (1342763099,), (1342763131,), (1342763154,), (1342763747,), (1342763818,), (1342763831,), (1342763853,), (1342764042,), (1342764082,), (1342764108,), (1342764131,), (1342764155,), (1342764214,), (1342764246,), (1342764318,), (1342764378,), (1342764415,), (1342764566,), (1342764567,), (1342764570,), (1342764589,), (1342764605,), (1342764611,), (1342764618,), (1342764622,), (1342764624,), (1342764808,), (1342764828,), (1342764882,), (1342764899,), (1342764938,), (1342765446,), (1342765515,), (1342765561,), (1342766190,), (1342766262,), (1342766959,), (1342766769,), (1342766827,), (1342766868,), (1342767433,), (1342767451,), (1342767551,), (1342767566,), (1342767587,), (1342767873,), (1342767950,), (1342770878,), (1342770909,), (1342770948,), (1342771002,), (1342771433,), (1342771471,), (1342771715,), (1342771748,), (1342771785,), (1342771821,), (1342771853,), (1342771857,), (1342771918,), (1342771987,), (1342772352,), (1342772359,), (1342772362,), (1342772365,), (1342772368,), (1342772424,), (1342772442,), (1342772544,), (1342772560,), (1342772577,), (1342772627,), (1342772698,), (1342772735,), (1342773042,), (1342773117,), (1342773184,), (1342773263,), (1342773366,), (1342773584,), (1342773587,), (1342773603,), (1342773625,), (1342774238,), (1342774337,), (1342774384,), (1342774444,), (1342774506,), (1342774518,), (1342774846,), (1342774730,), (1342774755,), (1342774791,), (1342774815,), (1342775111,), (1342775132,), (1342775153,), (1342775314,), (1342775347,), (1342775373,), (1342775463,), (1342775468,), (1342775472,), (1342775477,), (1342775481,), (1342775484,), (1342776048,), (1342776116,), (1342776268,), (1342776365,), (1342776779,), (1342776814,), (1342776945,), (1342777078,), (1342777178,), (1342777222,), (1342777664,), (1342777734,), (1342777784,), (1342777851,), (1342777913,), (1342778241,), (1342778260,), (1342778279,), (1342778300,), (1342778455,), (1342778477,), (1342778555,), (1342778578,), (1342778587,), (1342778778,), (1342778784,), (1342778787,), (1342778834,), (1342778839,), (1342778870,), (1342778878,), (1342778882,), (1342778984,), (1342778991,), (1342778997,), (1342779014,), (1342779037,), (1342779049,), (1342779080,), (1342779093,), (1342779113,), (1342779129,), (1342779448,), (1342779511,), (1342779565,), (1342779680,), (1342779692,), (1342780085,), (1342779932,), (1342780034,), (1342780647,), (1342780763,), (1342780770,), (1342781038,), (1342781058,), (1342781077,), (1342782080,), (1342782143,), (1342782206,), (1342782899,), (1342783100,), (1342783163,), (1342783193,), (1342783274,), (1342783545,), (1342783636,), (1342783727,), (1342783798,), (1342783881,), (1342783976,), (1342783980,), (1342783984,), (1342783988,), (1342784036,), (1342784044,), (1342784066,), (1342784589,), (1342784610,), (1342784638,), (1342784661,), (1342784674,), (1342784971,), (1342784984,), (1342785002,), (1342785012,), (1342785381,), (1342785416,), (1342785440,), (1342785464,), (1342785467,), (1342786168,), (1342786201,), (1342786241,), (1342786296,), (1342786314,), (1342786339,), (1342786362,), (1342786386,), (1342786799,), (1342786437,), (1342786521,), (1342786661,), (1342786758,), (1342787039,), (1342787053,), (1342787077,), (1342787328,), (1342787569,), (1342787573,), (1342787580,), (1342787814,), (1342787834,), (1342788025,), (1342788028,), (1342788032,), (1342788035,), (1342788039,), (1342788062,), (1342788065,), (1342788069,), (1342788095,), (1342788877,), (1342788895,), (1342788918,), (1342788941,), (1342789229,), (1342789249,), (1342789376,), (1342789401,), (1342789416,), (1342789423,), (1342789439,), (1342789445,), (1342789461,), (1342789464,), (1342789481,), (1342789504,), (1342789649,), (1342789673,), (1342789697,), (1342789721,), (1342789743,), (1342789760,), (1342789973,), (1342789980,), (1342789983,), (1342790169,), (1342790222,), (1342790302,), (1342790383,), (1342790440,), (1342790576,), (1342790510,), (1342790517,), (1342790565,), (1342790572,), (1342790598,), (1342790601,), (1342790608,), (1342790611,), (1342790705,), (1342790728,), (1342790738,), (1342791044,), (1342791051,), (1342791053,), (1342791069,), (1342791075,), (1342791363,), (1342791394,), (1342791397,), (1342791400,), (1342791402,), (1342791405,), (1342791424,), (1342791427,), (1342791431,), (1342791487,), (1342791553,), (1342792498,), (1342792543,), (1342793148,), (1342793170,), (1342793229,), (1342793312,), (1342793474,), (1342793976,), (1342794016,), (1342794046,), (1342794074,), (1342794089,), (1342794555,), (1342794572,), (1342794576,), (1342794612,), (1342794801,), (1342794826,), (1342794853,), (1342794876,), (1342795386,), (1342795447,), (1342795549,), (1342795585,), (1342795600,), (1342795836,), (1342795863,), (1342795869,), (1342795879,), (1342795883,), (1342796011,), (1342796014,), (1342796041,), (1342796051,), (1342796100,), (1342796168,), (1342796221,), (1342796292,), (1342796306,), (1342796320,), (1342796462,), (1342796449,), (1342796452,), (1342796455,), (1342796458,), (1342796460,), (1342796562,), (1342796587,), (1342796642,), (1342796717,), (1342796748,), (1342797139,), (1342797174,), (1342797198,), (1342797248,), (1342797477,), (1342797480,), (1342797483,), (1342797485,), (1342797488,), (1342797528,), (1342797533,), (1342797536,), (1342797541,), (1342797610,), (1342797626,), (1342797630,), (1342797633,), (1342797667,), (1342797675,), (1342797678,), (1342798227,), (1342798383,), (1342798589,), (1342798705,), (1342798844,), (1342798878,), (1342799058,), (1342799089,), (1342799121,), (1342799145,), (1342799180,), (1342799183,), (1342799532,), (1342799535,), (1342799543,), (1342799624,), (1342799643,), (1342799887,), (1342799916,), (1342800093,), (1342800097,), (1342800101,), (1342800106,), (1342800115,), (1342800132,), (1342800188,), (1342800191,), (1342800196,), (1342800200,), (1342800203,), (1342800204,), (1342800246,), (1342800255,), (1342800259,), (1342800262,), (1342800265,), (1342800277,), (1342800345,), (1342800351,), (1342800354,), (1342800359,), (1342800483,), (1342800469,), (1342800475,), (1342800635,), (1342800730,), (1342800746,), (1342801703,), (1342801887,), (1342802111,), (1342802243,), (1342802280,), (1342802550,), (1342802580,), (1342802627,), (1342802640,), (1342802952,), (1342803680,), (1342803834,), (1342803840,), (1342803843,), (1342803849,), (1342804029,), (1342804077,), (1342804102,), (1342804140,), (1342804509,), (1342804513,), (1342804517,), (1342804520,), (1342804523,), (1342804530,), (1342804575,), (1342804600,), (1342804623,), (1342804656,), (1342804710,), (1342805168,), (1342805184,), (1342805188,), (1342805291,), (1342805316,), (1342805326,), (1342805453,), (1342805476,), (1342805500,), (1342805502,), (1342805671,), (1342805706,), (1342805755,), (1342805799,), (1342805938,), (1342805963,), (1342805983,), (1342806006,), (1342806027,), (1342806043,), (1342806399,), (1342806274,), (1342806355,), (1342806613,), (1342806659,), (1342806683,), (1342806704,), (1342806727,), (1342806753,), (1342806998,), (1342807066,), (1342807125,), (1342807162,), (1342807213,), (1342807249,), (1342807447,), (1342807458,), (1342807476,), (1342807679,), (1342807707,), (1342807734,), (1342807741,), (1342807757,), (1342807772,), (1342807931,), (1342807948,), (1342807973,), (1342808053,), (1342808139,), (1342808476,), (1342808516,), (1342808539,), (1342808750,), (1342808754,), (1342808758,), (1342808762,), (1342808780,), (1342808791,), (1342808802,), (1342808809,), (1342808825,), (1342808897,), (1342808901,), (1342808922,), (1342808929,), (1342809218,), (1342809222,), (1342809266,), (1342809270,), (1342809312,), (1342809359,), (1342809384,), (1342809422,), (1342809586,), (1342809605,), (1342809633,), (1342809740,), (1342809769,), (1342809773,), (1342809777,), (1342810004,), (1342810066,), (1342810136,), (1342810650,), (1342810630,), (1342810635,), (1342810640,), (1342810644,), (1342810648,), (1342810942,), (1342810970,), (1342810975,), (1342811021,), (1342811025,), (1342811113,), (1342811165,), (1342811234,), (1342811317,), (1342811583,), (1342811593,), (1342811599,), (1342811605,), (1342811750,), (1342811775,), (1342811780,), (1342811823,), (1342811837,), (1342811849,), (1342811915,), (1342811926,), (1342812024,), (1342812195,), (1342812378,), (1342812751,), (1342812764,), (1342812768,), (1342812774,), (1342813375,), (1342813399,), (1342813446,), (1342813676,), (1342813693,), (1342813699,), (1342813709,), (1342813712,), (1342813772,), (1342813776,), (1342813782,), (1342813786,), (1342813790,), (1342813894,), (1342813923,), (1342813947,), (1342814222,), (1342814229,), (1342814233,), (1342814240,), (1342814244,), (1342814258,), (1342814570,), (1342814574,), (1342814602,), (1342814607,), (1342814714,), (1342814758,), (1342814806,), (1342814884,), (1342814921,), (1342814950,), (1342815324,), (1342815378,), (1342815926,), (1342815894,), (1342815909,), (1342816596,), (1342816656,), (1342816825,), (1342816957,), (1342817760,), (1342817820,), (1342817927,), (1342817978,), (1342818085,), (1342818397,), (1342818463,), (1342818550,), (1342819013,), (1342819089,), (1342819142,), (1342819218,), (1342819258,), (1342819308,), (1342819312,), (1342819316,), (1342819320,), (1342819322,), (1342819353,), (1342819370,), (1342819376,), (1342819381,), (1342819563,), (1342819594,), (1342819617,), (1342819839,), (1342819841,), (1342819844,), (1342819850,), (1342819857,), (1342819939,), (1342819951,), (1342819981,), (1342820041,), (1342820062,), (1342820257,), (1342820293,), (1342820301,), (1342820308,), (1342825679,), (1342825951,), (1342825998,), (1342826002,), (1342826700,), (1342826710,), (1342827130,), (1342827144,), (1342827154,), (1342827173,), (1342827238,), (1342827242,), (1342827246,), (1342827268,), (1342827272,), (1342827281,), (1342827429,), (1342827434,), (1342827478,), (1342827708,), (1342827715,), (1342827720,), (1342827723,), (1342827732,), (1342827755,), (1342828042,), (1342828047,), (1342828052,), (1342828059,), (1342828072,), (1342828303,), (1342828329,), (1342828356,), (1342828725,), (1342828752,), (1342828782,), (1342828811,), (1342829094,), (1342829106,), (1342829119,), (1342829125,), (1342829128,), (1342829303,), (1342829267,), (1342829277,), (1342829279,), (1342829424,), (1342829427,), (1342829429,), (1342829431,), (1342829904,), (1342830030,), (1342830034,), (1342830036,), (1342830093,), (1342830094,), (1342830174,), (1342830178,), (1342830181,), (1342830184,), (1342830410,), (1342830432,), (1342830441,), (1342830444,), (1342830516,), (1342830563,), (1342830602,), (1342830612,), (1342830766,), (1342830812,), (1342830815,), (1342830819,), (1342830842,), (1342830845,), (1342831021,), (1342831026,), (1342831029,), (1342831042,), (1342831063,), (1342831070,), (1342831224,), (1342831229,), (1342831232,), (1342831236,), (1342831239,), (1342831375,), (1342831389,), (1342831396,), (1342831473,), (1342831493,), (1342831498,), (1342831501,), (1342831519,), (1342831543,), (1342831609,), (1342831624,), (1342831651,), (1342831680,), (1342831705,), (1342831817,), (1342831835,), (1342831837,), (1342831840,), (1342831866,), (1342832005,), (1342832025,), (1342832049,), (1342832065,), (1342832085,), (1342832122,), (1342832124,), (1342832144,), (1342832148,), (1342832521,), (1342832293,), (1342832444,), (1342832516,), (1342832518,), (1342832622,), (1342832625,), (1342832628,), (1342832685,), (1342832689,), (1342832714,), (1342832881,), (1342832902,), (1342832909,), (1342832914,), (1342832967,), (1342832977,), (1342832985,), (1342832989,), (1342833013,), (1342833358,), (1342833457,), (1342833554,), (1342833736,), (1342833740,), (1342833748,), (1342833752,), (1342833845,), (1342833866,), (1342833891,), (1342834108,), (1342834112,), (1342834117,), (1342834124,), (1342834178,), (1342834186,), (1342834189,), (1342834192,), (1342834199,), (1342834275,), (1342834354,), (1342834358,), (1342834433,), (1342834526,), (1342834763,), (1342834771,), (1342834774,), (1342834777,), (1342834779,), (1342834781,), (1342834818,), (1342834822,), (1342834826,), (1342834829,), (1342834832,), (1342835115,), (1342835134,), (1342835169,), (1342835211,), (1342835420,), (1342835422,), (1342835428,), (1342835433,), (1342835437,), (1342835442,), (1342835800,), (1342835491,), (1342835597,), (1342835663,), (1342835781,), (1342835791,), (1342836039,), (1342836042,), (1342836048,), (1342836074,), (1342836077,), (1342836082,), (1342836089,), (1342836099,), (1342836103,), (1342836193,), (1342836198,), (1342836206,), (1342836220,), (1342836228,), (1342836230,), (1342836288,), (1342836330,), (1342836348,), (1342836372,), (1342836387,), (1342836424,), (1342836436,), (1342836441,), (1342836688,), (1342836703,), (1342836708,), (1342836713,), (1342836718,), (1342836748,), (1342836752,), (1342836758,), (1342836763,), (1342836765,), (1342836808,), (1342836811,), (1342836815,), (1342836851,), (1342836877,), (1342836903,), (1342836927,), (1342836951,), (1342836976,), (1342837167,), (1342837212,), (1342837241,), (1342837266,), (1342837504,), (1342837514,), (1342837518,), (1342837524,), (1342837546,), (1342837725,), (1342837749,), (1342837752,), (1342837754,), (1342838062,), (1342838094,), (1342838124,), (1342838154,), (1342838177,), (1342838847,), (1342838508,), (1342838523,), (1342838647,), (1342839353,), (1342839383,), (1342839421,), (1342839444,), (1342839609,), (1342839643,), (1342839687,), (1342839718,), (1342839739,), (1342839776,), (1342840240,), (1342840420,), (1342840423,), (1342840646,), (1342840654,), (1342840658,), (1342840693,), (1342840697,), (1342840713,), (1342840781,), (1342840808,), (1342840820,), (1342841093,), (1342841121,), (1342841129,), (1342841161,), (1342841316,), (1342841324,), (1342841328,), (1342841331,), (1342841335,), (1342841372,), (1342841378,), (1342841411,), (1342841443,), (1342841479,), (1342841753,), (1342841803,), (1342841840,), (1342841887,), (1342841913,), (1342842113,), (1342842133,), (1342842145,), (1342842149,), (1342842193,), (1342842197,), (1342842201,), (1342842208,), (1342842219,), (1342842289,), (1342842292,), (1342842294,), (1342842297,), (1342842300,), (1342842370,), (1342842375,), (1342842392,), (1342842397,), (1342842402,), (1342842441,), (1342842427,), (1342842431,), (1342842436,), (1342842565,), (1342842590,), (1342842615,), (1342842644,), (1342842651,), (1342842827,), (1342842961,), (1342843122,), (1342843143,), (1342843147,), (1342843247,), (1342843289,), (1342843298,), (1342843303,), (1342843309,), (1342843310,), (1342843454,), (1342843483,), (1342843492,), (1342843498,), (1342843533,), (1342843606,), (1342843617,), (1342843624,), (1342843663,), (1342843675,), (1342843713,), (1342843717,), (1342843822,), (1342843827,), (1342843834,), (1342843839,), (1342843850,), (1342843860,), (1342844142,), (1342844168,), (1342844177,), (1342844186,), (1342844260,), (1342844264,), (1342844270,), (1342844285,), (1342844293,), (1342844400,), (1342844432,), (1342844493,), (1342844523,), (1342844565,), (1342844619,), (1342844863,), (1342844898,), (1342844922,), (1342844947,), (1342845025,), (1342845034,), (1342845043,), (1342845048,), (1342845051,), (1342845052,), (1342845121,), (1342845127,), (1342845132,), (1342845138,), (1342845143,), (1342845146,), (1342845563,), (1342845526,), (1342845557,), (1342845637,), (1342845641,), (1342845646,), (1342845667,), (1342845692,), (1342845718,), (1342845892,), (1342846061,), (1342846240,), (1342846398,), (1342846480,), (1342846521,), (1342846618,), (1342846678,), (1342846760,), (1342846844,), (1342846860,), (1342846872,), (1342846875,), (1342846879,), (1342846884,), (1342846901,), (1342846905,), (1342846909,), (1342846913,), (1342846928,), (1342846931,), (1342846988,), (1342846993,), (1342846998,), (1342847003,), (1342847026,), (1342847050,), (1342847054,), (1342847060,), (1342847064,), (1342847088,), (1342847101,), (1342847113,), (1342847119,), (1342847123,), (1342847169,), (1342847190,), (1342847224,), (1342847257,), (1342847684,), (1342847709,), (1342847748,), (1342847782,), (1342847899,), (1342847924,), (1342847949,), (1342847971,), (1342847975,), (1342848277,), (1342848345,), (1342848399,), (1342848437,), (1342848459,), (1342848540,), (1342848544,), (1342848549,), (1342848582,), (1342848587,), (1342848596,), (1342848603,), (1342848612,), (1342848667,), (1342848636,), (1342848641,), (1342848643,), (1342848653,), (1342848664,), (1342848699,), (1342848704,), (1342848713,), (1342848727,), (1342848791,), (1342848800,), (1342848806,), (1342848810,), (1342849196,), (1342849206,), (1342849208,), (1342849220,), (1342849279,), (1342849283,), (1342849287,), (1342849291,), (1342849294,), (1342849297,), (1342849445,), (1342849474,), (1342850943,), (1342850947,), (1342850952,), (1342851362,), (1342851367,), (1342851372,), (1342851378,), (1342851436,), (1342851523,), (1342851707,), (1342851795,), (1342851833,), (1342852282,), (1342852325,), (1342852351,), (1342852377,), (1342852397,), (1342852489,), (1342852504,), (1342852513,), (1342852516,), (1342852521,), (1342853294,), (1342853358,), (1342853385,), (1342853407,), (1342853428,), (1342853914,), (1342853707,), (1342853754,), (1342853799,), (1342853869,), (1342854552,), (1342854583,), (1342854663,), (1342854682,), (1342854949,), (1342854985,), (1342855052,), (1342855103,), (1342855397,), (1342855422,), (1342855448,), (1342855481,), (1342855496,), (1342855628,), (1342855632,), (1342855636,), (1342855642,), (1342855649,), (1342855783,), (1342855806,), (1342855827,), (1342855843,), (1342855869,), (1342856008,), (1342856012,), (1342856017,), (1342856072,), (1342856101,), (1342856135,), (1342856177,), (1342856211,), (1342856281,), (1342856382,), (1342856387,), (1342856392,), (1342856395,), (1342856406,), (1342856410,), (1342856427,), (1342856434,), (1342856445,), (1342856453,), (1342856465,), (1342856466,), (1342856471,), (1342856473,), (1342856483,), (1342856484,), (1342856498,), (1342856502,), (1342856512,), (1342856513,), (1342856518,), (1342856520,), (1342856532,), (1342856534,), (1342856541,), (1342856557,), (1342856565,), (1342856583,), (1342856588,), (1342856594,), (1342856597,), (1342856600,), (1342856604,), (1342856632,), (1342856639,), (1342856644,), (1342856664,), (1342856668,), (1342856673,), (1342856529,), (1342856614,), (1342856616,), (1342856622,), (1342856682,), (1342856687,), (1342856690,), (1342856698,), (1342856746,), (1342856757,), (1342856763,), (1342856826,), (1342856831,), (1342856848,), (1342856868,), (1342856874,), (1342856882,), (1342856913,), (1342856920,), (1342856925,), (1342856929,), (1342856930,), (1342856934,), (1342856968,), (1342856971,), (1342856975,), (1342856979,), (1342856985,), (1342857292,), (1342857312,), (1342857363,), (1342857424,), (1342857582,), (1342857633,), (1342857743,), (1342857748,), (1342857757,), (1342857760,), (1342857797,), (1342857802,), (1342857808,), (1342857813,), (1342857833,), (1342858125,), (1342858139,), (1342858162,), (1342858257,), (1342858260,), (1342858265,), (1342858271,), (1342858282,), (1342858284,), (1342858309,), (1342858314,), (1342858321,), (1342858346,), (1342858368,), (1342858378,), (1342858396,), (1342858406,), (1342858421,), (1342858443,), (1342858671,), (1342859603,), (1342859492,), (1342859531,), (1342859810,), (1342859837,), (1342859884,), (1342860234,), (1342860268,), (1342860312,), (1342860338,), (1342860371,), (1342860375,), (1342860393,), (1342860401,), (1342860484,), (1342860488,), (1342860503,), (1342860518,), (1342860561,), (1342860736,), (1342860753,), (1342860822,), (1342860845,), (1342861020,), (1342861024,), (1342861028,), (1342861032,), (1342861332,), (1342861337,), (1342861380,), (1342861385,), (1342861391,), (1342861399,), (1342861406,), (1342861464,), (1342861470,), (1342861475,), (1342861483,), (1342861494,), (1342861506,), (1342861763,), (1342861832,), (1342861941,), (1342861946,), (1342862076,), (1342862105,), (1342862132,), (1342862139,), (1342862188,), (1342862293,), (1342862302,), (1342862346,), (1342862358,), (1342862379,), (1342862403,), (1342862472,), (1342862445,), (1342862450,), (1342862459,), (1342862529,), (1342862548,), (1342862582,), (1342862631,), (1342862636,), (1342862655,), (1342862776,), (1342862780,), (1342862797,), (1342862808,), (1342862816,), (1342863123,), (1342863128,), (1342863158,), (1342863518,), (1342863545,), (1342863564,), (1342863568,), (1342863590,), (1342863889,), (1342863895,), (1342863903,), (1342863906,), (1342863910,), (1342864131,), (1342864160,), (1342864183,), (1342864209,), (1342864231,), (1342864256,), (1342864521,), (1342864563,), (1342864577,), (1342864584,), (1342864705,), (1342864736,), (1342864765,), (1342864769,), (1342864817,), (1342864822,), (1342864829,), (1342864835,), (1342864846,), (1342864849,), (1342864920,), (1342864923,), (1342864927,), (1342864939,), (1342865055,), (1342865067,), (1342865267,), (1342865325,), (1342865380,), (1342865392,), (1342865402,), (1342865531,), (1342865533,), (1342865547,), (1342865575,), (1342865607,), (1342865915,), (1342865840,), (1342865873,), (1342866658,), (1342866704,), (1342867389,), (1342867394,), (1342867433,), (1342867462,), (1342867482,), (1342867518,), (1342867844,), (1342867873,), (1342867920,), (1342868002,), (1342868688,), (1342868761,), (1342868846,), (1342868881,), (1342868927,), (1342869234,), (1342869280,), (1342869309,), (1342869341,), (1342869385,), (1342869763,), (1342869803,), (1342869839,), (1342869865,), (1342869890,), (1342870276,), (1342870280,), (1342870285,), (1342870289,), (1342870336,), (1342870341,), (1342870348,), (1342870355,), (1342870361,), (1342870403,), (1342870408,), (1342870426,), (1342870430,), (1342870444,), (1342870456,), (1342870554,), (1342870595,), (1342870634,), (1342870822,), (1342870851,), (1342870868,), (1342870915,), (1342870943,), (1342871007,), (1342871225,), (1342871235,), (1342871261,), (1342871298,), (1342871588,), (1342871773,), (1342871948,), (1342871993,), (1342872062,), (1342872536,), (1342872460,), (1342872517,), (1342872698,), (1342872728,), (1342872732,), (1342872734,), (1342872738,), (1342872741,), (1342872773,), (1342872779,), (1342872801,), (1342872850,), (1342872921,), (1342872981,), (1342873003,), (1342873014,), (1342873017,), (1342873020,), (1342873256,), (1342873276,), (1342873303,), (1342873322,), (1342873344,), (1342873375,), (1342873379,), (1342873431,), (1342873445,), (1342874003,), (1342874018,), (1342874064,), (1342874069,), (1342874072,), (1342874199,), (1342874238,), (1342874605,), (1342874657,), (1342874678,), (1342874707,), (1342874949,), (1342874957,), (1342874969,), (1342874974,), (1342874990,), (1342875021,), (1342875026,), (1342875036,), (1342875041,), (1342875046,), (1342875189,), (1342875068,), (1342875093,), (1342875172,), (1342875345,), (1342875780,), (1342875783,), (1342875793,), (1342875803,), (1342876010,), (1342876018,), (1342876028,), (1342876070,), (1342876076,), (1342876082,), (1342876088,), (1342876137,), (1342876149,), (1342876155,), (1342876172,), (1342876243,), (1342876249,), (1342876281,), (1342876286,), (1342876300,), (1342876371,), (1342876379,), (1342876384,), (1342876446,), (1342876458,), (1342876500,), (1342876523,), (1342876532,), (1342876556,), (1342876567,), (1342876571,), (1342876578,), (1342876584,), (1342876635,), (1342876639,), (1342876647,), (1342876803,), (1342876809,), (1342876814,), (1342876820,), (1342876922,), (1342876975,), (1342877023,), (1342877040,), (1342877045,), (1342877100,), (1342877124,), (1342877185,), (1342877207,), (1342877527,), (1342877564,), (1342877595,), (1342877618,), (1342877948,), (1342877896,), (1342877925,), (1342878167,), (1342878176,), (1342878190,), (1342878268,), (1342878281,), (1342878349,), (1342878354,), (1342878373,), (1342878392,), (1342878457,), (1342878493,), (1342878557,), (1342878605,), (1342878669,), (1342878862,), (1342878907,), (1342878946,), (1342879008,), (1342879061,), (1342879305,), (1342879420,), (1342879445,), (1342879460,), (1342879777,), (1342879805,), (1342879834,), (1342879880,), (1342879906,), (1342879932,), (1342880113,), (1342880191,), (1342880278,), (1342880391,), (1342880418,), (1342880446,), (1342880459,), (1342880479,), (1342880674,), (1342880714,), (1342880759,), (1342880783,), (1342880791,), (1342881043,), (1342881129,), (1342881175,), (1342881191,), (1342881254,), (1342881373,), (1342881401,), (1342881420,), (1342881443,), (1342882468,), (1342882554,), (1342882605,), (1342882646,), (1342882685,), (1342882726,), (1342882949,), (1342900860,), (1342900958,), (1342901264,), (1342901270,), (1342901274,), (1342901279,), (1342901312,), (1342901316,), (1342901320,), (1342901324,), (1342901328,), (1342901407,), (1342901491,), (1342901496,), (1342901502,), (1342901505,), (1342901521,), (1342901524,), (1342901578,), (1342901593,), (1342901598,), (1342902086,), (1342902139,), (1342902192,), (1342902241,), (1342902293,), (1342902664,), (1342902689,), (1342902723,), (1342902781,), (1342902834,), (1342902884,), (1342903192,), (1342903273,), (1342903333,), (1342903354,), (1342903361,), (1342903385,), (1342903768,), (1342903918,), (1342903935,), (1342904631,), (1342904718,), (1342904766,), (1342904815,), (1342905317,), (1342905225,), (1342905259,), (1342905289,), (1342905549,), (1342905554,), (1342905565,), (1342905595,), (1342905620,), (1342905640,), (1342905982,), (1342905991,), (1342905997,), (1342906007,), (1342906161,), (1342906177,), (1342906196,), (1342906230,), (1342906521,), (1342906543,), (1342906557,), (1342906561,), (1342906665,), (1342906670,), (1342906674,), (1342906676,), (1342906683,), (1342906928,), (1342906942,), (1342906960,), (1342906980,), (1342907422,), (1342907461,), (1342907528,), (1342907545,), (1342907580,), (1342907612,), (1342907933,), (1342908068,), (1342908223,), (1342908314,), (1342908961,), (1342908984,), (1342909004,), (1342909512,), (1342909875,), (1342909886,), (1342909952,), (1342909982,), (1342910008,), (1342910038,), (1342910318,), (1342910414,), (1342910561,), (1342910623,), (1342910815,), (1342912009,), (1342912063,), (1342912116,), (1342912164,), (1342912225,), (1342912467,), (1342912527,), (1342912598,), (1342912681,), (1342912725,), (1342912965,), (1342912832,), (1342912865,), (1342913248,), (1342913297,), (1342913323,), (1342913389,), (1342913453,), (1342913513,), (1342913625,), (1342913637,), (1342913642,), (1342913646,), (1342913662,), (1342913878,), (1342913948,), (1342913964,), (1342914042,), (1342914408,), (1342914465,), (1342914547,), (1342914615,), (1342914655,), (1342914974,), (1342914999,), (1342915017,), (1342915023,), (1342915062,), (1342915200,), (1342915222,), (1342915225,), (1342915239,), (1342915240,), (1342915494,), (1342915528,), (1342915555,), (1342915585,), (1342915738,), (1342915742,), (1342915826,), (1342915836,), (1342915853,), (1342915857,), (1342915975,), (1342915996,), (1342916006,), (1342916009,), (1342916012,), (1342916101,), (1342916104,), (1342916266,), (1342916284,), (1342916303,), (1342916453,), (1342916480,), (1342916515,), (1342916536,), (1342927357,), (1342927352,), (1342927605,), (1342928561,), (1342928726,), (1342928796,), (1342928856,), (1342928922,), (1342928994,), (1342929349,), (1342929398,), (1342929439,), (1342929486,), (1342929576,), (1342929926,), (1342930007,), (1342930066,), (1342930115,), (1342930659,), (1342930704,), (1342930755,), (1342930860,), (1342930957,), (1342931397,), (1342931433,), (1342931460,), (1342931515,), (1342932100,), (1342932183,), (1342932278,), (1342933009,), (1342933064,), (1342933103,), (1342933833,), (1342933542,), (1342933647,), (1342933696,), (1342934254,), (1342934305,), (1342934353,), (1342934389,), (1342934425,), (1342934525,), (1342934639,), (1342934659,), (1342934715,), (1342934762,), (1342935006,), (1342935033,), (1342935094,), (1342935340,), (1342935370,), (1342935393,), (1342935427,), (1342935447,), (1342935470,), (1342935525,), (1342935538,), (1342935553,), (1342935560,), (1342935684,), (1342935717,), (1342935726,), (1342935776,), (1342935798,), (1342935813,), (1342935821,), (1342935827,), (1342935997,), (1342936015,), (1342936019,), (1342936028,), (1342936044,), (1342936187,), (1342936219,), (1342936231,), (1342936251,), (1342936267,), (1342936387,), (1342936395,), (1342936422,), (1342936446,), (1342936470,), (1342936489,), (1342936604,), (1342936635,), (1342936647,), (1342936652,), (1342936654,), (1342936661,), (1342936748,), (1342936764,), (1342936808,), (1342936847,), (1342937452,), (1342937534,), (1342937630,), (1342937714,), (1342937795,), (1342937848,), (1342937941,), (1342938007,), (1342938052,), (1342938444,), (1342938317,), (1342938341,), (1342938375,), (1342939057,), (1342939115,), (1342939213,), (1342939301,), (1342939381,), (1342939458,), (1342939861,), (1342939934,), (1342940007,), (1342940104,), (1342940185,), (1342940718,), (1342940783,), (1342940951,), (1342941073,), (1342941188,), (1342941426,), (1342941484,), (1342941505,), (1342941511,), (1342941517,), (1342942205,), (1342942260,), (1342942329,), (1342942409,), (1342942924,), (1342943031,), (1342943106,), (1342943174,), (1342943215,), (1342943236,), (1342943394,), (1342943488,), (1342943595,), (1342943658,), (1342944568,), (1342944603,), (1342944659,), (1342944730,), (1342944789,), (1342944920,), (1342945170,), (1342945284,), (1342945359,), (1342945419,), (1342945456,), (1342945634,), (1342945688,), (1342945959,), (1342946002,), (1342946146,), (1342946167,), (1342946197,), (1342946206,), (1342946256,), (1342946293,), (1342946395,), (1342946538,), (1342946541,), (1342950020,), (1342949957,), (1342950453,), (1342950489,), (1342950530,), (1342950569,), (1342951001,), (1342951012,), (1342951424,), (1342951462,), (1342951477,), (1342951494,), (1342951511,), (1342951514,), (1342951713,), (1342951766,), (1342951800,), (1342951865,), (1342951933,), (1342952168,), (1342952172,), (1342952477,), (1342952489,), (1342952506,), (1342952949,), (1342953075,), (1342953176,), (1342953976,), (1342954120,), (1342954207,), (1342954620,), (1342954649,), (1342954675,), (1342954699,), (1342954742,), (1342954749,), (1342955284,), (1342955050,), (1342955186,), (1342955727,), (1342955735,), (1342955738,), (1342955742,), (1342955745,), (1342955747,), (1342955967,), (1342955970,), (1342955975,), (1342956313,), (1342956389,), (1342956481,), (1342956573,), (1342957156,), (1342957196,), (1342957247,), (1342957557,), (1342957595,), (1342957630,), (1342957645,), (1342957917,), (1342957952,), (1342957989,), (1342957995,), (1342958038,), (1342958281,), (1342958372,), (1342958404,), (1342958433,), (1342958567,), (1342958594,), (1342958636,), (1342959101,), (1342959186,), (1342959251,), (1342959281,), (1342959694,), (1342959719,), (1342959764,), (1342959823,), (1342959920,), (1342960002,), (1342960232,), (1342960284,), (1342960350,), (1342960650,), (1342960691,), (1342960725,), (1342960773,), (1342960954,), (1342961248,), (1342961254,), (1342961304,), (1342961372,), (1342961558,), (1342961749,), (1342962346,), (1342962188,), (1342962237,), (1342962314,), (1342962581,), (1342962605,), (1342962630,), (1342962679,), (1342963392,), (1342963531,), (1342963682,), (1342963805,), (1342963940,), (1342964452,), (1342964519,), (1342964573,), (1342965131,), (1342965258,), (1342965350,), (1342965434,), (1342965547,), (1342965551,), (1342965835,), (1342965883,), (1342965951,), (1342965993,), (1342966046,), (1342966082,), (1342966238,), (1342966268,), (1342966344,), (1342966548,), (1342966805,), (1342967489,), (1342967519,), (1342967586,), (1342967646,), (1342967731,), (1342967862,), (1342968126,), (1342968194,), (1342968255,), (1342968338,), (1342968386,), (1342968458,), (1342968687,), (1342968913,), (1342968948,), (1342969418,), (1342969469,), (1342970328,), (1342970378,), (1342970441,), (1342970534,), (1342970566,), (1342971083,), (1342971126,), (1342971162,), (1342971219,), (1342971264,), (1342971337,), (1342972080,), (1342972165,), (1342972246,), (1342972304,), (1342972357,), (1342972425,), (1342972945,), (1342972822,), (1342972873,), (1342973708,), (1342973776,), (1342973816,), (1342973867,), (1342973927,), (1342974064,), (1342974080,), (1342974120,), (1342974164,), (1342974204,), (1342974709,), (1342974803,), (1342975590,), (1342975679,), (1342975715,), (1342975742,), (1342975802,), (1342976232,), (1342976319,), (1342976367,), (1342976417,), (1342976872,), (1342976897,), (1342976942,), (1342977013,), (1342977064,), (1342977622,), (1342977659,), (1342977735,), (1342978388,), (1342978442,), (1342978525,), (1342978607,), (1342978677,), (1342978792,), (1342979049,), (1342979111,), (1342979229,), (1342979306,), (1342980104,), (1342980150,), (1342980196,), (1342980225,), (1342980604,), (1342980622,), (1342980786,), (1342980934,), (1342981012,), (1342981056,), (1342981396,), (1342981501,), (1342981582,), (1342981637,), (1342981681,), (1342982260,), (1342982265,), (1342982311,), (1342982785,), (1342982802,), (1342982815,), (1342982832,), (1342982875,), (1342982922,), (1342983414,), (1342983279,), (1342983324,), (1342983341,), (1342983395,), (1342984066,), (1342984117,), (1342984177,), (1342984217,), (1342984651,), (1342984664,), (1342984696,), (1342984730,), (1342984940,), (1342984949,), (1342984975,), (1342984998,), (1342985020,), (1342985029,), (1342985268,), (1342985378,), (1342985438,), (1342985889,), (1342985921,), (1342985962,), (1342986846,), (1342987178,), (1342987954,), (1342987960,), (1342988019,), (1342988038,), (1342988045,), (1342988050,), (1342988051,), (1342988158,), (1342988198,), (1342988254,), (1342988661,), (1342988551,), (1342988578,), (1342988607,), (1342988636,), (1342988842,), (1342988875,), (1342988919,), (1342988966,), (1342989014,), (1342989353,), (1342989374,), (1342989382,), (1342989419,), (1342989429,), (1342989432,), (1342989631,), (1342989665,), (1342989684,), (1342989795,), (1342989870,), (1342989876,), (1342989902,), (1342989908,), (1342990066,), (1342990095,), (1342990136,), (1342990163,), (1342990208,), (1342990246,), (1342990410,), (1342990440,), (1342990447,), (1342990456,), (1342990829,), (1342990848,), (1342990879,), (1342990927,), (1342990953,), (1342990979,), (1342991364,), (1342991406,), (1342991463,), (1342991511,), (1342991544,), (1342991613,), (1342991844,), (1342991943,), (1342992177,), (1342992844,), (1342992934,), (1342993003,), (1342993189,), (1343004436,), (1343010980,), (1343010997,), (1343011731,), (1343011809,), (1343011919,), (1343012004,), (1343012079,), (1343012693,), (1343012860,), (1343013723,), (1343013804,), (1343014701,), (1343014885,), (1343015017,), (1343015137,), (1343015278,), (1343015945,), (1343016021,), (1343016094,), (1343016229,), (1343016533,), (1343016662,), (1343016757,), (1343016834,), (1343016903,), (1343017060,), (1343017414,), (1343017663,), (1343017859,), (1343017938,), (1343017958,), (1343018018,), (1343018192,), (1343018243,), (1343018303,), (1343018357,), (1343018434,), (1343018544,), (1343018774,), (1343018861,), (1343018897,), (1343018966,), (1343019324,), (1343019338,), (1343019350,), (1343019353,), (1343019591,), (1343019517,), (1343019540,), (1343019563,), (1343019756,), (1343019762,), (1343019772,), (1343019778,), (1343020068,), (1343020108,), (1343020145,), (1343020274,), (1343020291,), (1343020308,), (1343020320,), (1343020351,), (1343020379,), (1343020475,), (1343020483,), (1343020517,), (1343020546,), (1343020907,), (1343020999,), (1343021015,), (1343021076,), (1343021117,), (1343021142,), (1343021312,), (1343021318,), (1343021329,), (1343021343,), (1343021379,), (1343021530,), (1343021564,), (1343021594,), (1343021623,), (1343021903,), (1343021943,), (1343021983,), (1343022012,), (1343022039,), (1343022062,), (1343022305,), (1343022335,), (1343022366,), (1343022402,), (1343022435,), (1343022679,), (1343022691,), (1343022696,), (1343022721,), (1343022745,), (1343022748,), (1343022803,), (1343022809,), (1343022822,), (1343022865,), (1343023455,), (1343023506,), (1343023555,), (1343023635,), (1343023668,), (1343023727,), (1343024025,), (1343024052,), (1343024060,), (1343024068,), (1343024280,), (1343024295,), (1343024300,), (1343024304,), (1343024338,), (1343024664,), (1343024558,), (1343024584,), (1343024611,), (1343024634,), (1343025000,), (1343025066,), (1343025076,), (1343025318,), (1343025332,), (1343025340,), (1343025345,), (1343025350,), (1343025361,), (1343025448,), (1343025455,), (1343025458,), (1343025464,), (1343025469,), (1343025475,), (1343025531,), (1343025535,), (1343025538,), (1343025543,), (1343025549,), (1343025595,), (1343025598,), (1343025618,), (1343025662,), (1343025689,), (1343025725,), (1343025862,), (1343025876,), (1343025989,), (1343026012,), (1343026218,), (1343026224,), (1343026237,), (1343026265,), (1343026270,), (1343026388,), (1343026410,), (1343026441,), (1343026472,), (1343026493,), (1343026554,), (1343026580,), (1343026613,), (1343026640,), (1343026645,), (1343026781,), (1343026791,), (1343026796,), (1343026836,), (1343026905,), (1343027065,), (1343027076,), (1343027082,), (1343027084,), (1343027096,), (1343027316,), (1343027318,), (1343027324,), (1343027330,), (1343027334,), (1343027336,), (1343027438,), (1343027443,), (1343027449,), (1343027455,), (1343027741,), (1343027780,), (1343027813,), (1343027816,), (1343027823,), (1343027832,), (1343027916,), (1343027883,), (1343027901,), (1343027906,), (1343027911,), (1343028208,), (1343028233,), (1343028260,), (1343028266,), (1343028288,), (1343028307,), (1343028564,), (1343028584,), (1343028587,), (1343028700,), (1343028747,), (1343028948,), (1343028974,), (1343029027,), (1343029051,), (1343029211,), (1343029240,), (1343029267,), (1343029294,), (1343029322,), (1343029330,), (1343029430,), (1343029507,), (1343029526,), (1343029529,), (1343029536,), (1343029750,), (1343029785,), (1343029805,), (1343030286,), (1343030312,), (1343030324,), (1343030329,), (1343030337,), (1343030344,), (1343030376,), (1343030422,), (1343030434,), (1343030453,), (1343030594,), (1343030602,), (1343030611,), (1343030649,), (1343030706,), (1343030722,), (1343031072,), (1343031115,), (1343031171,), (1343031221,), (1343031265,), (1343031714,), (1343031896,), (1343031984,), (1343032005,), (1343032117,), (1343032463,), (1343032511,), (1343032573,), (1343032618,), (1343032655,), (1343033318,), (1343035807,), (1343035545,), (1343035625,), (1343035724,), (1343036514,), (1343036597,), (1343036700,), (1343036775,), (1343036841,), (1343037250,), (1343037316,), (1343037366,), (1343037435,), (1343037493,), (1343037939,), (1343037962,), (1343038017,), (1343038044,), (1343038567,), (1343038643,), (1343038701,), (1343038749,), (1343038798,), (1343038839,), (1343039243,), (1343039268,), (1343039371,), (1343039440,), (1343039947,), (1343040036,), (1343040106,), (1343040142,), (1343040202,), (1343040244,), (1343040645,), (1343040692,), (1343040746,), (1343040751,), (1343040786,), (1343041373,), (1343041447,), (1343041532,), (1343041586,), (1343041626,), (1343041979,), (1343042021,), (1343042077,), (1343042088,), (1343042094,), (1343042110,), (1343042269,), (1343042312,), (1343042318,), (1343042342,), (1343042526,), (1343042562,), (1343042599,), (1343042622,), (1343042644,), (1343042670,), (1343042921,), (1343042776,), (1343042829,), (1343042871,), (1343043349,), (1343043508,), (1343043662,), (1343043763,), (1343044333,), (1343044389,), (1343044471,), (1343044544,), (1343044593,), (1343044668,), (1343044861,), (1343044921,), (1343044981,), (1343045006,), (1343045026,), (1343045403,), (1343045443,), (1343045499,), (1343045530,), (1343045562,), (1343045671,), (1343045723,), (1343045891,), (1343046123,), (1343046228,), (1343046272,), (1343046571,), (1343046664,), (1343046679,), (1343046704,), (1343046727,), (1343047071,), (1343047163,), (1343047278,), (1343047367,), (1343047395,), (1343047506,), (1343047549,), (1343047583,), (1343047626,), (1343047648,), (1343047764,), (1343047806,), (1343047848,), (1343047910,), (1343047977,), (1343048016,), (1343048262,), (1343048291,), (1343048318,), (1343048346,), (1343048613,), (1343048656,), (1343048751,), (1343048774,), (1343048800,), (1343048874,), (1343048956,), (1343048978,), (1343049007,), (1343049016,), (1343049080,), (1343049240,), (1343049266,), (1343049302,), (1343049327,), (1343049358,), (1343049439,), (1343049459,), (1343049482,), (1343049526,), (1343050041,), (1343049847,), (1343049879,), (1343049890,), (1343049969,), (1343049996,), (1343050175,), (1343050484,), (1343050495,), (1343050599,), (1343050641,), (1343050681,), (1343050715,), (1343050753,), (1343051052,), (1343051082,), (1343051094,), (1343051151,), (1343051199,), (1343051546,), (1343051624,), (1343051846,), (1343051989,), (1343052407,), (1343052486,), (1343052542,), (1343052572,), (1343052592,), (1343052601,), (1343052723,), (1343052768,), (1343052802,), (1343052857,), (1343053210,), (1343053281,), (1343053327,), (1343053364,), (1343053392,), (1343053454,), (1343053656,), (1343053689,), (1343053712,), (1343053791,), (1343053796,), (1343053801,), (1343053807,), (1343053814,), (1343053821,), (1343053910,), (1343053916,), (1343053927,), (1343053929,), (1343053947,), (1343054289,), (1343054307,), (1343054336,), (1343054432,), (1343054500,), (1343054573,), (1343054963,), (1343055025,), (1343055094,), (1343055179,), (1343055544,), (1343055549,), (1343055579,), (1343055602,), (1343055625,), (1343055951,), (1343055831,), (1343055859,), (1343055885,), (1343055919,), (1343056204,), (1343056239,), (1343056289,), (1343056322,), (1343056360,), (1343056400,), (1343056408,), (1343056417,), (1343056422,), (1343056622,), (1343056629,), (1343056642,), (1343056913,), (1343056963,), (1343056970,), (1343056976,), (1343056983,), (1343056998,), (1343057007,), (1343057171,), (1343057178,), (1343057185,), (1343057189,), (1343057195,), (1343057205,), (1343057314,), (1343057339,), (1343057382,), (1343057415,), (1343057450,), (1343057537,), (1343057550,), (1343057590,), (1343057595,), (1343057599,), (1343057601,), (1343057872,), (1343057898,), (1343057926,), (1343058003,), (1343058136,), (1343058140,), (1343058146,), (1343058149,), (1343058150,), (1343058183,), (1343058245,), (1343058297,), (1343058343,), (1343058361,), (1343058406,), (1343058814,), (1343058854,), (1343058873,), (1343058877,), (1343058923,), (1343058930,), (1343058950,), (1343058956,), (1343058987,), (1343058990,), (1343059025,), (1343059034,), (1343059128,), (1343059191,), (1343059380,), (1343059294,), (1343059320,), (1343059342,), (1343059352,), (1343059479,), (1343059518,), (1343059562,), (1343059615,), (1343059672,), (1343059718,), (1343060099,), (1343060178,), (1343060242,), (1343060293,), (1343060576,), (1343060628,), (1343060684,), (1343060742,), (1343060834,), (1343060887,), (1343061301,), (1343061319,), (1343061337,), (1343061355,), (1343061360,), (1343061621,), (1343061679,), (1343061707,), (1343061741,), (1343061762,), (1343062025,), (1343062106,), (1343062216,), (1343062253,), (1343062293,), (1343062668,), (1343062700,), (1343062745,), (1343063083,), (1343063129,), (1343063132,), (1343063189,), (1343063283,), (1343063342,), (1343063401,), (1343063455,), (1343063602,), (1343063643,), (1343063682,), (1343063730,), (1343063859,), (1343063892,), (1343063915,), (1343063939,), (1343063979,), (1343063986,), (1343064010,), (1343064034,), (1343064054,), (1343064078,), (1343064344,), (1343064378,), (1343064409,), (1343064421,), (1343064659,), (1343064681,), (1343064694,), (1343064709,), (1343064742,), (1343064763,), (1343064863,), (1343064890,), (1343064900,), (1343064910,), (1343065031,), (1343065066,), (1343065091,), (1343065117,), (1343065158,), (1343065784,), (1343065603,), (1343065638,), (1343065687,), (1343065730,), (1343066285,), (1343066327,), (1343066355,), (1343066405,), (1343066445,), (1343066490,), (1343066891,), (1343066920,), (1343066970,), (1343067423,), (1343067452,), (1343067485,), (1343067498,), (1343067526,), (1343067552,), (1343067696,), (1343067708,), (1343067716,), (1343067744,), (1343068119,), (1343068149,), (1343068175,), (1343068206,), (1343068228,), (1343068252,), (1343068401,), (1343068421,), (1343068473,), (1343068524,), (1343069006,), (1343069025,), (1343069042,), (1343069065,), (1343069115,), (1343069162,), (1343069667,), (1343069748,), (1343069841,), (1343069873,), (1343069913,), (1343069919,), (1343070257,), (1343070328,), (1343070359,), (1343070408,), (1343070605,), (1343070634,), (1343070674,), (1343070714,), (1343070754,), (1343070821,), (1343071087,), (1343071692,), (1343071723,), (1343071766,), (1343071819,), (1343071856,), (1343071875,), (1343072003,), (1343072027,), (1343072034,), (1343072054,), (1343072146,), (1343072150,), (1343072152,), (1343072182,), (1343072678,), (1343072504,), (1343072531,), (1343072557,), (1343072589,), (1343072616,), (1343072838,), (1343072855,), (1343072884,), (1343072887,), (1343072986,), (1343072992,), (1343073002,), (1343073005,), (1343073048,), (1343073055,), (1343073206,), (1343073248,), (1343073271,), (1343073300,), (1343073321,), (1343073441,), (1343073446,), (1343073451,), (1343073457,), (1343073460,), (1343073462,), (1343073536,), (1343073558,), (1343073565,), (1343073590,), (1343073631,), (1343073749,), (1343073766,), (1343073810,), (1343073840,), (1343074144,), (1343074214,), (1343074225,), (1343074232,), (1343074236,), (1343074254,), (1343074305,), (1343074330,), (1343074366,), (1343074421,), (1343074531,), (1343074562,), (1343074656,), (1343074721,), (1343074907,), (1343075016,), (1343075025,), (1343075155,), (1343075167,), (1343075255,), (1343075547,), (1343075635,), (1343075691,), (1343076054,), (1343076074,), (1343076116,), (1343076153,), (1343076202,), (1343076226,), (1343076595,), (1343076650,), (1343076680,), (1343076745,), (1343076806,), (1343077352,), (1343077396,), (1343077459,), (1343077535,), (1343078065,), (1343077902,), (1343077939,), (1343077952,), (1343077986,), (1343078019,), (1343078229,), (1343078281,), (1343078332,), (1343078383,), (1343078432,), (1343078809,), (1343078858,), (1343078898,), (1343078943,), (1343079048,), (1343079063,), (1343079087,), (1343079113,), (1343079135,), (1343079148,), (1343079330,), (1343079483,), (1343079521,), (1343079752,), (1343079789,), (1343079815,), (1343079863,), (1343079901,), (1343079945,), (1343080295,), (1343080368,), (1343080452,), (1343080505,), (1343080587,), (1343081032,), (1343081063,), (1343081133,), (1343081169,), (1343081221,), (1343081275,), (1343081442,), (1343081521,), (1343081563,), (1343081580,), (1343081638,), (1343081669,), (1343081686,), (1343081717,), (1343081745,), (1343081780,), (1343082037,), (1343082133,), (1343082143,), (1343082198,), (1343082673,), (1343082766,), (1343082813,), (1343082872,), (1343082902,), (1343082930,), (1343083066,), (1343083086,), (1343083109,), (1343083136,), (1343083176,), (1343083755,), (1343083782,), (1343083807,), (1343083828,), (1343083856,), (1343084109,), (1343084045,), (1343084047,), (1343084065,), (1343084247,), (1343084268,), (1343084350,), (1343084423,), (1343084460,), (1343084773,), (1343084797,), (1343084820,), (1343084855,), (1343084893,), (1343085121,), (1343085209,), (1343085232,), (1343085602,), (1343085632,), (1343085670,), (1343086070,), (1343086112,), (1343086146,), (1343086229,), (1343086276,), (1343086363,), (1343086610,), (1343086740,), (1343086775,), (1343086827,), (1343086851,), (1343086964,), (1343086990,), (1343087038,), (1343087095,), (1343087379,), (1343087417,), (1343087463,), (1343087510,), (1343087559,), (1343087576,), (1343087699,), (1343087704,), (1343087713,), (1343087725,), (1343087939,), (1343087942,), (1343087946,), (1343087957,), (1343087962,), (1343087973,), (1343088317,), (1343088374,), (1343088415,), (1343088439,), (1343088469,), (1343088504,), (1343088508,), (1343088610,), (1343088770,), (1343088995,), (1343089120,), (1343089304,), (1343089323,), (1343089326,), (1343089338,), (1343089683,), (1343089749,), (1343089793,), (1343089836,), (1343089886,), (1343090452,), (1343090355,), (1343090405,), (1343090438,), (1343090449,), (1343090501,), (1343090505,), (1343090509,), (1343090536,), (1343090636,), (1343091094,), (1343091229,), (1343091332,), (1343091399,), (1343091860,), (1343091958,), (1343092117,), (1343092193,), (1343092366,), (1343092939,), (1343093004,), (1343093144,), (1343093362,), (1343093499,), (1343093819,), (1343094507,), (1343094637,), (1343094782,), (1343094898,), (1343095765,), (1343095780,), (1343095940,), (1343096079,), (1343096127,), (1343096156,), (1343096420,), (1343096447,), (1343096524,), (1343096601,), (1343097194,), (1343097270,), (1343097357,), (1343097455,), (1343097607,), (1343097718,), (1343098182,), (1343098281,), (1343098368,), (1343098432,), (1343099191,), (1343099254,), (1343099349,), (1343099415,), (1343099469,), (1343099498,), (1343099635,), (1343099661,), (1343099683,), (1343099736,), (1343099783,), (1343100157,), (1343100246,), (1343100369,), (1343100453,), (1343101105,), (1343101180,), (1343101276,), (1343101338,), (1343101347,), (1343101374,), (1343101517,), (1343101522,), (1343101561,), (1343101584,), (1343101599,), (1343102102,), (1343101940,), (1343101981,), (1343102016,), (1343102045,), (1343102082,), (1343102207,), (1343102229,), (1343102266,), (1343102286,), (1343102410,), (1343102809,), (1343102883,), (1343102936,), (1343102977,), (1343103038,), (1343103063,), (1343103580,), (1343103638,), (1343104336,), (1343107305,), (1343107340,), (1343107368,), (1343107786,), (1343108120,), (1343108151,), (1343108173,), (1343108192,), (1343108204,), (1343108711,), (1343108446,), (1343108511,), (1343108622,), (1343109125,), (1343109214,), (1343109291,), (1343109331,), (1343109346,), (1343109372,), (1343109537,), (1343109566,), (1343109581,), (1343109622,), (1343109647,), (1343109868,), (1343109899,), (1343109928,), (1343109953,), (1343110015,), (1343110018,), (1343110047,), (1343110055,), (1343110059,), (1343110072,), (1343110206,), (1343110231,), (1343110257,), (1343110318,), (1343110362,), (1343110447,), (1343110459,), (1343110477,), (1343110495,), (1343110561,), (1343110565,), (1343110569,), (1343110575,), (1343110581,), (1343110588,), (1343110607,), (1343110615,), (1343110617,), (1343110619,), (1343110623,), (1343110658,), (1343110661,), (1343110664,), (1343110679,), (1343110714,), (1343110736,), (1343110896,), (1343110941,), (1343110972,), (1343111013,), (1343111054,), (1343111441,), (1343111476,), (1343111517,), (1343111548,), (1343111588,), (1343111797,), (1343111829,), (1343111852,), (1343111903,), (1343112025,), (1343112044,), (1343112705,), (1343112743,), (1343112789,), (1343112833,), (1343112872,), (1343112961,), (1343113028,), (1343113065,), (1343113095,), (1343113134,), (1343113416,), (1343113257,), (1343113285,), (1343113337,), (1343113374,), (1343113794,), (1343113854,), (1343113936,), (1343114018,), (1343114060,), (1343114801,), (1343114883,), (1343114940,), (1343114979,), (1343115044,), (1343115106,), (1343115813,), (1343115866,), (1343115916,), (1343115978,), (1343116097,), (1343116130,), (1343116195,), (1343116283,), (1343116353,), (1343116395,), (1343116928,), (1343116955,), (1343117374,), (1343117746,), (1343117777,), (1343117834,), (1343117888,), (1343117913,), (1343117988,), (1343118501,), (1343118576,), (1343118649,), (1343118701,), (1343118766,), (1343119209,), (1343119279,), (1343119352,), (1343119426,), (1343119504,), (1343119561,), (1343119956,), (1343120045,), (1343120098,), (1343120700,), (1343120721,), (1343120826,), (1343120904,), (1343120984,), (1343121099,), (1343121868,), (1343121969,), (1343121990,), (1343122025,), (1343122167,), (1343122197,), (1343122223,), (1343122245,), (1343122250,), (1343122259,), (1343122341,), (1343122369,), (1343122423,), (1343122828,), (1343122909,), (1343122949,), (1343122979,), (1343122993,), (1343123013,), (1343123149,), (1343123121,), (1343123138,), (1343123143,), (1343123340,), (1343123416,), (1343123466,), (1343123473,), (1343123482,), (1343123487,), (1343123527,), (1343123531,), (1343123537,), (1343123543,), (1343123738,), (1343123766,), (1343123797,), (1343123821,), (1343123848,), (1343123871,), (1343123923,), (1343123929,), (1343123932,), (1343123938,), (1343123940,), (1343123978,), (1343124008,), (1343124014,), (1343124019,), (1343124021,), (1343124079,), (1343124083,), (1343124096,), (1343124118,), (1343124142,), (1343124286,), (1343124293,), (1343124299,), (1343124304,), (1343124307,), (1343124333,), (1343124345,), (1343124353,), (1343124359,), (1343124364,), (1343124381,), (1343124418,), (1343124429,), (1343124434,), (1343124437,), (1343124480,), (1343124484,), (1343124487,), (1343124502,), (1343124508,), (1343124523,), (1343124548,), (1343124554,), (1343124569,), (1343124788,), (1343124796,), (1343124802,), (1343124808,), (1343124812,), (1343124820,), (1343124939,), (1343124958,), (1343124975,), (1343124982,), (1343124986,), (1343125089,), (1343125177,), (1343125259,), (1343125270,), (1343125273,), (1343125275,), (1343125339,), (1343133435,), (1343133469,), (1343133856,), (1343133877,), (1343133900,), (1343133919,), (1343133923,), (1343133925,), (1343134078,), (1343134164,), (1343134311,), (1343134611,), (1343134637,), (1343134661,), (1343134688,), (1343134704,), (1343134735,), (1343134984,), (1343134998,), (1343135027,), (1343135067,), (1343135104,), (1343135120,), (1343135233,), (1343135275,), (1343135357,), (1343135480,), (1343135589,), (1343135596,), (1343135600,), (1343135612,), (1343135638,), (1343135656,), (1343135846,), (1343135868,), (1343135892,), (1343135911,), (1343136194,), (1343136284,), (1343136297,), (1343136306,), (1343136315,), (1343136320,), (1343136337,), (1343136345,), (1343136350,), (1343136355,), (1343136359,), (1343136363,), (1343136414,), (1343136419,), (1343136424,), (1343136428,), (1343136544,), (1343136550,), (1343136565,), (1343136576,), (1343136585,), (1343136715,), (1343136742,), (1343136766,), (1343136794,), (1343136816,), (1343136837,), (1343136921,), (1343136928,), (1343136933,), (1343136937,), (1343137423,), (1343137252,), (1343137271,), (1343137325,), (1343137385,), (1343137842,), (1343137852,), (1343137881,), (1343137907,), (1343138002,), (1343138010,), (1343138014,), (1343138019,), (1343138022,), (1343138024,), (1343138066,), (1343138074,), (1343138082,), (1343138095,), (1343138120,), (1343138510,), (1343138613,), (1343138662,), (1343138695,), (1343138722,), (1343139257,), (1343139306,), (1343139310,), (1343139325,), (1343139329,), (1343139629,), (1343139642,), (1343139661,), (1343139667,), (1343139671,), (1343139674,), (1343139794,), (1343139799,), (1343139804,), (1343139808,), (1343139813,), (1343139864,), (1343139870,), (1343139875,), (1343139885,), (1343139896,), (1343139926,), (1343140060,), (1343140064,), (1343140072,), (1343140079,), (1343140253,), (1343140264,), (1343140272,), (1343140279,), (1343140290,), (1343140317,), (1343140430,), (1343140442,), (1343140449,), (1343140453,), (1343140482,), (1343140484,), (1343140489,), (1343140494,), (1343140498,), (1343140507,), (1343140548,), (1343140552,), (1343140564,), (1343140589,), (1343140912,), (1343140938,), (1343140965,), (1343140991,), (1343141019,), (1343141065,), (1343141399,), (1343141333,), (1343141359,), (1343141384,), (1343141390,), (1343141394,), (1343141473,), (1343141478,), (1343141492,), (1343141872,), (1343141918,), (1343141962,), (1343142013,), (1343142051,), (1343142160,), (1343142398,), (1343142416,), (1343142442,), (1343142478,), (1343142597,), (1343142620,), (1343142643,), (1343142651,), (1343142770,), (1343142820,), (1343142892,), (1343142906,), (1343142916,), (1343142920,), (1343143043,), (1343143066,), (1343143080,), (1343143090,), (1343143109,), (1343143128,), (1343143262,), (1343143302,), (1343143357,), (1343143383,), (1343143409,), (1343143543,), (1343143556,), (1343143576,), (1343143584,), (1343143811,), (1343143868,), (1343143889,), (1343143910,), (1343143917,), (1343143923,), (1343144052,), (1343144062,), (1343144068,), (1343144097,), (1343144176,), (1343144180,), (1343144185,), (1343144211,), (1343144241,), (1343144270,), (1343144518,), (1343144566,), (1343144597,), (1343144625,), (1343144644,), (1343144972,), (1343144989,), (1343145008,), (1343145028,), (1343145051,), (1343145080,), (1343145321,), (1343145326,), (1343145339,), (1343145348,), (1343145516,), (1343145490,), (1343145499,), (1343145507,), (1343145512,), (1343145515,), (1343145720,), (1343145755,), (1343145800,), (1343146120,), (1343146145,), (1343146184,), (1343146207,), (1343146236,), (1343146262,), (1343146534,), (1343146573,), (1343146611,), (1343146639,), (1343146790,), (1343146828,), (1343146873,), (1343146924,), (1343147000,), (1343147048,), (1343147240,), (1343147246,), (1343147270,), (1343147280,), (1343147287,), (1343147449,), (1343147454,), (1343147486,), (1343147492,), (1343147513,), (1343147539,), (1343147912,), (1343147950,), (1343148005,), (1343148028,), (1343148422,), (1343148467,), (1343148517,), (1343148532,), (1343148541,), (1343148544,), (1343148728,), (1343148767,), (1343148781,), (1343148806,), (1343149719,), (1343149883,), (1343149986,), (1343150043,), (1343150078,), (1343150126,), (1343150611,), (1343150719,), (1343150782,), (1343150792,), (1343151360,), (1343151470,), (1343151543,), (1343151570,), (1343151601,), (1343151643,), (1343152369,), (1343152433,), (1343152507,), (1343152630,), (1343152665,), (1343152749,), (1343152781,), (1343152809,), (1343152843,), (1343153221,), (1343152970,), (1343153012,), (1343153026,), (1343153126,), (1343153161,), (1343153453,), (1343153516,), (1343153584,), (1343153645,), (1343153711,), (1343154149,), (1343154220,), (1343154299,), (1343154443,), (1343154479,), (1343154535,), (1343154852,), (1343155053,), (1343155112,), (1343155143,), (1343155171,), (1343155630,), (1343155707,), (1343155796,), (1343155827,), (1343155900,), (1343155937,), (1343156292,), (1343156322,), (1343156356,), (1343156905,), (1343156927,), (1343156975,), (1343156998,), (1343157016,), (1343157041,), (1343157243,), (1343157259,), (1343157295,), (1343157323,), (1343157783,), (1343157828,), (1343157879,), (1343157942,), (1343158005,), (1343158051,), (1343158490,), (1343158537,), (1343158583,), (1343158643,), (1343158700,), (1343158998,), (1343159046,), (1343159110,), (1343159160,), (1343159189,), (1343159218,), (1343159483,), (1343159536,), (1343159576,), (1343159601,), (1343159654,), (1343160061,), (1343160121,), (1343160170,), (1343160239,), (1343160444,), (1343160463,), (1343160487,), (1343160515,), (1343160558,), (1343160591,), (1343160796,), (1343160839,), (1343160893,), (1343160932,), (1343160959,), (1343161133,), (1343161109,), (1343161113,), (1343161118,), (1343161123,), (1343161127,), (1343161504,), (1343161577,), (1343161590,), (1343161599,), (1343161976,), (1343161986,), (1343162015,), (1343162025,), (1343162029,), (1343162105,), (1343162113,), (1343162126,), (1343162144,), (1343162149,), (1343162153,), (1343162274,), (1343162306,), (1343162322,), (1343162386,), (1343162404,), (1343162433,), (1343163147,), (1343163151,), (1343163636,), (1343163640,), (1343163645,), (1343163647,), (1343163650,), (1343163903,), (1343163909,), (1343163993,), (1343163996,), (1343164001,), (1343164006,), (1343164008,), (1343164012,), (1343164044,), (1343164049,), (1343164054,), (1343164057,), (1343164059,), (1343164090,), (1343164093,), (1343164095,), (1343164099,), (1343164103,), (1343164233,), (1343164237,), (1343164241,), (1343164245,), (1343164261,), (1343164281,), (1343164396,), (1343164400,), (1343164405,), (1343164410,), (1343164465,), (1343164476,), (1343164481,), (1343164485,), (1343164497,), (1343164506,), (1343164555,), (1343164558,), (1343164577,), (1343164878,), (1343164771,), (1343164778,), (1343164824,), (1343164857,), (1343165136,), (1343165167,), (1343165188,), (1343165195,), (1343165198,), (1343165338,), (1343165345,), (1343165349,), (1343165360,), (1343165366,), (1343165603,), (1343165612,), (1343165620,), (1343165631,), (1343165640,), (1343165687,), (1343165718,), (1343165746,), (1343165760,), (1343165765,), (1343165770,), (1343165804,), (1343165812,), (1343165820,), (1343165844,), (1343165850,), (1343166210,), (1343166232,), (1343166257,), (1343166289,), (1343166311,), (1343166340,), (1343166513,), (1343166514,), (1343166527,), (1343166532,), (1343166539,), (1343166594,), (1343166606,), (1343166618,), (1343166622,), (1343166630,), (1343166711,), (1343166732,), (1343166747,), (1343166767,), (1343166775,), (1343166786,), (1343166908,), (1343166937,), (1343166974,), (1343167013,), (1343167061,), (1343167358,), (1343167388,), (1343167443,), (1343167455,), (1343167510,), (1343167517,), (1343167525,), (1343167538,), (1343167545,), (1343167546,), (1343167620,), (1343167686,), (1343167784,), (1343167803,), (1343168065,), (1343168143,), (1343168218,), (1343168274,), (1343168328,), (1343168367,), (1343168830,), (1343168744,), (1343168800,), (1343168809,), (1343169036,), (1343169074,), (1343169127,), (1343169181,), (1343169199,), (1343169204,), (1343169296,), (1343169368,), (1343169387,), (1343169396,), (1343169474,), (1343169481,), (1343169488,), (1343169499,), (1343169505,), (1343169508,), (1343169581,), (1343169593,), (1343169611,), (1343169636,), (1343169657,), (1343169719,), (1343169725,), (1343169730,), (1343169741,), (1343169758,), (1343169791,), (1343169841,), (1343169884,), (1343169917,), (1343169931,), (1343170113,), (1343170123,), (1343170134,), (1343170143,), (1343170147,), (1343170156,), (1343170180,), (1343170183,), (1343170191,), (1343170197,), (1343170350,), (1343170396,), (1343170422,), (1343170444,), (1343170466,), (1343170499,), (1343170648,), (1343170806,), (1343170818,), (1343170844,), (1343170868,), (1343171060,), (1343171098,), (1343171133,), (1343171157,), (1343171170,), (1343171179,), (1343171202,), (1343171208,), (1343171212,), (1343171216,), (1343171221,), (1343171615,), (1343171639,), (1343171709,), (1343171759,), (1343171823,), (1343171931,), (1343172415,), (1343172128,), (1343172215,), (1343172286,), (1343172344,), (1343172820,), (1343172874,), (1343173010,), (1343173119,), (1343173786,), (1343173896,), (1343173940,), (1343174001,), (1343174179,), (1343174326,), (1343174555,), (1343174638,), (1343174709,), (1343174782,), (1343175398,), (1343175460,), (1343175629,), (1343175735,), (1343175826,), (1343175849,), (1343176500,), (1343176627,), (1343176700,), (1343177492,), (1343179146,), (1343179192,), (1343179720,), (1343179771,), (1343179801,), (1343179856,), (1343179885,), (1343180316,), (1343180400,), (1343180465,), (1343180510,), (1343180524,), (1343180551,), (1343180883,), (1343180914,), (1343180955,), (1343181025,), (1343181061,), (1343181137,), (1343181171,), (1343181207,), (1343181229,), (1343181249,), (1343181272,), (1343181542,), (1343181550,), (1343181591,), (1343181647,), (1343181685,), (1343182097,), (1343182172,), (1343182204,), (1343182208,), (1343182222,), (1343182234,), (1343182303,), (1343182270,), (1343182275,), (1343182291,), (1343182418,), (1343182431,), (1343182434,), (1343182461,), (1343182468,), (1343182470,), (1343182560,), (1343182588,), (1343182608,), (1343182612,), (1343182647,), (1343183042,), (1343183120,), (1343183173,), (1343183198,), (1343183211,), (1343183213,), (1343183516,), (1343183570,), (1343183593,), (1343183628,), (1343183918,), (1343184064,), (1343184159,), (1343184187,), (1343184213,), (1343184296,), (1343184444,), (1343184454,), (1343184457,), (1343184708,), (1343184801,), (1343184909,), (1343184959,), (1343185012,), (1343185024,), (1343185104,), (1343185114,), (1343185119,), (1343185123,), (1343185186,), (1343185206,), (1343185223,), (1343185230,), (1343185270,), (1343185292,), (1343185296,), (1343185312,), (1343185327,), (1343185332,), (1343185334,), (1343185386,), (1343185407,), (1343185414,), (1343185435,), (1343185764,), (1343185819,), (1343185851,), (1343185918,), (1343185973,), (1343185981,), (1343186363,), (1343186411,), (1343186472,), (1343186539,), (1343187190,), (1343187299,), (1343187392,), (1343187471,), (1343187560,), (1343187609,), (1343188156,), (1343187981,), (1343188033,), (1343188067,), (1343188106,), (1343188767,), (1343188831,), (1343188884,), (1343188931,), (1343188982,), (1343189354,), (1343189394,), (1343189479,), (1343189534,), (1343189636,), (1343189663,), (1343190020,), (1343190085,), (1343190156,), (1343190202,), (1343190503,), (1343190558,), (1343190623,), (1343190660,), (1343190690,), (1343190726,), (1343191000,), (1343191098,), (1343191187,), (1343191264,), (1343191890,), (1343191894,), (1343191899,), (1343191930,), (1343192007,), (1343192095,), (1343192547,), (1343192578,), (1343192633,), (1343192752,), (1343193494,), (1343193574,), (1343193635,), (1343193656,), (1343193730,), (1343193786,), (1343194200,), (1343194275,), (1343194319,), (1343194357,), (1343194373,), (1343194557,), (1343194573,), (1343194621,), (1343201307,), (1343199623,), (1343201302,), (1343201340,), (1343201342,), (1343201347,), (1343201614,), (1343201768,), (1343201781,), (1343201818,), (1343201829,), (1343202177,), (1343202192,), (1343202206,), (1343202232,), (1343202253,), (1343202426,), (1343202434,), (1343202439,), (1343202799,), (1343202837,), (1343203444,), (1343203542,), (1343203592,), (1343203615,), (1343203678,), (1343204357,), (1343204158,), (1343204213,), (1343204220,), (1343204295,), (1343204681,), (1343204695,), (1343204711,), (1343204733,), (1343204756,), (1343204933,), (1343204953,), (1343205292,), (1343205296,), (1343205301,), (1343205306,), (1343205318,), (1343205412,), (1343205456,), (1343205493,), (1343205559,), (1343205609,), (1343205672,), (1343205986,), (1343206022,), (1343206046,), (1343206297,), (1343206367,), (1343206389,), (1343206405,), (1343206431,), (1343206450,), (1343206541,), (1343206569,), (1343206594,), (1343206625,), (1343206643,), (1343206823,), (1343206850,), (1343206877,), (1343206902,), (1343207191,), (1343207269,), (1343207300,), (1343207420,), (1343207470,), (1343207500,), (1343207694,), (1343207723,), (1343207728,), (1343207733,), (1343207735,), (1343207747,), (1343207772,), (1343207785,), (1343207791,), (1343207835,), (1343207840,), (1343207851,), (1343207870,), (1343207876,), (1343207941,), (1343208345,), (1343208407,), (1343208424,), (1343208429,), (1343208434,), (1343208451,), (1343208520,), (1343208523,), (1343208527,), (1343208683,), (1343208655,), (1343208669,), (1343208673,), (1343208679,), (1343208736,), (1343208739,), (1343208743,), (1343208746,), (1343208766,), (1343208840,), (1343208916,), (1343208973,), (1343209006,), (1343209024,), (1343209091,), (1343209222,), (1343209229,), (1343209233,), (1343209277,), (1343209283,), (1343209289,), (1343209342,), (1343209378,), (1343209411,), (1343209416,), (1343209418,), (1343209448,), (1343209457,), (1343209500,), (1343209504,), (1343209509,), (1343209514,), (1343209518,), (1343209520,), (1343209607,), (1343209659,), (1343209676,), (1343210139,), (1343210168,), (1343210282,), (1343210655,), (1343210663,), (1343210676,), (1343210683,), (1343210690,), (1343210868,), (1343210882,), (1343210911,), (1343210920,), (1343210995,), (1343211011,), (1343211017,), (1343211020,), (1343211025,), (1343211027,), (1343211099,), (1343211106,), (1343211110,), (1343211113,), (1343211291,), (1343211319,), (1343211345,), (1343211364,), (1343211373,), (1343211388,), (1343211526,), (1343211421,), (1343211438,), (1343211461,), (1343211483,), (1343211507,), (1343211556,), (1343211562,), (1343211566,), (1343211568,), (1343211640,), (1343211644,), (1343211679,), (1343211766,), (1343211769,), (1343211780,), (1343211788,), (1343211831,), (1343211835,), (1343211862,), (1343211865,), (1343211868,), (1343211927,), (1343211954,), (1343211972,), (1343212015,), (1343212061,), (1343212085,), (1343212223,), (1343212246,), (1343212275,), (1343212299,), (1343212539,), (1343212552,), (1343212571,), (1343212589,), (1343212612,), (1343212639,), (1343212761,), (1343212768,), (1343212781,), (1343212785,), (1343212794,), (1343212815,), (1343212968,), (1343212995,), (1343213025,), (1343213040,), (1343213157,), (1343213301,), (1343213333,), (1343213338,), (1343213559,), (1343214342,), (1343214348,), (1343214357,), (1343214522,), (1343214570,), (1343214617,), (1343214664,), (1343214717,), (1343215080,), (1343214894,), (1343214919,), (1343214965,), (1343214992,), (1343215035,), (1343215480,), (1343215511,), (1343215661,), (1343215800,), (1343215893,), (1343216983,), (1343217070,), (1343217098,), (1343217436,), (1343217484,), (1343217494,), (1343217521,), (1343217523,), (1343217530,), (1343217620,), (1343217648,), (1343217705,), (1343217745,), (1343217792,), (1343217864,), (1343217991,), (1343218022,), (1343218074,), (1343218155,), (1343218179,), (1343218304,), (1343218309,), (1343218317,), (1343218341,), (1343218343,), (1343218364,), (1343218406,), (1343218440,), (1343218463,), (1343218510,), (1343218721,), (1343218727,), (1343218732,), (1343218882,), (1343218889,), (1343218897,), (1343218918,), (1343218931,), (1343219083,), (1343219112,), (1343219137,), (1343219141,), (1343219185,), (1343219190,), (1343219202,), (1343219204,), (1343219317,), (1343219357,), (1343219391,), (1343219881,), (1343219922,), (1343220020,), (1343220086,), (1343220416,), (1343220454,), (1343220489,), (1343220573,), (1343220621,), (1343220822,), (1343220846,), (1343220861,), (1343221146,), (1343221037,), (1343221061,), (1343221087,), (1343221126,), (1343221291,), (1343221378,), (1343221397,), (1343221479,), (1343221531,), (1343221567,), (1343221714,), (1343221742,), (1343221758,), (1343221790,), (1343222097,), (1343222123,), (1343222155,), (1343222203,), (1343222269,), (1343222292,), (1343222403,), (1343222463,), (1343222493,), (1343222510,), (1343222536,), (1343222563,), (1343222939,), (1343223091,), (1343223172,), (1343223304,), (1343223583,), (1343223651,), (1343223772,), (1343223811,), (1343224379,), (1343224478,), (1343224516,), (1343224537,), (1343224580,), (1343225066,), (1343225115,), (1343225193,), (1343225225,), (1343225271,), (1343225754,), (1343225801,), (1343225844,), (1343226074,), (1343226105,), (1343226112,), (1343226199,), (1343226231,), (1343226525,), (1343226560,), (1343226610,), (1343226665,), (1343227058,), (1343227071,), (1343227097,), (1343227129,), (1343227175,), (1343227199,), (1343227455,), (1343227485,), (1343227506,), (1343227541,), (1343227584,), (1343227791,), (1343227813,), (1343227837,), (1343227859,), (1343227873,), (1343228388,), (1343228193,), (1343228225,), (1343228265,), (1343228303,), (1343228342,), (1343228744,), (1343228853,), (1343228946,), (1343229000,), (1343229875,), (1343229919,), (1343229982,), (1343230014,), (1343230680,), (1343230795,), (1343230868,), (1343230988,), (1343231047,), (1343231489,), (1343231512,), (1343231527,), (1343231618,), (1343231757,), (1343232273,), (1343232347,), (1343232376,), (1343232398,), (1343232465,), (1343232783,), (1343232836,), (1343232865,), (1343233000,), (1343233093,), (1343233265,), (1343233727,), (1343233791,), (1343233868,), (1343233924,), (1343233976,), (1343234103,), (1343234446,), (1343234500,), (1343234583,), (1343235066,), (1343235113,), (1343235143,), (1343235173,), (1343235187,), (1343235223,), (1343235446,), (1343235730,), (1343235793,), (1343235825,), (1343235865,), (1343235925,), (1343236253,), (1343236330,), (1343236387,), (1343236668,), (1343236684,), (1343236704,), (1343236731,), (1343236753,), (1343236907,), (1343236910,), (1343236926,), (1343236980,), (1343237012,), (1343237240,), (1343237258,), (1343237289,), (1343237311,), (1343237333,), (1343237360,), (1343237594,), (1343237566,), (1343238219,), (1343238718,), (1343238726,), (1343238730,), (1343238754,), (1343238782,), (1343239178,), (1343239243,), (1343239284,), (1343239328,), (1343239620,), (1343239732,), (1343239749,), (1343239769,), (1343239950,), (1343239974,), (1343240002,), (1343240027,), (1343240063,), (1343240085,), (1343240138,), (1343241339,), (1343241789,), (1343241836,), (1343241869,), (1343241894,), (1343241901,), (1343241909,), (1343242208,), (1343242312,), (1343243323,), (1343243381,), (1343243424,), (1343243450,), (1343243541,), (1343243606,), (1343244020,), (1343244069,), (1343244138,), (1343244201,), (1343245672,), (1343245681,), (1343245838,), (1343245913,), (1343245995,), (1343246400,), (1343247224,), (1343247241,), (1343247324,), (1343247975,), (1343248122,), (1343249028,), (1343249137,), (1343249165,), (1343249195,), (1343249215,), (1343249237,), (1343249330,), (1343249334,), (1343249339,), (1343249378,), (1343249661,), (1343249697,), (1343249714,), (1343249816,), (1343249834,), (1343249843,), (1343249848,), (1343249854,), (1343249858,), (1343249876,), (1343249881,), (1343249886,), (1343249891,), (1343249895,), (1343249915,), (1343249927,), (1343249935,), (1343250025,), (1343250032,), (1343250037,), (1343250041,), (1343250133,), (1343250159,), (1343250187,), (1343250234,), (1343250280,), (1343250556,), (1343250607,), (1343250631,), (1343250654,), (1343250696,), (1343250700,), (1343250705,), (1343250710,), (1343250866,), (1343250873,), (1343250879,), (1343250883,), (1343250888,), (1343251045,), (1343251100,), (1343251150,), (1343251213,), (1343251580,), (1343251550,), (1343251942,), (1343252000,), (1343252081,), (1343252175,), (1343252267,), (1343252338,), (1343252846,), (1343252944,), (1343252990,), (1343253024,), (1343253342,), (1343253353,), (1343253375,), (1343254254,), (1343254289,), (1343254330,), (1343254688,), (1343254733,), (1343254769,), (1343255533,), (1343255591,), (1343255727,), (1343255832,), (1343255878,), (1343255903,), (1343256019,), (1343256156,), (1343256256,), (1343256268,), (1343256443,), (1343256454,), (1343256535,), (1343256594,), (1343256669,), (1343256704,), (1343257127,), (1343257142,), (1343257199,), (1343257274,), (1343257564,), (1343257573,), (1343257579,), (1343257821,), (1343257831,), (1343257846,), (1343257873,), (1343257920,), (1343257925,), (1343257929,), (1343257997,), (1343258018,), (1343258033,), (1343258233,), (1343258301,), (1343258324,), (1343258330,), (1343258334,), (1343258386,), (1343258376,), (1343258381,), (1343258419,), (1343258422,), (1343258426,), (1343258464,), (1343258470,), (1343258474,), (1343258514,), (1343258518,), (1343258523,), (1343258528,), (1343258536,), (1343258580,), (1343258585,), (1343258590,), (1343258594,), (1343258596,), (1343258598,), (1343258634,), (1343258638,), (1343258643,), (1343258647,), (1343258731,), (1343258736,), (1343258741,), (1343258755,), (1343259073,), (1343259089,), (1343259112,), (1343259129,), (1343259133,), (1343259297,), (1343259330,), (1343259359,), (1343259384,), (1343259396,), (1343259496,), (1343259550,), (1343259559,), (1343259562,), (1343259798,), (1343259813,), (1343259820,), (1343259830,), (1343259903,), (1343259906,), (1343259909,), (1343259912,), (1343259915,), (1343259917,), (1343260049,), (1343260060,), (1343260063,), (1343260067,), (1343260070,), (1343260113,), (1343260117,), (1343260122,), (1343260126,), (1343260185,), (1343260191,), (1343260196,), (1343260203,), (1343260275,), (1343260254,), (1343260259,), (1343260264,), (1343260267,), (1343260271,), (1343260477,), (1343260484,), (1343260492,), (1343260517,), (1343260677,), (1343260740,), (1343260768,), (1343260781,), (1343260811,), (1343260835,), (1343260903,), (1343260910,), (1343260927,), (1343260935,), (1343261144,), (1343261149,), (1343261154,), (1343261158,), (1343261162,), (1343261185,), (1343261201,), (1343261206,), (1343261210,), (1343261212,), (1343261271,), (1343261298,), (1343261322,), (1343261346,), (1343261357,), (1343261359,), (1343261389,), (1343261396,), (1343261398,), (1343261495,), (1343261500,), (1343261509,), (1343261512,), (1343261513,), (1343261515,), (1343261565,), (1343261568,), (1343261570,), (1343261575,), (1343261578,), (1343261626,), (1343261628,), (1343261630,), (1343261635,), (1343261638,), (1343261673,), (1343261677,), (1343261680,), (1343261682,), (1343261684,), (1343261760,), (1343261762,), (1343261769,), (1343261777,), (1343262557,), (1343262640,), (1343262683,), (1343262722,), (1343263145,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 46, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21257252]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] map_info['map_portfolio_photo'] : {21257252: [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894]} final : True mtd_id 4302 list_pids : [1342825679, 1342820308, 1342820301, 1342820293, 1342820257, 1342820062, 1342820041, 1342819981, 1342819951, 1342819939, 1342819857, 1342819850, 1342819844, 1342819841, 1342819839, 1342819617, 1342819594, 1342819563, 1342819381, 1342819376, 1342819370, 1342819353, 1342819322, 1342819320, 1342819316, 1342819312, 1342819308, 1342819258, 1342819218, 1342819142, 1342819089, 1342819013, 1342818550, 1342818463, 1342818397, 1342818085, 1342817978, 1342817927, 1342817820, 1342817760, 1342816957, 1342816825, 1342816656, 1342816596, 1342815909, 1342815894] Looping around the photos to save general results len do output : 1 /21257252Didn'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, '2660948') ('4302', '21257252', '1342825679', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948') ('4302', None, None, None, None, None, None, None, '2660948') ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 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, '21257252', 'None', None, None, None, None, '2660948'), ('4302', '21257252', '1342825679', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820308', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820301', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820293', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820257', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820062', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342820041', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819981', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819951', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819939', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819857', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819850', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819844', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819841', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819839', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819617', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819594', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819563', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819381', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819376', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819370', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819353', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819322', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819320', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819316', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819312', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819308', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819258', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819218', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819142', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819089', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342819013', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818550', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818463', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818397', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342818085', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817978', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817927', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817820', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342817760', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816957', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816825', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816656', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342816596', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342815909', None, None, None, None, None, '2660948'), ('4302', '21257252', '1342815894', None, None, None, None, None, '2660948')] time used for this insertion : 13.869390487670898 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.713207483291626 time spend to save output : 13.869780778884888 total time spend for step 5 : 22.582988262176514 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 (2660948) 2.17user 2.58system 0:44.73elapsed 10%CPU (0avgtext+0avgdata 156020maxresident)k 1888inputs+35736outputs (32major+75117minor)pagefaults 0swaps