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 : 3809457 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 (2806322) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2806322) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785793 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2806322'] with mtr_portfolio_ids : ['22785793'] and first list_photo_ids : [] new path : /proc/3809457/ Name: python3 Umask: 0002 State: R (running) Tgid: 3809457 Ngid: 0 Pid: 3809457 PPid: 3809456 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3809457 NSpid: 3809457 NSpgid: 3808873 NSsid: 3808873 VmPeak: 1107224 kB VmSize: 1107224 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99704 kB VmRSS: 99704 kB RssAnon: 60192 kB RssFile: 39512 kB RssShmem: 0 kB VmData: 865972 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 55 nonvoluntary_ctxt_switches: 120 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3809457', 'Ngid': '0', 'Pid': '3809457', 'PPid': '3809456', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3809457', 'NSpid': '3809457', 'NSpgid': '3808873', 'NSsid': '3808873', 'VmPeak': '1107224 kB', 'VmSize': '1107224 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99704 kB', 'VmRSS': '99704 kB', 'RssAnon': '60192 kB', 'RssFile': '39512 kB', 'RssShmem': '0 kB', 'VmData': '865972 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '55', 'nonvoluntary_ctxt_switches': '120'} ('datou_batch_current', '3809457', '1107224', '0', '1107224', '865972', '99704', b'', 'marlene', '2806322') 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 (22785793) 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 (2806322 ) ) 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 (22785793) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1356844944, 'portfolio_id': 22785793}, {'photo_id': 1356831444, 'portfolio_id': 22785793}, {'photo_id': 1356830973, 'portfolio_id': 22785793}, {'photo_id': 1356830924, 'portfolio_id': 22785793}, {'photo_id': 1356827251, 'portfolio_id': 22785793}, {'photo_id': 1356827207, 'portfolio_id': 22785793}, {'photo_id': 1356827151, 'portfolio_id': 22785793}, {'photo_id': 1356827105, 'portfolio_id': 22785793}, {'photo_id': 1356827056, 'portfolio_id': 22785793}, {'photo_id': 1356826000, 'portfolio_id': 22785793}, {'photo_id': 1356825975, 'portfolio_id': 22785793}, {'photo_id': 1356825949, 'portfolio_id': 22785793}, {'photo_id': 1356825499, 'portfolio_id': 22785793}, {'photo_id': 1356825446, 'portfolio_id': 22785793}, {'photo_id': 1356824871, 'portfolio_id': 22785793}, {'photo_id': 1356824820, 'portfolio_id': 22785793}, {'photo_id': 1356824745, 'portfolio_id': 22785793}, {'photo_id': 1356824669, 'portfolio_id': 22785793}, {'photo_id': 1356824594, 'portfolio_id': 22785793}, {'photo_id': 1356824055, 'portfolio_id': 22785793}, {'photo_id': 1356823991, 'portfolio_id': 22785793}, {'photo_id': 1356823921, 'portfolio_id': 22785793}, {'photo_id': 1356823866, 'portfolio_id': 22785793}, {'photo_id': 1356823565, 'portfolio_id': 22785793}, {'photo_id': 1356822853, 'portfolio_id': 22785793}, {'photo_id': 1356822800, 'portfolio_id': 22785793}, {'photo_id': 1356822726, 'portfolio_id': 22785793}, {'photo_id': 1356822547, 'portfolio_id': 22785793}, {'photo_id': 1356821923, 'portfolio_id': 22785793}, {'photo_id': 1356821921, 'portfolio_id': 22785793}] map_portfolio_id_photo_id: {22785793: [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921]} ##### 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.029091835021972656 #### 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 Thu May 8 05:58:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22785793) 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 : 22785793 get user id for portfolio 22785793 get sub ptf for main ptf 22785793, type 3726 and hashtags ['cartonnette', 'Teint_Dans_La_Masse', 'Carton_gris', 'Carton_brun', 'plastique', 'environnement', 'flou', 'kraft', 'papier', 'autre_refus', 'metal', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22785793 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','plastique','environnement','flou','kraft','papier','autre_refus','metal','mal_croppe')) 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`=22785793 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','plastique','environnement','flou','kraft','papier','autre_refus','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22785793, 'sub_port_id': 22785893, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195555, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'metal': {'main_port_id': 22785793, 'sub_port_id': 22785894, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195556, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'mal_croppe': {'main_port_id': 22785793, 'sub_port_id': 22785895, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195557, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'cartonnette': {'main_port_id': 22785793, 'sub_port_id': 22785896, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195558, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22785793, 'sub_port_id': 22785897, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195559, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'environnement': {'main_port_id': 22785793, 'sub_port_id': 22785898, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195560, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'Carton_brun': {'main_port_id': 22785793, 'sub_port_id': 22785899, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195561, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'flou': {'main_port_id': 22785793, 'sub_port_id': 22785900, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195562, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'Carton_gris': {'main_port_id': 22785793, 'sub_port_id': 22785901, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195563, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'autre_refus': {'main_port_id': 22785793, 'sub_port_id': 22785902, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195564, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'kraft': {'main_port_id': 22785793, 'sub_port_id': 22785903, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195565, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}, 'plastique': {'main_port_id': 22785793, 'sub_port_id': 22785904, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195566, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785893 , 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=22785793 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 (22785893) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785894 , 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=22785793 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 (22785894) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785895 , 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=22785793 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 (22785895) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785896 , 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=22785793 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 (22785896) result : ((1356825812,), (1356825899,), (1356825901,), (1356826727,), (1356826729,), (1356826730,), (1356827358,), (1356827434,), (1356828526,), (1356828528,), (1356829854,), (1356829856,), (1356829857,), (1356831281,), (1356831405,), (1356831406,), (1356833677,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785897 , 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=22785793 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 (22785897) result : ((1356825799,), (1356825866,), (1356825868,), (1356826630,), (1356826631,), (1356826632,), (1356826633,), (1356827351,), (1356829773,), (1356829774,), (1356829775,), (1356829776,), (1356831266,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785898 , 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=22785793 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 (22785898) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785899 , 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=22785793 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 (22785899) result : ((1356825911,), (1356825913,), (1356826750,), (1356826752,), (1356827381,), (1356827383,), (1356828553,), (1356829873,), (1356829874,), (1356831412,), (1356831447,), (1356833678,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785900 , 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=22785793 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 (22785900) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785901 , 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=22785793 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 (22785901) result : ((1356825805,), (1356825806,), (1356825888,), (1356825890,), (1356825892,), (1356826698,), (1356829828,), (1356829830,), (1356831395,), (1356831396,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785902 , 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=22785793 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 (22785902) result : ((1356825877,), (1356825879,), (1356826672,), (1356826674,), (1356826675,), (1356826676,), (1356829803,), (1356829805,), (1356829807,), (1356829809,), (1356845904,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785903 , 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=22785793 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785903) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22785904 , 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=22785793 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 (22785904) result : ((1356825819,), (1356825820,), (1356825925,), (1356825927,), (1356825929,), (1356826772,), (1356827391,), (1356827448,), (1356829900,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22785793) result : ((1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,)) 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 (1356822800,1356826000) and cspi.crop_hashtag_id = chi.id; 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`=22785793 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','plastique','environnement','flou','kraft','papier','autre_refus','metal','mal_croppe')) 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`=22785793 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','Carton_gris','Carton_brun','plastique','environnement','flou','kraft','papier','autre_refus','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22785793, 'sub_port_id': 22785906, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195567, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'metal': {'main_port_id': 22785793, 'sub_port_id': 22785907, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195568, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'mal_croppe': {'main_port_id': 22785793, 'sub_port_id': 22785908, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195569, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'cartonnette': {'main_port_id': 22785793, 'sub_port_id': 22785909, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195570, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22785793, 'sub_port_id': 22785910, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195571, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'environnement': {'main_port_id': 22785793, 'sub_port_id': 22785911, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195572, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'Carton_brun': {'main_port_id': 22785793, 'sub_port_id': 22785912, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195573, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'flou': {'main_port_id': 22785793, 'sub_port_id': 22785913, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195574, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'Carton_gris': {'main_port_id': 22785793, 'sub_port_id': 22785914, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195575, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'autre_refus': {'main_port_id': 22785793, 'sub_port_id': 22785915, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195576, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'kraft': {'main_port_id': 22785793, 'sub_port_id': 22785916, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195577, 'last_updated_at': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 20, 33, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}, 'plastique': {'main_port_id': 22785793, 'sub_port_id': 22785917, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15195578, 'last_updated_at': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 7, 21, 4, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 7, 20, 33, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785906,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785893 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785907,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785894 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785908,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785895 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785909,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785896 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785910,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785897 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785911,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785898 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785912,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785899 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785913,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785900 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785914,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785901 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785915,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785902 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785916,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785903 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22785917,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22785904 lien utilise dans velours : https://www.fotonower.com/velours/22785906,22785907,22785908,22785909,22785910,22785911,22785912,22785913,22785914,22785915,22785916,22785917?tags=papier,metal,mal_croppe,cartonnette,Teint_Dans_La_Masse,environnement,Carton_brun,flou,Carton_gris,autre_refus,kraft,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22785793]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] map_info['map_portfolio_photo'] : {22785793: [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921]} final : False mtd_id 4302 list_pids : [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] Looping around the photos to save general results len do output : 1 /22785793. 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, '2806322') ('4302', '22785793', '1356844944', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '22785793', "{'papier': 22785893, 'metal': 22785894, 'mal_croppe': 22785895, 'cartonnette': 22785896, 'Teint_Dans_La_Masse': 22785897, 'environnement': 22785898, 'Carton_brun': 22785899, 'flou': 22785900, 'Carton_gris': 22785901, 'autre_refus': 22785902, 'kraft': 22785903, 'plastique': 22785904}", None, None, None, None, '2806322'), ('4302', '22785793', '1356844944', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322')] time used for this insertion : 0.01746678352355957 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4426999092102051 time spend to save output : 0.01787400245666504 total time spend for step 1 : 0.4605739116668701 step2:final Thu May 8 05:58:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (22785793) 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 22785793 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1356821923,1356821921,1356822853,1356822800,1356822726,1356822547,1356824055,1356823991,1356823565,1356823921,1356823866,1356824871,1356824820,1356824745,1356824669,1356824594,1356825499,1356825446,1356826000,1356825975,1356825949,1356827251,1356827207,1356827151,1356827105,1356827056,1356830973,1356830924,1356844944,1356831444); 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([22785793]) Inside saveOutput : final : False verbose : True original output for save of step final : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} new output for save of step final : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] map_info['map_portfolio_photo'] : {22785793: [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921]} final : False mtd_id 4302 list_pids : [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] Looping around the photos to save general results len do output : 30 /1356844944.Didn't retrieve data . /1356831444.Didn't retrieve data . /1356830973.Didn't retrieve data . /1356830924.Didn't retrieve data . /1356827251.Didn't retrieve data . /1356827207.Didn't retrieve data . /1356827151.Didn't retrieve data . /1356827105.Didn't retrieve data . /1356827056.Didn't retrieve data . /1356826000.Didn't retrieve data . /1356825975.Didn't retrieve data . /1356825949.Didn't retrieve data . /1356825499.Didn't retrieve data . /1356825446.Didn't retrieve data . /1356824871.Didn't retrieve data . /1356824820.Didn't retrieve data . /1356824745.Didn't retrieve data . /1356824669.Didn't retrieve data . /1356824594.Didn't retrieve data . /1356824055.Didn't retrieve data . /1356823991.Didn't retrieve data . /1356823921.Didn't retrieve data . /1356823866.Didn't retrieve data . /1356823565.Didn't retrieve data . /1356822853.Didn't retrieve data . /1356822800.Didn't retrieve data . /1356822726.Didn't retrieve data . /1356822547.Didn't retrieve data . /1356821923.Didn't retrieve data . /1356821921.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, '2806322') ('4302', '22785793', '1356844944', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 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', '22785793', '1356844944', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356831444', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356830973', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356830924', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356827251', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356827207', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356827151', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356827105', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356827056', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356826000', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356825975', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356825949', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356825499', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356825446', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356824871', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356824820', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356824745', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356824669', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356824594', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356824055', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356823991', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356823921', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356823866', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356823565', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356822853', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356822800', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356822726', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356822547', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356821923', '0.07424969602385643', None, None, None, None, '2806322'), ('4302', '22785793', '1356821921', '0.07424969602385643', None, None, None, None, '2806322')] time used for this insertion : 0.018821001052856445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06515312194824219 time spend to save output : 0.019999265670776367 total time spend for step 2 : 0.08515238761901855 step3:velours_tree Thu May 8 05:58:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {22785793: [{'papier': 22785893, 'metal': 22785894, 'mal_croppe': 22785895, 'cartonnette': 22785896, 'Teint_Dans_La_Masse': 22785897, 'environnement': 22785898, 'Carton_brun': 22785899, 'flou': 22785900, 'Carton_gris': 22785901, 'autre_refus': 22785902, 'kraft': 22785903, 'plastique': 22785904}]} input_args_next_step : {22785793: ()} output_args : {22785793: [{'papier': 22785893, 'metal': 22785894, 'mal_croppe': 22785895, 'cartonnette': 22785896, 'Teint_Dans_La_Masse': 22785897, 'environnement': 22785898, 'Carton_brun': 22785899, 'flou': 22785900, 'Carton_gris': 22785901, 'autre_refus': 22785902, 'kraft': 22785903, 'plastique': 22785904}]} args : 22785793 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 22785893, 'metal': 22785894, 'mal_croppe': 22785895, 'cartonnette': 22785896, 'Teint_Dans_La_Masse': 22785897, 'environnement': 22785898, 'Carton_brun': 22785899, 'flou': 22785900, 'Carton_gris': 22785901, 'autre_refus': 22785902, 'kraft': 22785903, 'plastique': 22785904},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22785793) 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([22785793]) 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.2722282409667969 time spend to save output : 5.245208740234375e-05 total time spend for step 3 : 0.2722806930541992 step4:send_mail_cod Thu May 8 05:58:29 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 : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} input_args_next_step : {1356844944: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356844944 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356831444 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356830973 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356830924 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356827251 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356827207 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356827151 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356827105 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356827056 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356826000 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356825975 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356825949 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356825499 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356825446 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356824871 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356824820 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356824745 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356824669 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356824594 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356824055 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356823991 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356823921 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356823866 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356823565 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356822853 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356822800 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356822726 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356822547 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356821923 depend.output_id : 0 input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ()} output_args : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',)} args : 1356821921 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 : {22785793: [{'papier': 22785893, 'metal': 22785894, 'mal_croppe': 22785895, 'cartonnette': 22785896, 'Teint_Dans_La_Masse': 22785897, 'environnement': 22785898, 'Carton_brun': 22785899, 'flou': 22785900, 'Carton_gris': 22785901, 'autre_refus': 22785902, 'kraft': 22785903, 'plastique': 22785904}]} input_args_next_step : {1356844944: ('0.07424969602385643',), 1356831444: ('0.07424969602385643',), 1356830973: ('0.07424969602385643',), 1356830924: ('0.07424969602385643',), 1356827251: ('0.07424969602385643',), 1356827207: ('0.07424969602385643',), 1356827151: ('0.07424969602385643',), 1356827105: ('0.07424969602385643',), 1356827056: ('0.07424969602385643',), 1356826000: ('0.07424969602385643',), 1356825975: ('0.07424969602385643',), 1356825949: ('0.07424969602385643',), 1356825499: ('0.07424969602385643',), 1356825446: ('0.07424969602385643',), 1356824871: ('0.07424969602385643',), 1356824820: ('0.07424969602385643',), 1356824745: ('0.07424969602385643',), 1356824669: ('0.07424969602385643',), 1356824594: ('0.07424969602385643',), 1356824055: ('0.07424969602385643',), 1356823991: ('0.07424969602385643',), 1356823921: ('0.07424969602385643',), 1356823866: ('0.07424969602385643',), 1356823565: ('0.07424969602385643',), 1356822853: ('0.07424969602385643',), 1356822800: ('0.07424969602385643',), 1356822726: ('0.07424969602385643',), 1356822547: ('0.07424969602385643',), 1356821923: ('0.07424969602385643',), 1356821921: ('0.07424969602385643',), 22785793: ()} output_args : {22785793: [{'papier': 22785893, 'metal': 22785894, 'mal_croppe': 22785895, 'cartonnette': 22785896, 'Teint_Dans_La_Masse': 22785897, 'environnement': 22785898, 'Carton_brun': 22785899, 'flou': 22785900, 'Carton_gris': 22785901, 'autre_refus': 22785902, 'kraft': 22785903, 'plastique': 22785904}]} args : 22785793 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 :31, first value : ('0.07424969602385643',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22785793) 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 (1356844944,1356831444,1356830973,1356830924,1356827251,1356827207,1356827151,1356827105,1356827056,1356826000,1356825975,1356825949,1356825499,1356825446,1356824871,1356824820,1356824745,1356824669,1356824594,1356824055,1356823991,1356823921,1356823866,1356823565,1356822853,1356822800,1356822726,1356822547,1356821923,1356821921) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1356821921 begin to download photo : 1356823866 begin to download photo : 1356824820 begin to download photo : 1356827056 begin to download photo : 1356831444 download finish for photo 1356824820 begin to download photo : 1356824871 download finish for photo 1356831444 begin to download photo : 1356844944 download finish for photo 1356823866 begin to download photo : 1356823921 download finish for photo 1356827056 begin to download photo : 1356827105 download finish for photo 1356821921 begin to download photo : 1356821923 download finish for photo 1356824871 begin to download photo : 1356825446 download finish for photo 1356823921 begin to download photo : 1356823991 download finish for photo 1356844944 download finish for photo 1356821923 begin to download photo : 1356822547 download finish for photo 1356827105 begin to download photo : 1356827151 download finish for photo 1356825446 begin to download photo : 1356825499 download finish for photo 1356823991 begin to download photo : 1356824055 download finish for photo 1356822547 begin to download photo : 1356822726 download finish for photo 1356827151 begin to download photo : 1356827207 download finish for photo 1356825499 begin to download photo : 1356825949 download finish for photo 1356822726 begin to download photo : 1356822800 download finish for photo 1356824055 begin to download photo : 1356824594 download finish for photo 1356827207 begin to download photo : 1356827251 download finish for photo 1356825949 begin to download photo : 1356825975 download finish for photo 1356824594 begin to download photo : 1356824669 download finish for photo 1356827251 begin to download photo : 1356830924 download finish for photo 1356822800 begin to download photo : 1356822853 download finish for photo 1356825975 begin to download photo : 1356826000 download finish for photo 1356824669 begin to download photo : 1356824745 download finish for photo 1356822853 begin to download photo : 1356823565 download finish for photo 1356830924 begin to download photo : 1356830973 download finish for photo 1356826000 download finish for photo 1356824745 download finish for photo 1356823565 download finish for photo 1356830973 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette227858941746676710/ imagette227858951746676710/ length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P22785793_08-05-2025_05_58_30.pdf 22785894 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=22785894 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227858941746676710 22785895 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=22785895 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227858951746676710 22785896 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=22785896 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356828526: '1746643091_2990980_1356825446_5fae729956fdb0e2c152ecd76cb5485c_rle_crop_3789306546_0.png', 1356833677: '1746643452_2994998_1356830973_ceefc7d41986a9052b7407acce05d92c_rle_crop_3789328351_0.png', 1356831406: '1746643272_2993173_1356827056_30513d88ebad4a2ec265c989cdb03c18_rle_crop_3789311405_0.png', 1356831405: '1746643272_2993173_1356827207_f3c6b1f1ff36255213704c55fc035c9c_rle_crop_3789310461_0.png', 1356831281: '1746643286_1379359_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61_rle_crop_3789315936_0.png', 1356829857: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302151_0.png', 1356829856: '1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302130_0.png', 1356829854: '1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302128_0.png', 1356828528: '1746643091_2990980_1356825446_5fae729956fdb0e2c152ecd76cb5485c_rle_crop_3789306549_0.png', 1356825812: '1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300808_0.png', 1356827434: '1746643046_899677_1356825499_58a762c2610105f5b25b177570240ec9_rle_crop_3789305056_0.png', 1356827358: '1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302870_0.png', 1356826730: '1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302151_0.png', 1356826729: '1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302130_0.png', 1356826727: '1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302128_0.png', 1356825901: '1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300905_0.png', 1356825899: '1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300871_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/cb15aa9d1404a01ee7737c6404add70c_21974358.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/dc500dd25159bc35131029b14a44cc53_93398626.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/a8287a7e64835de377d9058d6d5213ab_10683796.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/dc512a812f07735568c33ec66df28680_72348232.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/0a60d1dd6e112ddd7574dbf0f2f1a191_11318178.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/995db03b9e86b8d6f6ab206baf72aacb_27249376.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/471ca4427330630cdadf7d3553a79df4_50564476.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/6093b9f926fe7b702e4596f331885334_91382297.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/09fc552132d9e81e38f5fb4d51e3e5b6_97707130.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/265580f2c00258809d1b833c2b6e3848_50751745.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/d0c249150d0f16582a306a8034c9c713_59471477.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/005a3df4f5361aa998362c0e3473c745_10080146.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/995db03b9e86b8d6f6ab206baf72aacb_62412628.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/471ca4427330630cdadf7d3553a79df4_17321935.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/6093b9f926fe7b702e4596f331885334_7166720.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/97a1e2e83312e04a06a746783823e376_98714644.png change filename to text .imagette227858961746676710/ imagette227858961746676710/1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302130_0.png.png imagette227858961746676710/1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302151_0.png.png imagette227858961746676710/1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302130_0.png.png imagette227858961746676710/1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300808_0.png.png imagette227858961746676710/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302151_0.png.png imagette227858961746676710/1746643286_1379359_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61_rle_crop_3789315936_0.png.png imagette227858961746676710/1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302128_0.png.png imagette227858961746676710/1746643272_2993173_1356827207_f3c6b1f1ff36255213704c55fc035c9c_rle_crop_3789310461_0.png.png imagette227858961746676710/1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302128_0.png.png imagette227858961746676710/1746643046_899677_1356825499_58a762c2610105f5b25b177570240ec9_rle_crop_3789305056_0.png.png imagette227858961746676710/1746643091_2990980_1356825446_5fae729956fdb0e2c152ecd76cb5485c_rle_crop_3789306546_0.png.png imagette227858961746676710/1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302870_0.png.png imagette227858961746676710/1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300905_0.png.png imagette227858961746676710/1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300871_0.png.png imagette227858961746676710/1746643452_2994998_1356830973_ceefc7d41986a9052b7407acce05d92c_rle_crop_3789328351_0.png.png imagette227858961746676710/1746643091_2990980_1356825446_5fae729956fdb0e2c152ecd76cb5485c_rle_crop_3789306549_0.png.png imagette227858961746676710/1746643272_2993173_1356827056_30513d88ebad4a2ec265c989cdb03c18_rle_crop_3789311405_0.png.png imagette227859001746676711/ wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/90b80b17aad1c95b6da7e0cd709ce278_57024746.png imagette227858961746676710 22785900 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=22785900 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227859001746676711 22785902 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=22785902 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356825877: '1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300873_0.png', 1356825879: '1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300911_0.png', 1356826672: '1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302104_0.png', 1356826674: '1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302110_0.png', 1356826675: '1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302129_0.png', 1356826676: '1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302144_0.png', 1356829803: '1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302104_0.png', 1356829805: '1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302110_0.png', 1356829807: '1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302129_0.png', 1356829809: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302144_0.png', 1356845904: '1746644712_3004958_1356830924_c90762c387a4b3006047367101355b42_rle_crop_3789399675_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/4123f42bdc754bb4727ff99c6d746e40_86445990.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/38661739f28db6d68e66c7cb6237ac7d_33919775.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/972a245b0681f816d87a9800f306b6a4_27110794.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/b1fca17c4998bef949048569e6ba683d_63625369.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/f39b21ee031e7237e58514b9d4ddf384_28470092.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/7ffad66b6ad663e4f67154874f53b195_98964948.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/972a245b0681f816d87a9800f306b6a4_5584266.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/b1fca17c4998bef949048569e6ba683d_57200046.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/f39b21ee031e7237e58514b9d4ddf384_39961588.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/7ffad66b6ad663e4f67154874f53b195_16121788.png change filename to text .imagette227859021746676711/ imagette227859021746676711/1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302129_0.png.png imagette227859021746676711/1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302104_0.png.png imagette227859021746676711/1746644712_3004958_1356830924_c90762c387a4b3006047367101355b42_rle_crop_3789399675_0.png.png imagette227859021746676711/1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302104_0.png.png imagette227859021746676711/1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300911_0.png.png imagette227859021746676711/1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300873_0.png.png imagette227859021746676711/1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302129_0.png.png imagette227859021746676711/1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302144_0.png.png imagette227859021746676711/1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302110_0.png.png imagette227859021746676711/1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302110_0.png.png imagette227859021746676711/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302144_0.png.png imagette227859031746676713/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/8b92d35a94496bea5120aa3c17ed0b46_77107790.png imagette227859021746676711 22785903 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=22785903 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette227859031746676713 22785904 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=22785904 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356825819: '1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300809_0.png', 1356825820: '1746642912_2989259_1356824594_d09af94892728a99d12a7dfd219e15da_rle_crop_3789300851_0.png', 1356825925: '1746642927_1373666_1356824871_fe714c2de586292bde6a64770f9a0999_rle_crop_3789300861_0.png', 1356825927: '1746642927_1373666_1356823921_79c5cd31f03ffef4917e6458fc6aa367_rle_crop_3789300895_0.png', 1356825929: '1746642927_1373666_1356823565_02b072a6bb43f3a84af9ee70433633ab_rle_crop_3789300925_0.png', 1356826772: '1746642972_2989944_1356822800_e45d88dc56680048cde9e39859c30d39_rle_crop_3789302118_0.png', 1356827391: '1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302873_0.png', 1356827448: '1746643046_899677_1356825499_58a762c2610105f5b25b177570240ec9_rle_crop_3789305057_0.png', 1356829900: '1746643151_2991562_1356822800_e45d88dc56680048cde9e39859c30d39_rle_crop_3789302118_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/83cfdd020e4f6f8e885b351af4873a17_36394196.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/c864219f4ce9c4a2df1634dfc82c808a_65835970.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/7c8429ea4a98ebd77b69d8994a6514e5_3708238.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/ce11138b245fddca1815de01724949ef_24422387.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/472c59145a32522e3581473299a22cd2_24059782.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/a8afd4f2b30f314f004d30596bee171b_6215218.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/26d28a7b0ec68e51a970d8d738dea046_96280487.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/761e0e91b37ddb15977e31dd42d54395_92456396.png change filename to text .imagette227859041746676713/ imagette227859041746676713/1746642972_2989944_1356822800_e45d88dc56680048cde9e39859c30d39_rle_crop_3789302118_0.png.png imagette227859041746676713/1746642927_1373666_1356823565_02b072a6bb43f3a84af9ee70433633ab_rle_crop_3789300925_0.png.png imagette227859041746676713/1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300809_0.png.png imagette227859041746676713/1746642912_2989259_1356824594_d09af94892728a99d12a7dfd219e15da_rle_crop_3789300851_0.png.png imagette227859041746676713/1746642927_1373666_1356824871_fe714c2de586292bde6a64770f9a0999_rle_crop_3789300861_0.png.png imagette227859041746676713/1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302873_0.png.png imagette227859041746676713/1746642927_1373666_1356823921_79c5cd31f03ffef4917e6458fc6aa367_rle_crop_3789300895_0.png.png imagette227859041746676713/1746643046_899677_1356825499_58a762c2610105f5b25b177570240ec9_rle_crop_3789305057_0.png.png imagette227859041746676713/1746643151_2991562_1356822800_e45d88dc56680048cde9e39859c30d39_rle_crop_3789302118_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/a8afd4f2b30f314f004d30596bee171b_47618581.png imagette227859041746676713 22785897 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=22785897 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356825799: '1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300814_0.png', 1356825866: '1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300880_0.png', 1356825868: '1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300876_0.png', 1356826630: '1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302109_0.png', 1356826631: '1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302112_0.png', 1356826632: '1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302132_0.png', 1356826633: '1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302149_0.png', 1356827351: '1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302875_0.png', 1356829773: '1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302109_0.png', 1356829774: '1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302112_0.png', 1356829775: '1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302132_0.png', 1356829776: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302149_0.png', 1356831266: '1746643286_1379359_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61_rle_crop_3789315938_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/346a7cde414f3ab374b984d4506fbed7_13361771.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/f7a24ac55c77ba7a8ff905ad4ba1ccc4_57335156.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/17f84f7274aa8056ad8b098e1963e520_68844097.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/5c3a0f0f87949b1ecf74ee571d319d7b_58609515.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/cc9a9becca593b7561d1630e5d964ad9_42816601.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/f577199943e3597ee3d4505091f3644d_64023251.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/0ed0e7e4bfec720c032fbb9615ed7ed2_52003148.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/2ea30aadbf14aa8982f9fe1bbdf87643_37336141.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/5c3a0f0f87949b1ecf74ee571d319d7b_39959659.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/cc9a9becca593b7561d1630e5d964ad9_45648685.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/f577199943e3597ee3d4505091f3644d_29703178.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/0ed0e7e4bfec720c032fbb9615ed7ed2_87752649.png change filename to text .imagette227858971746676713/ imagette227858971746676713/1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302112_0.png.png imagette227858971746676713/1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300814_0.png.png imagette227858971746676713/1746642972_2989944_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302132_0.png.png imagette227858971746676713/1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300876_0.png.png imagette227858971746676713/1746642972_2989944_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302109_0.png.png imagette227858971746676713/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302149_0.png.png imagette227858971746676713/1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302112_0.png.png imagette227858971746676713/1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300880_0.png.png imagette227858971746676713/1746643286_1379359_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61_rle_crop_3789315938_0.png.png imagette227858971746676713/1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302875_0.png.png imagette227858971746676713/1746643151_2991562_1356822726_0a50b27c32488dde4e75cca2df1bb6cb_rle_crop_3789302132_0.png.png imagette227858971746676713/1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302149_0.png.png imagette227858971746676713/1746643151_2991562_1356824055_c630e8899d529a14bad155cf580c821e_rle_crop_3789302109_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/222cb7e54d9c30b74a263fcbab54b8be_13253870.png imagette227858971746676713 22785899 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=22785899 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356825911: '1746642927_1373666_1356823921_79c5cd31f03ffef4917e6458fc6aa367_rle_crop_3789300897_0.png', 1356825913: '1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300910_0.png', 1356826750: '1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302148_0.png', 1356826752: '1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302153_0.png', 1356827381: '1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302872_0.png', 1356827383: '1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302869_0.png', 1356828553: '1746643091_2990980_1356825446_5fae729956fdb0e2c152ecd76cb5485c_rle_crop_3789306548_0.png', 1356829873: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302148_0.png', 1356829874: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302153_0.png', 1356831412: '1746643272_2993173_1356827105_a74bc43a3a4dbfc843fac2252a29d074_rle_crop_3789310988_0.png', 1356831447: '1746643286_1379359_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61_rle_crop_3789315937_0.png', 1356833678: '1746643452_2994998_1356830973_ceefc7d41986a9052b7407acce05d92c_rle_crop_3789328350_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/8040d040e915c82b926ac9dd3f4748d2_5521612.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/4f2c111c676d4c594deed01e67b20c10_64666040.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/6c290aac45e28259eb95d2b6ceaa4410_18412868.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/275f66d599f291816d0deb1e9da45bfd_71650033.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/836ce4368140b1a8e299d8d6209a88c8_2124912.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/ba8c04680ede900e0d9066242fb6d791_12723463.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/97548c9a6ed3d38f501781ce080e2965_57813591.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/6c290aac45e28259eb95d2b6ceaa4410_401041.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/275f66d599f291816d0deb1e9da45bfd_7875947.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/dfe7002b833b2f316609a0a7a2a4da02_48856389.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/08c20d0bc88748d3167f0f69f3f0d6eb_3655522.png change filename to text .imagette227858991746676715/ imagette227858991746676715/1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302869_0.png.png imagette227858991746676715/1746643452_2994998_1356830973_ceefc7d41986a9052b7407acce05d92c_rle_crop_3789328350_0.png.png imagette227858991746676715/1746643091_2990980_1356825446_5fae729956fdb0e2c152ecd76cb5485c_rle_crop_3789306548_0.png.png imagette227858991746676715/1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302153_0.png.png imagette227858991746676715/1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302148_0.png.png imagette227858991746676715/1746642927_1373666_1356823921_79c5cd31f03ffef4917e6458fc6aa367_rle_crop_3789300897_0.png.png imagette227858991746676715/1746643286_1379359_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61_rle_crop_3789315937_0.png.png imagette227858991746676715/1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300910_0.png.png imagette227858991746676715/1746643272_2993173_1356827105_a74bc43a3a4dbfc843fac2252a29d074_rle_crop_3789310988_0.png.png imagette227858991746676715/1746643032_2990498_1356825975_59084b447a74e2196b15639d84ad1966_rle_crop_3789302872_0.png.png imagette227858991746676715/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302148_0.png.png imagette227858991746676715/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302153_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/3028d76d480c1b522fdc96cfa55cf8d3_65958544.png imagette227858991746676715 22785901 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=22785901 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1356825805: '1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300811_0.png', 1356825806: '1746642912_2989259_1356824745_2ab6e06d02aafc83b4f5b097a3313c84_rle_crop_3789300821_0.png', 1356825888: '1746642927_1373666_1356824871_fe714c2de586292bde6a64770f9a0999_rle_crop_3789300855_0.png', 1356825890: '1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300874_0.png', 1356825892: '1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300904_0.png', 1356826698: '1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302146_0.png', 1356829828: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_bib_crop_3789302146_0.jpg', 1356829830: '1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789307274_0.png', 1356831395: '1746643272_2993173_1356827207_f3c6b1f1ff36255213704c55fc035c9c_rle_crop_3789310460_0.png', 1356831396: '1746643272_2993173_1356827151_6b993c58861e24390a0809550b25f43b_rle_crop_3789310722_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/fdc0be9ba9f215f508298594e597bfe0_64191206.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/efb24bfe21e7a8ec099bf7463bce010e_51844477.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/0bcbdfd8d718a15ec1202c312e33fcb1_72632308.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/6f4fe6276ade4cb35c37785c9048476d_55085645.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/dc5cebd83184d89159e488f530bfad43_67095639.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/6aafd45ba9569e53bf2c1c65dd1be7cf_97802990.png change filename to text .wget -O 7.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/c912527a283171c2c4c502918bbe682f_48944470.jpg change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/3a62d18edcabf75f9dd5cf4ec8b57b67_54710777.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/8e2f6c48a7f21f7970512f85aeea599a_32058224.png change filename to text .imagette227859011746676716/ imagette227859011746676716/1746642927_1373666_1356823866_cf2c684bed469bf113db46b1cf9a8f6f_rle_crop_3789300904_0.png.png imagette227859011746676716/1746642927_1373666_1356824871_fe714c2de586292bde6a64770f9a0999_rle_crop_3789300855_0.png.png imagette227859011746676716/1746643272_2993173_1356827207_f3c6b1f1ff36255213704c55fc035c9c_rle_crop_3789310460_0.png.png imagette227859011746676716/1746643272_2993173_1356827151_6b993c58861e24390a0809550b25f43b_rle_crop_3789310722_0.png.png imagette227859011746676716/1746642912_2989259_1356824745_2ab6e06d02aafc83b4f5b097a3313c84_rle_crop_3789300821_0.png.png imagette227859011746676716/1746642912_2989259_1356824820_eba157b57260c64aa36f2b1b656b159a_rle_crop_3789300811_0.png.png imagette227859011746676716/1746642927_1373666_1356823991_9c6cf270f99e47b92daa75cc3961c3dd_rle_crop_3789300874_0.png.png imagette227859011746676716/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_bib_crop_3789302146_0.jpg.jpg imagette227859011746676716/1746642972_2989944_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789302146_0.png.png imagette227859011746676716/1746643151_2991562_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8_rle_crop_3789307274_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/7775a7128de8a1579f89271fdfad25a2_13481905.png imagette227859011746676716 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22785793 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22785906,22785907,22785908,22785909,22785910,22785911,22785912,22785913,22785914,22785915,22785916,22785917?tags=papier,metal,mal_croppe,cartonnette,Teint_Dans_La_Masse,environnement,Carton_brun,flou,Carton_gris,autre_refus,kraft,plastique your option no_mail is active, we will not send the real mail to your client args[1356844944] : ('0.07424969602385643',) no score found for photo 1356844944 We are sending mail with results at report@fotonower.com args[1356831444] : ('0.07424969602385643',) no score found for photo 1356831444 We are sending mail with results at report@fotonower.com args[1356830973] : ('0.07424969602385643',) no score found for photo 1356830973 We are sending mail with results at report@fotonower.com args[1356830924] : ('0.07424969602385643',) no score found for photo 1356830924 We are sending mail with results at report@fotonower.com args[1356827251] : ('0.07424969602385643',) no score found for photo 1356827251 We are sending mail with results at report@fotonower.com args[1356827207] : ('0.07424969602385643',) no score found for photo 1356827207 We are sending mail with results at report@fotonower.com args[1356827151] : ('0.07424969602385643',) no score found for photo 1356827151 We are sending mail with results at report@fotonower.com args[1356827105] : ('0.07424969602385643',) no score found for photo 1356827105 We are sending mail with results at report@fotonower.com args[1356827056] : ('0.07424969602385643',) no score found for photo 1356827056 We are sending mail with results at report@fotonower.com args[1356826000] : ('0.07424969602385643',) no score found for photo 1356826000 We are sending mail with results at report@fotonower.com args[1356825975] : ('0.07424969602385643',) no score found for photo 1356825975 We are sending mail with results at report@fotonower.com args[1356825949] : ('0.07424969602385643',) no score found for photo 1356825949 We are sending mail with results at report@fotonower.com args[1356825499] : ('0.07424969602385643',) no score found for photo 1356825499 We are sending mail with results at report@fotonower.com args[1356825446] : ('0.07424969602385643',) no score found for photo 1356825446 We are sending mail with results at report@fotonower.com args[1356824871] : ('0.07424969602385643',) no score found for photo 1356824871 We are sending mail with results at report@fotonower.com args[1356824820] : ('0.07424969602385643',) no score found for photo 1356824820 We are sending mail with results at report@fotonower.com args[1356824745] : ('0.07424969602385643',) no score found for photo 1356824745 We are sending mail with results at report@fotonower.com args[1356824669] : ('0.07424969602385643',) no score found for photo 1356824669 We are sending mail with results at report@fotonower.com args[1356824594] : ('0.07424969602385643',) no score found for photo 1356824594 We are sending mail with results at report@fotonower.com args[1356824055] : ('0.07424969602385643',) no score found for photo 1356824055 We are sending mail with results at report@fotonower.com args[1356823991] : ('0.07424969602385643',) no score found for photo 1356823991 We are sending mail with results at report@fotonower.com args[1356823921] : ('0.07424969602385643',) no score found for photo 1356823921 We are sending mail with results at report@fotonower.com args[1356823866] : ('0.07424969602385643',) no score found for photo 1356823866 We are sending mail with results at report@fotonower.com args[1356823565] : ('0.07424969602385643',) no score found for photo 1356823565 We are sending mail with results at report@fotonower.com args[1356822853] : ('0.07424969602385643',) no score found for photo 1356822853 We are sending mail with results at report@fotonower.com args[1356822800] : ('0.07424969602385643',) no score found for photo 1356822800 We are sending mail with results at report@fotonower.com args[1356822726] : ('0.07424969602385643',) no score found for photo 1356822726 We are sending mail with results at report@fotonower.com args[1356822547] : ('0.07424969602385643',) no score found for photo 1356822547 We are sending mail with results at report@fotonower.com args[1356821923] : ('0.07424969602385643',) no score found for photo 1356821923 We are sending mail with results at report@fotonower.com args[1356821921] : ('0.07424969602385643',) no score found for photo 1356821921 We are sending mail with results at report@fotonower.com refus_total : 0.07424969602385643 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=22785793 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_08-05-2025_05_58_30.pdf results_Auto_P22785793_08-05-2025_05_58_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_08-05-2025_05_58_30.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22785793','results_Auto_P22785793_08-05-2025_05_58_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_08-05-2025_05_58_30.pdf','pdf','','0.4','0.07424969602385643') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22785793]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] map_info['map_portfolio_photo'] : {22785793: [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921]} final : False mtd_id 4302 list_pids : [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] 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, '2806322') ('4302', '22785793', '1356844944', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '22785793', '1356844944', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322')] time used for this insertion : 0.01588726043701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.097276210784912 time spend to save output : 0.01624608039855957 total time spend for step 4 : 10.113522291183472 step5:split_time_score Thu May 8 05:58:39 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 : ['22785793'] 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 : [('22785793',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22785793) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1356831444: {'path': 'temp/1746676709_3809457_1356831444_0168e40e98e0eb9142b1f0ae2c61f159.jpg', 'extension': 'jpg'}, 1356844944: {'path': 'temp/1746676709_3809457_1356844944_c19bb5539f846b0a3ada9252d528b956.jpg', 'extension': 'jpg'}, 1356824820: {'path': 'temp/1746676709_3809457_1356824820_eba157b57260c64aa36f2b1b656b159a.jpg', 'extension': 'jpg'}, 1356824871: {'path': 'temp/1746676709_3809457_1356824871_fe714c2de586292bde6a64770f9a0999.jpg', 'extension': 'jpg'}, 1356825446: {'path': 'temp/1746676709_3809457_1356825446_5fae729956fdb0e2c152ecd76cb5485c.jpg', 'extension': 'jpg'}, 1356825499: {'path': 'temp/1746676709_3809457_1356825499_58a762c2610105f5b25b177570240ec9.jpg', 'extension': 'jpg'}, 1356825949: {'path': 'temp/1746676709_3809457_1356825949_de00c817b540d8c27414bb447649c24f.jpg', 'extension': 'jpg'}, 1356825975: {'path': 'temp/1746676709_3809457_1356825975_59084b447a74e2196b15639d84ad1966.jpg', 'extension': 'jpg'}, 1356826000: {'path': 'temp/1746676709_3809457_1356826000_20575438e484e309ad8b6cd05c9add4c.jpg', 'extension': 'jpg'}, 1356823866: {'path': 'temp/1746676709_3809457_1356823866_cf2c684bed469bf113db46b1cf9a8f6f.jpg', 'extension': 'jpg'}, 1356823921: {'path': 'temp/1746676709_3809457_1356823921_79c5cd31f03ffef4917e6458fc6aa367.jpg', 'extension': 'jpg'}, 1356823991: {'path': 'temp/1746676709_3809457_1356823991_9c6cf270f99e47b92daa75cc3961c3dd.jpg', 'extension': 'jpg'}, 1356824055: {'path': 'temp/1746676709_3809457_1356824055_c630e8899d529a14bad155cf580c821e.jpg', 'extension': 'jpg'}, 1356824594: {'path': 'temp/1746676709_3809457_1356824594_d09af94892728a99d12a7dfd219e15da.jpg', 'extension': 'jpg'}, 1356824669: {'path': 'temp/1746676709_3809457_1356824669_df8b16d7c02df5b7c051ea1000be0cca.jpg', 'extension': 'jpg'}, 1356824745: {'path': 'temp/1746676709_3809457_1356824745_2ab6e06d02aafc83b4f5b097a3313c84.jpg', 'extension': 'jpg'}, 1356821921: {'path': 'temp/1746676709_3809457_1356821921_189c1114dcfdc5b5f668d47c8ead9db6.jpg', 'extension': 'jpg'}, 1356821923: {'path': 'temp/1746676709_3809457_1356821923_b98ad1be821c10b2bd3150c9d0606813.jpg', 'extension': 'jpg'}, 1356822547: {'path': 'temp/1746676709_3809457_1356822547_13b60c9bacc4bf9fe2fc1b99fb15a7d8.jpg', 'extension': 'jpg'}, 1356822726: {'path': 'temp/1746676709_3809457_1356822726_0a50b27c32488dde4e75cca2df1bb6cb.jpg', 'extension': 'jpg'}, 1356822800: {'path': 'temp/1746676709_3809457_1356822800_e45d88dc56680048cde9e39859c30d39.jpg', 'extension': 'jpg'}, 1356822853: {'path': 'temp/1746676709_3809457_1356822853_ef004d2077086dcf19433614bbc4852b.jpg', 'extension': 'jpg'}, 1356823565: {'path': 'temp/1746676709_3809457_1356823565_02b072a6bb43f3a84af9ee70433633ab.jpg', 'extension': 'jpg'}, 1356827056: {'path': 'temp/1746676709_3809457_1356827056_30513d88ebad4a2ec265c989cdb03c18.jpg', 'extension': 'jpg'}, 1356827105: {'path': 'temp/1746676709_3809457_1356827105_a74bc43a3a4dbfc843fac2252a29d074.jpg', 'extension': 'jpg'}, 1356827151: {'path': 'temp/1746676709_3809457_1356827151_6b993c58861e24390a0809550b25f43b.jpg', 'extension': 'jpg'}, 1356827207: {'path': 'temp/1746676709_3809457_1356827207_f3c6b1f1ff36255213704c55fc035c9c.jpg', 'extension': 'jpg'}, 1356827251: {'path': 'temp/1746676709_3809457_1356827251_ee20ee2c1eb5e7546fa1bcb33b949d61.jpg', 'extension': 'jpg'}, 1356830924: {'path': 'temp/1746676709_3809457_1356830924_c90762c387a4b3006047367101355b42.jpg', 'extension': 'jpg'}, 1356830973: {'path': 'temp/1746676709_3809457_1356830973_ceefc7d41986a9052b7407acce05d92c.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 = 22785793; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 22785793 group by h (('20', 30),) 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=22785793 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 (22785793) 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 (22785793) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07052025 22785793 Nombre de photos uploadées : 30 / 23040 (0%) 07052025 22785793 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 07052025 22785793 Nombre de photos taguées (volume) : 0 / 30 (0%) [{'photo_id': 1356821923, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/b98ad1be821c10b2bd3150c9d0606813.jpg', 'username': None, 'uploaded_at': 1746642667, 'text': 'image_07052025_20_30_04_010146m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1356821921, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/189c1114dcfdc5b5f668d47c8ead9db6.jpg', 'username': None, 'uploaded_at': 1746642667, 'text': 'image_07052025_20_30_44_010132m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1356822853, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/ef004d2077086dcf19433614bbc4852b.jpg', 'username': None, 'uploaded_at': 1746642727, 'text': 'image_07052025_20_30_55_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1356822800, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/7/e45d88dc56680048cde9e39859c30d39.jpg', 'username': None, 'uploaded_at': 1746642727, 'text': 'image_07052025_20_31_05_010148m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017747879028320312 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22785793, '2025-05-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1781050,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024271488189697266 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= 1781050 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22740041, 'dashboard_result_id': 10419131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22740041_08-05-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22740060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22740061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22740062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22740063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22740064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22740065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22740066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22740067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22740068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22740069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22740070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22740071, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22741189, 'dashboard_result_id': 10419132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741189_08-05-2025_05_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22741230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22741231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22741232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22741233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22741234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22741235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22741236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22741237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22741238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22741239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22741240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22741241, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22741710, 'dashboard_result_id': 10419133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741710_08-05-2025_05_35_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22741715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22741716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22741717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22741718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22741719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22741720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22741721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22741722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22741723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22741724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22741725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22741726, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22742314, 'dashboard_result_id': 10419134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22742314_08-05-2025_05_35_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22742320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22742321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22742322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22742323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22742324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22742325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22742326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22742327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22742328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22742329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22742330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22742331, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22743939, 'dashboard_result_id': 10419135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22743939_08-05-2025_05_35_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22743958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22743959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22743960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22743961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22743962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22743963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22743964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22743965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22743966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22743967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22743968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22743969, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22744354, 'dashboard_result_id': 10419136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744354_08-05-2025_05_36_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22744355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22744356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22744357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22744358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22744359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22744360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22744361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22744362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22744363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22744364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22744365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22744366, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22744792, 'dashboard_result_id': 10419137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744792_08-05-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22744867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22744868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22744869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22744870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22744871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22744872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22744873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22744874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22744875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22744876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22744877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22744878, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22745552, 'dashboard_result_id': 10419138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745552_08-05-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22745553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22745554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22745555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22745556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22745557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22745558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22745559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22745560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22745561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22745562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22745563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22745564, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22745924, 'dashboard_result_id': 10419139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745924_08-05-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22745932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22745933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22745934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22745935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22745936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22745937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22745938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22745939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22745940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22745941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22745942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22745943, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22746301, 'dashboard_result_id': 10419140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746301_08-05-2025_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22746326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22746327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22746328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22746329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22746330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22746331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22746332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22746333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22746334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22746335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22746336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22746337, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22746900, 'dashboard_result_id': 10419141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746900_08-05-2025_05_37_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22746902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22746903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22746904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22746905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22746906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22746907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22746908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22746909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22746910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22746911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22746912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22746913, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22747363, 'dashboard_result_id': 10419142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747363_08-05-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22747369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22747370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22747371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22747372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22747373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22747374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22747375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22747376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22747377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22747378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22747379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22747380, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22747808, 'dashboard_result_id': 10419143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747808_08-05-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22747833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22747834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22747835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22747836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22747837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22747838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22747839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22747840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22747841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22747842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22747843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22747844, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22748285, 'dashboard_result_id': 10419144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748285_08-05-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22748292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22748293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22748294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22748295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22748296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22748297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22748298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22748299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22748300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22748301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22748302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22748303, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22748931, 'dashboard_result_id': 10419145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748931_08-05-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22748940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22748941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22748942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22748943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22748944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22748945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22748946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22748947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22748948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22748949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22748950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22748951, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22749585, 'dashboard_result_id': 10419146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22749585_08-05-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22749586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22749587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22749588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22749589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22749590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22749591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22749592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22749593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22749594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22749595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22749596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22749597, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22750050, 'dashboard_result_id': 10419147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750050_08-05-2025_05_40_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22750055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750062, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22750360, 'dashboard_result_id': 10419148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750360_08-05-2025_05_40_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22750361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750372, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22750640, 'dashboard_result_id': 10419149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750640_08-05-2025_05_40_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750666, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22750670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750676, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22751196, 'dashboard_result_id': 10419150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751196_08-05-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22751203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22751204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22751205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22751206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22751207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22751208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22751209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22751210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22751211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22751212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22751213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22751214, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22751988, 'dashboard_result_id': 10419151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751988_08-05-2025_05_41_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22751993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22751994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22751995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22751996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22751997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22751998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22751999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22752003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752004, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22752170, 'dashboard_result_id': 10419152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752170_08-05-2025_05_41_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22752195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22752196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22752198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22752199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22752200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22752201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22752202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22752203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752206, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22752559, 'dashboard_result_id': 10419153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752559_08-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22752584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22752585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22752588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22752589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22752590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22752592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22752593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22752594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752595, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22753186, 'dashboard_result_id': 10419154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753186_08-05-2025_05_42_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22753259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22753260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22753261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22753262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22753263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22753264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22753265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22753266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22753268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22753269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22753270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22753271, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22753874, 'dashboard_result_id': 10419155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753874_08-05-2025_05_42_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22753893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22753894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22753895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22753896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22753897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22753898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22753899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22753900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22753901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22753902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22753903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22753904, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22754426, 'dashboard_result_id': 10419156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22754426_08-05-2025_05_43_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22754432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22754433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22754434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22754435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22754436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22754437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22754438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22754439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22754440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22754441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22754442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22754443, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22755041, 'dashboard_result_id': 10419157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755041_08-05-2025_05_43_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22755044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22755045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22755046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22755047, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22755048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22755049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22755050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22755051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22755052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22755053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22755054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22755055, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22755575, 'dashboard_result_id': 10419158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755575_08-05-2025_05_43_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22755618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22755619, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22755620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22755621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22755622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22755623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22755624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22755625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22755626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22755627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22755628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22755629, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22756353, 'dashboard_result_id': 10419159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756353_08-05-2025_05_44_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22756397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22756398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22756399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22756400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22756401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22756402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22756403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22756404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22756405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22756406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22756407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22756408, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22756932, 'dashboard_result_id': 10419160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756932_08-05-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22756938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22756939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22756940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22756941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22756942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22756943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22756944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22756945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22756946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22756947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22756948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22756949, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22757570, 'dashboard_result_id': 10419161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22757570_08-05-2025_05_45_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22757600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22757601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22757602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22757603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22757604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22757605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22757606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22757607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22757608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22757609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22757610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22757611, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22758740, 'dashboard_result_id': 10419162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22758740_08-05-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22758757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22758758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22758759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22758760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22758761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22758762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22758763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22758764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22758765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22758766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22758767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22758768, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22759267, 'dashboard_result_id': 10419163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759267_08-05-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22759298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22759299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22759300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22759301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22759302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22759303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22759304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22759305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22759306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22759307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22759308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22759309, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22759893, 'dashboard_result_id': 10419164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759893_08-05-2025_05_45_42.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22759911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22759912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22759913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22759914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22759915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22759916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22759917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22759918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22759919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22759920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22759921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22759922, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22760380, 'dashboard_result_id': 10419165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760380_08-05-2025_05_46_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22760411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22760412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22760413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22760414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22760415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22760416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22760417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22760418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22760419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22760420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22760421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22760422, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22760869, 'dashboard_result_id': 10419166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760869_08-05-2025_05_46_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22760880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22760881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22760882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22760883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22760884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22760885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22760886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22760887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22760888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22760889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22760890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22760891, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22761425, 'dashboard_result_id': 10419167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761425_08-05-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22761455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22761456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22761457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22761458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22761459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22761460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22761461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22761462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22761463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22761464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22761465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22761466, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22761940, 'dashboard_result_id': 10419168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761940_08-05-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22761966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22761967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22761968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22761969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22761970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22761971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22761972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22761973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22761974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22761975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22761976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22761977, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22762781, 'dashboard_result_id': 10419169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22762781_08-05-2025_05_47_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22762812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22762813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22762814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22762815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22762816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22762817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22762818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22762819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22762820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22762821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22762822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22762823, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22763290, 'dashboard_result_id': 10419170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22763290_08-05-2025_05_48_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22763330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22763331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22763332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22763333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22763334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22763335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22763336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22763337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22763338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22763339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22763340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22763341, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22764124, 'dashboard_result_id': 10419171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22764124_08-05-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22764188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22764189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22764190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22764191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22764192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22764193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22764194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22764195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22764196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22764197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22764198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22764199, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22765102, 'dashboard_result_id': 10419172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22765102_08-05-2025_05_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22765130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22765131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22765132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22765133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22765134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22765135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22765136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22765137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22765138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22765139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22765140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22765141, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22766692, 'dashboard_result_id': 10419173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766692_08-05-2025_05_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22766693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22766694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22766695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22766696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22766697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22766698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22766699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22766700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22766701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22766702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22766703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22766704, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22766964, 'dashboard_result_id': 10419174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766964_08-05-2025_05_49_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22767003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22767004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22767005, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22767006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22767007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22767008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22767009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22767010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22767011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22767012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22767013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22767014, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22767781, 'dashboard_result_id': 10419175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22767781_08-05-2025_05_49_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22767800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22767801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22767802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22767803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22767804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22767805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22767806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22767807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22767808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22767809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22767810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22767811, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22768655, 'dashboard_result_id': 10419176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22768655_08-05-2025_05_50_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22768656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22768657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22768658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22768659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22768660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22768661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22768662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22768663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22768664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22768665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22768666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22768667, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22769438, 'dashboard_result_id': 10419177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22769438_08-05-2025_05_50_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22769478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22769479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22769480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22769481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22769482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22769483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22769484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22769485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22769486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22769487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22769488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22769489, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22770243, 'dashboard_result_id': 10419178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22770243_08-05-2025_05_50_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22770308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22770309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22770310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22770311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22770312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22770313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22770314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22770315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22770316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22770317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22770318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22770319, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22771127, 'dashboard_result_id': 10419179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771127_08-05-2025_05_51_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22771151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22771152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22771153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22771154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22771155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22771156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22771157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22771158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22771159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22771160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22771161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22771162, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22771818, 'dashboard_result_id': 10419180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771818_08-05-2025_05_51_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22771820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22771821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22771822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22771823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22771824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22771825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22771826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22771827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22771828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22771829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22771830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22771831, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22772434, 'dashboard_result_id': 10419181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772434_08-05-2025_05_51_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22772486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22772487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22772488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22772489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22772490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22772491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22772492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22772493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22772494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22772495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22772496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22772497, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22772985, 'dashboard_result_id': 10419182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772985_08-05-2025_05_52_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22773017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22773018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22773019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22773020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22773021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22773022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22773023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22773024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22773025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22773026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22773027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22773028, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22773631, 'dashboard_result_id': 10419183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22773631_08-05-2025_05_52_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22773643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22773644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22773645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22773646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22773647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22773648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22773649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22773650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22773651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22773652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22773653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22773654, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22774565, 'dashboard_result_id': 10419184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22774565_08-05-2025_05_53_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22774632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22774633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22774634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22774635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22774636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22774637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22774638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22774639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22774640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22774641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22774642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22774643, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22775203, 'dashboard_result_id': 10419185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775203_08-05-2025_05_53_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22775241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22775242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22775243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22775244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22775245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22775246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22775247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22775248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22775249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22775250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22775251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22775252, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22775858, 'dashboard_result_id': 10419186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775858_08-05-2025_05_53_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22775864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22775865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22775866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22775867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22775868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22775869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22775870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22775871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22775872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22775873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22775874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22775875, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22776419, 'dashboard_result_id': 10419187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22776419_08-05-2025_05_54_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22776426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22776427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22776428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22776429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22776430, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22776431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22776432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22776433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22776434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22776435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22776436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22776437, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22777144, 'dashboard_result_id': 10419188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22777144_08-05-2025_05_54_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22777162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22777163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22777164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22777165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22777166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22777167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22777168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22777169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22777170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22777171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22777172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22777173, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22778606, 'dashboard_result_id': 10419189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22778606_08-05-2025_05_55_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22778608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22778609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22778610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22778611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22778612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22778613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22778614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22778615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22778616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22778617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22778618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22778619, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22779405, 'dashboard_result_id': 10419190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779405_08-05-2025_05_55_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22779442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22779443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22779444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22779445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22779446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22779447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22779448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22779449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22779450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22779451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22779452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22779453, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22779921, 'dashboard_result_id': 10419191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779921_08-05-2025_05_55_43.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22779952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22779953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22779954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22779955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22779956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22779957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22779958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22779959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22779960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22779961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22779962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22779963, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22780639, 'dashboard_result_id': 10419192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22780639_08-05-2025_05_56_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22780661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22780662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22780663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22780664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22780665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22780666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22780667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22780668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22780669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22780670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22780671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22780672, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22781151, 'dashboard_result_id': 10419193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781151_08-05-2025_05_56_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22781168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22781169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22781170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22781171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22781172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22781173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22781174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22781175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22781176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22781177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22781178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22781179, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22781679, 'dashboard_result_id': 10419194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781679_08-05-2025_05_57_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22781711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22781712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22781713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22781714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22781715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22781716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22781717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22781718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22781719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22781720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22781721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22781722, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22782273, 'dashboard_result_id': 10419195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22782273_08-05-2025_05_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22782324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22782325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22782326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22782327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22782328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22782329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22782330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22782331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22782332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22782333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22782334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22782335, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22783169, 'dashboard_result_id': 10419196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22783169_08-05-2025_05_57_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22783212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22783213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22783214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22783215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22783216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22783217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22783218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22783219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22783220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22783221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22783222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22783223, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22784370, 'dashboard_result_id': 10419197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22784370_08-05-2025_05_57_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22784400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22784401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22784402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22784403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22784404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22784405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22784406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22784407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22784408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22784409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22784410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22784411, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22785011, 'dashboard_result_id': 10419198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785011_08-05-2025_05_58_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22785044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22785045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22785046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22785047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22785048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22785049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22785050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22785051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22785052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22785053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22785054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22785055, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22785793, 'dashboard_result_id': 10419199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_07-05-2025_21_04_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22785893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22785894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22785895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22785896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22785897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22785898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22785899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22785900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22785901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22785902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22785903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22785904, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22787165, 'dashboard_result_id': 10419200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22787165_07-05-2025_21_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22787222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22787223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22787224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22787225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22787226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22787227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22787228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22787229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22787230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22787231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22787232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22787233, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22791880, 'dashboard_result_id': 10419201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22791880_07-05-2025_23_47_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22791881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22791882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22791883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22791884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22791885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22791886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22791887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22791888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22791889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22791890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22791891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22791892, 'pht': 3726}}"}, {'dashboat_entry_day': 1781050, 'dashboard_run_id': 1793521, 'mtr_portfolio_id': 22792043, 'dashboard_result_id': 10419202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22792043_08-05-2025_00_26_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22792044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22792045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22792046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22792047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22792048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22792049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22792050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22792051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22792052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22792053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22792054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22792055, '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 = 22740041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806254, 'mtr_portfolio_id': 22740041, 'created_at': datetime.datetime(2025, 5, 8, 5, 34, 30), 'result': '0.050109031736622824', 'result_long': None, 'result_double': None}] Qualite : 0.050109031736622824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22740041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22740041_08-05-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22740041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22740041_08-05-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22740060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22740061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22740062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22740063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22740064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22740065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22740066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22740067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22740068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22740069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22740070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22740071, 'pht': 3726}}" where mtr_portfolio_id = 22740041 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22740041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419131, 0.050109031736622824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22740041_08-05-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22740060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22740061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22740062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22740063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22740064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22740065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22740066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22740067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22740068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22740069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22740070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22740071, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22741189 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806255, 'mtr_portfolio_id': 22741189, 'created_at': datetime.datetime(2025, 5, 8, 5, 34, 58), 'result': '0.04701292400710008', 'result_long': None, 'result_double': None}] Qualite : 0.04701292400710008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22741189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741189_08-05-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22741189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741189_08-05-2025_05_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22741230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22741231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22741232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22741233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22741234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22741235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22741236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22741237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22741238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22741239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22741240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22741241, 'pht': 3726}}" where mtr_portfolio_id = 22741189 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22741189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419132, 0.04701292400710008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741189_08-05-2025_05_35_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22741230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22741231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22741232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22741233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22741234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22741235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22741236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22741237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22741238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22741239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22741240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22741241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22741710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806256, 'mtr_portfolio_id': 22741710, 'created_at': datetime.datetime(2025, 5, 8, 5, 35, 31), 'result': '0.05760114200802414', 'result_long': None, 'result_double': None}] Qualite : 0.05760114200802414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22741710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741710_08-05-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22741710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741710_08-05-2025_05_35_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22741715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22741716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22741717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22741718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22741719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22741720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22741721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22741722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22741723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22741724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22741725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22741726, 'pht': 3726}}" where mtr_portfolio_id = 22741710 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22741710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419133, 0.05760114200802414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22741710_08-05-2025_05_35_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22741715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22741716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22741717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22741718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22741719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22741720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22741721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22741722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22741723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22741724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22741725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22741726, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22742314 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806257, 'mtr_portfolio_id': 22742314, 'created_at': datetime.datetime(2025, 5, 8, 5, 35, 28), 'result': '0.045077702374708616', 'result_long': None, 'result_double': None}] Qualite : 0.045077702374708616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22742314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22742314_08-05-2025_05_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22742314 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22742314_08-05-2025_05_35_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22742320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22742321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22742322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22742323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22742324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22742325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22742326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22742327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22742328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22742329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22742330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22742331, 'pht': 3726}}" where mtr_portfolio_id = 22742314 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22742314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419134, 0.045077702374708616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22742314_08-05-2025_05_35_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22742320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22742321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22742322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22742323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22742324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22742325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22742326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22742327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22742328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22742329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22742330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22742331, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22743939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806258, 'mtr_portfolio_id': 22743939, 'created_at': datetime.datetime(2025, 5, 8, 5, 35, 39), 'result': '0.04478232993303851', 'result_long': None, 'result_double': None}] Qualite : 0.04478232993303851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22743939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22743939_08-05-2025_05_35_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22743939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22743939_08-05-2025_05_35_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22743958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22743959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22743960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22743961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22743962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22743963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22743964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22743965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22743966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22743967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22743968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22743969, 'pht': 3726}}" where mtr_portfolio_id = 22743939 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22743939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419135, 0.04478232993303851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22743939_08-05-2025_05_35_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22743958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22743959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22743960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22743961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22743962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22743963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22743964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22743965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22743966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22743967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22743968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22743969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22744354 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806259, 'mtr_portfolio_id': 22744354, 'created_at': datetime.datetime(2025, 5, 8, 5, 35, 59), 'result': '0.035671548309605734', 'result_long': None, 'result_double': None}] Qualite : 0.035671548309605734 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22744354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744354_08-05-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22744354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744354_08-05-2025_05_36_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22744355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22744356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22744357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22744358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22744359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22744360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22744361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22744362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22744363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22744364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22744365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22744366, 'pht': 3726}}" where mtr_portfolio_id = 22744354 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22744354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419136, 0.035671548309605734, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744354_08-05-2025_05_36_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22744355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22744356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22744357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22744358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22744359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22744360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22744361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22744362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22744363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22744364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22744365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22744366, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22744792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806260, 'mtr_portfolio_id': 22744792, 'created_at': datetime.datetime(2025, 5, 8, 5, 36, 29), 'result': '0.054948676811049965', 'result_long': None, 'result_double': None}] Qualite : 0.054948676811049965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22744792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744792_08-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22744792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744792_08-05-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22744867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22744868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22744869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22744870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22744871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22744872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22744873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22744874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22744875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22744876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22744877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22744878, 'pht': 3726}}" where mtr_portfolio_id = 22744792 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22744792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419137, 0.054948676811049965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22744792_08-05-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22744867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22744868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22744869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22744870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22744871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22744872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22744873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22744874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22744875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22744876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22744877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22744878, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22745552 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806261, 'mtr_portfolio_id': 22745552, 'created_at': datetime.datetime(2025, 5, 8, 5, 36, 57), 'result': '0.0408681048489511', 'result_long': None, 'result_double': None}] Qualite : 0.0408681048489511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22745552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745552_08-05-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22745552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745552_08-05-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22745553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22745554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22745555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22745556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22745557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22745558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22745559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22745560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22745561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22745562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22745563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22745564, 'pht': 3726}}" where mtr_portfolio_id = 22745552 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22745552 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419138, 0.0408681048489511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745552_08-05-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22745553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22745554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22745555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22745556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22745557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22745558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22745559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22745560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22745561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22745562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22745563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22745564, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22745924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806262, 'mtr_portfolio_id': 22745924, 'created_at': datetime.datetime(2025, 5, 8, 5, 37, 27), 'result': '0.03856288324551846', 'result_long': None, 'result_double': None}] Qualite : 0.03856288324551846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22745924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745924_08-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22745924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745924_08-05-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22745932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22745933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22745934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22745935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22745936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22745937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22745938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22745939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22745940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22745941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22745942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22745943, 'pht': 3726}}" where mtr_portfolio_id = 22745924 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22745924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419139, 0.03856288324551846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22745924_08-05-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22745932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22745933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22745934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22745935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22745936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22745937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22745938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22745939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22745940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22745941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22745942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22745943, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22746301 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806263, 'mtr_portfolio_id': 22746301, 'created_at': datetime.datetime(2025, 5, 8, 5, 37, 29), 'result': '0.05090100322650896', 'result_long': None, 'result_double': None}] Qualite : 0.05090100322650896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22746301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746301_08-05-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22746301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746301_08-05-2025_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22746326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22746327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22746328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22746329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22746330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22746331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22746332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22746333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22746334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22746335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22746336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22746337, 'pht': 3726}}" where mtr_portfolio_id = 22746301 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22746301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419140, 0.05090100322650896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746301_08-05-2025_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22746326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22746327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22746328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22746329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22746330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22746331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22746332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22746333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22746334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22746335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22746336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22746337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22746900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806264, 'mtr_portfolio_id': 22746900, 'created_at': datetime.datetime(2025, 5, 8, 5, 37, 28), 'result': '0.050751273434838894', 'result_long': None, 'result_double': None}] Qualite : 0.050751273434838894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22746900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746900_08-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22746900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746900_08-05-2025_05_37_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22746902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22746903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22746904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22746905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22746906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22746907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22746908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22746909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22746910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22746911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22746912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22746913, 'pht': 3726}}" where mtr_portfolio_id = 22746900 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22746900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419141, 0.050751273434838894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22746900_08-05-2025_05_37_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22746902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22746903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22746904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22746905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22746906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22746907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22746908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22746909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22746910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22746911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22746912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22746913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22747363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806265, 'mtr_portfolio_id': 22747363, 'created_at': datetime.datetime(2025, 5, 8, 5, 37, 57), 'result': '0.05098369322515066', 'result_long': None, 'result_double': None}] Qualite : 0.05098369322515066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22747363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747363_08-05-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22747363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747363_08-05-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22747369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22747370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22747371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22747372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22747373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22747374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22747375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22747376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22747377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22747378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22747379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22747380, 'pht': 3726}}" where mtr_portfolio_id = 22747363 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22747363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419142, 0.05098369322515066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747363_08-05-2025_05_38_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22747369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22747370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22747371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22747372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22747373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22747374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22747375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22747376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22747377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22747378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22747379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22747380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22747808 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806266, 'mtr_portfolio_id': 22747808, 'created_at': datetime.datetime(2025, 5, 8, 5, 38, 29), 'result': '0.05286859502594896', 'result_long': None, 'result_double': None}] Qualite : 0.05286859502594896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22747808 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747808_08-05-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22747808 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747808_08-05-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22747833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22747834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22747835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22747836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22747837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22747838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22747839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22747840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22747841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22747842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22747843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22747844, 'pht': 3726}}" where mtr_portfolio_id = 22747808 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22747808 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419143, 0.05286859502594896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22747808_08-05-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22747833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22747834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22747835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22747836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22747837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22747838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22747839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22747840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22747841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22747842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22747843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22747844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22748285 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806267, 'mtr_portfolio_id': 22748285, 'created_at': datetime.datetime(2025, 5, 8, 5, 38, 58), 'result': '0.040572381966203545', 'result_long': None, 'result_double': None}] Qualite : 0.040572381966203545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22748285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748285_08-05-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22748285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748285_08-05-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22748292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22748293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22748294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22748295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22748296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22748297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22748298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22748299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22748300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22748301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22748302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22748303, 'pht': 3726}}" where mtr_portfolio_id = 22748285 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22748285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419144, 0.040572381966203545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748285_08-05-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22748292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22748293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22748294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22748295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22748296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22748297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22748298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22748299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22748300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22748301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22748302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22748303, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22748931 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806268, 'mtr_portfolio_id': 22748931, 'created_at': datetime.datetime(2025, 5, 8, 5, 39, 27), 'result': '0.04440606911211384', 'result_long': None, 'result_double': None}] Qualite : 0.04440606911211384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22748931 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748931_08-05-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22748931 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748931_08-05-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22748940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22748941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22748942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22748943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22748944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22748945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22748946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22748947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22748948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22748949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22748950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22748951, 'pht': 3726}}" where mtr_portfolio_id = 22748931 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22748931 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419145, 0.04440606911211384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22748931_08-05-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22748940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22748941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22748942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22748943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22748944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22748945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22748946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22748947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22748948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22748949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22748950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22748951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22749585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806269, 'mtr_portfolio_id': 22749585, 'created_at': datetime.datetime(2025, 5, 8, 5, 39, 29), 'result': '0.015111843182975171', 'result_long': None, 'result_double': None}] Qualite : 0.015111843182975171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22749585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22749585_08-05-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22749585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22749585_08-05-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22749586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22749587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22749588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22749589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22749590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22749591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22749592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22749593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22749594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22749595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22749596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22749597, 'pht': 3726}}" where mtr_portfolio_id = 22749585 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22749585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419146, 0.015111843182975171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22749585_08-05-2025_05_39_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22749586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22749587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22749588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22749589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22749590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22749591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22749592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22749593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22749594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22749595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22749596, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22749597, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22750050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806270, 'mtr_portfolio_id': 22750050, 'created_at': datetime.datetime(2025, 5, 8, 5, 39, 58), 'result': '0.035525455797541246', 'result_long': None, 'result_double': None}] Qualite : 0.035525455797541246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22750050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750050_08-05-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22750050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750050_08-05-2025_05_40_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22750055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750062, 'pht': 3726}}" where mtr_portfolio_id = 22750050 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22750050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419147, 0.035525455797541246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750050_08-05-2025_05_40_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22750055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750062, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22750360 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806271, 'mtr_portfolio_id': 22750360, 'created_at': datetime.datetime(2025, 5, 8, 5, 40, 30), 'result': '0.049612492905708704', 'result_long': None, 'result_double': None}] Qualite : 0.049612492905708704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22750360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750360_08-05-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22750360 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750360_08-05-2025_05_40_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22750361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750372, 'pht': 3726}}" where mtr_portfolio_id = 22750360 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22750360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419148, 0.049612492905708704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750360_08-05-2025_05_40_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22750361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22750640 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806272, 'mtr_portfolio_id': 22750640, 'created_at': datetime.datetime(2025, 5, 8, 5, 40, 40), 'result': '0.042603961927991395', 'result_long': None, 'result_double': None}] Qualite : 0.042603961927991395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22750640 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750640_08-05-2025_05_40_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22750640 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750640_08-05-2025_05_40_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750666, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22750670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750676, 'pht': 3726}}" where mtr_portfolio_id = 22750640 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22750640 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419149, 0.042603961927991395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22750640_08-05-2025_05_40_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22750665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22750666, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22750667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22750668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22750669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22750670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22750671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22750672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22750673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22750674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22750675, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22750676, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22751196 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806273, 'mtr_portfolio_id': 22751196, 'created_at': datetime.datetime(2025, 5, 8, 5, 40, 59), 'result': '0.04274097857580641', 'result_long': None, 'result_double': None}] Qualite : 0.04274097857580641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22751196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751196_08-05-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22751196 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751196_08-05-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22751203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22751204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22751205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22751206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22751207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22751208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22751209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22751210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22751211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22751212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22751213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22751214, 'pht': 3726}}" where mtr_portfolio_id = 22751196 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22751196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419150, 0.04274097857580641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751196_08-05-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22751203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22751204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22751205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22751206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22751207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22751208, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22751209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22751210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22751211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22751212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22751213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22751214, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22751988 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806274, 'mtr_portfolio_id': 22751988, 'created_at': datetime.datetime(2025, 5, 8, 5, 41, 1), 'result': '0.042797090343897365', 'result_long': None, 'result_double': None}] Qualite : 0.042797090343897365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22751988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751988_08-05-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22751988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751988_08-05-2025_05_41_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22751993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22751994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22751995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22751996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22751997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22751998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22751999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22752003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752004, 'pht': 3726}}" where mtr_portfolio_id = 22751988 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22751988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419151, 0.042797090343897365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22751988_08-05-2025_05_41_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22751993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22751994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22751995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22751996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22751997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22751998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22751999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22752003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752004, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22752170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806275, 'mtr_portfolio_id': 22752170, 'created_at': datetime.datetime(2025, 5, 8, 5, 41, 31), 'result': '0.05627685356747236', 'result_long': None, 'result_double': None}] Qualite : 0.05627685356747236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22752170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752170_08-05-2025_05_41_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22752170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752170_08-05-2025_05_41_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22752195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22752196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22752198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22752199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22752200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22752201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22752202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22752203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752206, 'pht': 3726}}" where mtr_portfolio_id = 22752170 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22752170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419152, 0.05627685356747236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752170_08-05-2025_05_41_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22752195, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22752196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22752198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22752199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22752200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22752201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22752202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22752203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752206, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22752559 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806276, 'mtr_portfolio_id': 22752559, 'created_at': datetime.datetime(2025, 5, 8, 5, 41, 26), 'result': '0.05460713595080335', 'result_long': None, 'result_double': None}] Qualite : 0.05460713595080335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22752559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752559_08-05-2025_05_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22752559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752559_08-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22752584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22752585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22752588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22752589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22752590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22752592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22752593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22752594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752595, 'pht': 3726}}" where mtr_portfolio_id = 22752559 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22752559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419153, 0.05460713595080335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22752559_08-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22752584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22752585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22752586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22752587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22752588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22752589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22752590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22752591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22752592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22752593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22752594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22752595, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22753186 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806277, 'mtr_portfolio_id': 22753186, 'created_at': datetime.datetime(2025, 5, 8, 5, 41, 59), 'result': '0.03301302594978647', 'result_long': None, 'result_double': None}] Qualite : 0.03301302594978647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22753186 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753186_08-05-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22753186 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753186_08-05-2025_05_42_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22753259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22753260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22753261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22753262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22753263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22753264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22753265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22753266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22753268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22753269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22753270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22753271, 'pht': 3726}}" where mtr_portfolio_id = 22753186 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22753186 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419154, 0.03301302594978647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753186_08-05-2025_05_42_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22753259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22753260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22753261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22753262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22753263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22753264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22753265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22753266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22753268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22753269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22753270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22753271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22753874 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806278, 'mtr_portfolio_id': 22753874, 'created_at': datetime.datetime(2025, 5, 8, 5, 42, 30), 'result': '0.03931861533839807', 'result_long': None, 'result_double': None}] Qualite : 0.03931861533839807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22753874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753874_08-05-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22753874 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753874_08-05-2025_05_42_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22753893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22753894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22753895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22753896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22753897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22753898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22753899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22753900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22753901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22753902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22753903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22753904, 'pht': 3726}}" where mtr_portfolio_id = 22753874 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22753874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419155, 0.03931861533839807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22753874_08-05-2025_05_42_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22753893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22753894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22753895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22753896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22753897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22753898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22753899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22753900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22753901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22753902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22753903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22753904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22754426 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806279, 'mtr_portfolio_id': 22754426, 'created_at': datetime.datetime(2025, 5, 8, 5, 42, 58), 'result': '0.03602099448279534', 'result_long': None, 'result_double': None}] Qualite : 0.03602099448279534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22754426 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22754426_08-05-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22754426 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22754426_08-05-2025_05_43_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22754432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22754433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22754434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22754435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22754436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22754437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22754438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22754439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22754440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22754441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22754442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22754443, 'pht': 3726}}" where mtr_portfolio_id = 22754426 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22754426 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419156, 0.03602099448279534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22754426_08-05-2025_05_43_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22754432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22754433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22754434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22754435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22754436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22754437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22754438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22754439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22754440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22754441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22754442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22754443, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22755041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806280, 'mtr_portfolio_id': 22755041, 'created_at': datetime.datetime(2025, 5, 8, 5, 43, 27), 'result': '0.038656013043132736', 'result_long': None, 'result_double': None}] Qualite : 0.038656013043132736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22755041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755041_08-05-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22755041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755041_08-05-2025_05_43_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22755044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22755045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22755046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22755047, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22755048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22755049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22755050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22755051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22755052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22755053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22755054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22755055, 'pht': 3726}}" where mtr_portfolio_id = 22755041 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22755041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419157, 0.038656013043132736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755041_08-05-2025_05_43_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22755044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22755045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22755046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22755047, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22755048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22755049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22755050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22755051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22755052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22755053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22755054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22755055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22755575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806281, 'mtr_portfolio_id': 22755575, 'created_at': datetime.datetime(2025, 5, 8, 5, 43, 33), 'result': '0.03541947149049455', 'result_long': None, 'result_double': None}] Qualite : 0.03541947149049455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22755575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755575_08-05-2025_05_43_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22755575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755575_08-05-2025_05_43_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22755618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22755619, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22755620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22755621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22755622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22755623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22755624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22755625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22755626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22755627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22755628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22755629, 'pht': 3726}}" where mtr_portfolio_id = 22755575 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22755575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419158, 0.03541947149049455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22755575_08-05-2025_05_43_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22755618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22755619, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22755620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22755621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22755622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22755623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22755624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22755625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22755626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22755627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22755628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22755629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22756353 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806282, 'mtr_portfolio_id': 22756353, 'created_at': datetime.datetime(2025, 5, 8, 5, 43, 58), 'result': '0.04420567075630393', 'result_long': None, 'result_double': None}] Qualite : 0.04420567075630393 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22756353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756353_08-05-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22756353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756353_08-05-2025_05_44_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22756397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22756398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22756399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22756400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22756401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22756402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22756403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22756404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22756405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22756406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22756407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22756408, 'pht': 3726}}" where mtr_portfolio_id = 22756353 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22756353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419159, 0.04420567075630393, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756353_08-05-2025_05_44_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22756397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22756398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22756399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22756400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22756401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22756402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22756403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22756404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22756405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22756406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22756407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22756408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22756932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806283, 'mtr_portfolio_id': 22756932, 'created_at': datetime.datetime(2025, 5, 8, 5, 44, 30), 'result': '0.04683762968832559', 'result_long': None, 'result_double': None}] Qualite : 0.04683762968832559 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22756932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756932_08-05-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22756932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756932_08-05-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22756938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22756939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22756940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22756941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22756942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22756943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22756944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22756945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22756946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22756947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22756948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22756949, 'pht': 3726}}" where mtr_portfolio_id = 22756932 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22756932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419160, 0.04683762968832559, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22756932_08-05-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22756938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22756939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22756940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22756941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22756942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22756943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22756944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22756945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22756946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22756947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22756948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22756949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22757570 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806284, 'mtr_portfolio_id': 22757570, 'created_at': datetime.datetime(2025, 5, 8, 5, 45), 'result': '0.042148052738222704', 'result_long': None, 'result_double': None}] Qualite : 0.042148052738222704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22757570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22757570_08-05-2025_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22757570 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22757570_08-05-2025_05_45_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22757600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22757601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22757602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22757603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22757604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22757605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22757606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22757607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22757608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22757609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22757610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22757611, 'pht': 3726}}" where mtr_portfolio_id = 22757570 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22757570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419161, 0.042148052738222704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22757570_08-05-2025_05_45_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22757600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22757601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22757602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22757603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22757604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22757605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22757606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22757607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22757608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22757609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22757610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22757611, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22758740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806285, 'mtr_portfolio_id': 22758740, 'created_at': datetime.datetime(2025, 5, 8, 5, 45, 31), 'result': '0.02926445346103702', 'result_long': None, 'result_double': None}] Qualite : 0.02926445346103702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22758740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22758740_08-05-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22758740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22758740_08-05-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22758757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22758758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22758759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22758760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22758761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22758762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22758763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22758764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22758765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22758766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22758767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22758768, 'pht': 3726}}" where mtr_portfolio_id = 22758740 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22758740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419162, 0.02926445346103702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22758740_08-05-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22758757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22758758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22758759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22758760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22758761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22758762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22758763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22758764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22758765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22758766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22758767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22758768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22759267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806286, 'mtr_portfolio_id': 22759267, 'created_at': datetime.datetime(2025, 5, 8, 5, 45, 30), 'result': '0.026460428767456443', 'result_long': None, 'result_double': None}] Qualite : 0.026460428767456443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22759267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759267_08-05-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22759267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759267_08-05-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22759298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22759299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22759300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22759301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22759302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22759303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22759304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22759305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22759306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22759307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22759308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22759309, 'pht': 3726}}" where mtr_portfolio_id = 22759267 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22759267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419163, 0.026460428767456443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759267_08-05-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22759298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22759299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22759300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22759301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22759302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22759303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22759304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22759305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22759306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22759307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22759308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22759309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22759893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806287, 'mtr_portfolio_id': 22759893, 'created_at': datetime.datetime(2025, 5, 8, 5, 45, 40), 'result': '0.03373216237316277', 'result_long': None, 'result_double': None}] Qualite : 0.03373216237316277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22759893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759893_08-05-2025_05_45_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22759893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759893_08-05-2025_05_45_42.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22759911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22759912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22759913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22759914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22759915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22759916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22759917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22759918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22759919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22759920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22759921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22759922, 'pht': 3726}}" where mtr_portfolio_id = 22759893 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22759893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419164, 0.03373216237316277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22759893_08-05-2025_05_45_42.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22759911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22759912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22759913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22759914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22759915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22759916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22759917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22759918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22759919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22759920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22759921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22759922, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22760380 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806288, 'mtr_portfolio_id': 22760380, 'created_at': datetime.datetime(2025, 5, 8, 5, 46), 'result': '0.040124084787457305', 'result_long': None, 'result_double': None}] Qualite : 0.040124084787457305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22760380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760380_08-05-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22760380 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760380_08-05-2025_05_46_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22760411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22760412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22760413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22760414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22760415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22760416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22760417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22760418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22760419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22760420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22760421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22760422, 'pht': 3726}}" where mtr_portfolio_id = 22760380 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22760380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419165, 0.040124084787457305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760380_08-05-2025_05_46_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22760411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22760412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22760413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22760414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22760415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22760416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22760417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22760418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22760419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22760420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22760421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22760422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22760869 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806289, 'mtr_portfolio_id': 22760869, 'created_at': datetime.datetime(2025, 5, 8, 5, 46, 29), 'result': '0.041786688548454326', 'result_long': None, 'result_double': None}] Qualite : 0.041786688548454326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22760869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760869_08-05-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22760869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760869_08-05-2025_05_46_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22760880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22760881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22760882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22760883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22760884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22760885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22760886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22760887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22760888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22760889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22760890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22760891, 'pht': 3726}}" where mtr_portfolio_id = 22760869 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22760869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419166, 0.041786688548454326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22760869_08-05-2025_05_46_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22760880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22760881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22760882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22760883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22760884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22760885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22760886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22760887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22760888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22760889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22760890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22760891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22761425 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806290, 'mtr_portfolio_id': 22761425, 'created_at': datetime.datetime(2025, 5, 8, 5, 46, 58), 'result': '0.062326306992738056', 'result_long': None, 'result_double': None}] Qualite : 0.062326306992738056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22761425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761425_08-05-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22761425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761425_08-05-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22761455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22761456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22761457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22761458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22761459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22761460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22761461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22761462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22761463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22761464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22761465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22761466, 'pht': 3726}}" where mtr_portfolio_id = 22761425 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22761425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419167, 0.062326306992738056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761425_08-05-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22761455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22761456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22761457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22761458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22761459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22761460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22761461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22761462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22761463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22761464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22761465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22761466, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22761940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806291, 'mtr_portfolio_id': 22761940, 'created_at': datetime.datetime(2025, 5, 8, 5, 47, 27), 'result': '0.027308468532461664', 'result_long': None, 'result_double': None}] Qualite : 0.027308468532461664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22761940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761940_08-05-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22761940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761940_08-05-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22761966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22761967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22761968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22761969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22761970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22761971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22761972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22761973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22761974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22761975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22761976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22761977, 'pht': 3726}}" where mtr_portfolio_id = 22761940 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22761940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419168, 0.027308468532461664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22761940_08-05-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22761966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22761967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22761968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22761969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22761970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22761971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22761972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22761973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22761974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22761975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22761976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22761977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22762781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806292, 'mtr_portfolio_id': 22762781, 'created_at': datetime.datetime(2025, 5, 8, 5, 47, 33), 'result': '0.04296744549432744', 'result_long': None, 'result_double': None}] Qualite : 0.04296744549432744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22762781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22762781_08-05-2025_05_47_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22762781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22762781_08-05-2025_05_47_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22762812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22762813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22762814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22762815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22762816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22762817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22762818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22762819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22762820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22762821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22762822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22762823, 'pht': 3726}}" where mtr_portfolio_id = 22762781 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22762781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419169, 0.04296744549432744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22762781_08-05-2025_05_47_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22762812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22762813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22762814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22762815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22762816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22762817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22762818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22762819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22762820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22762821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22762822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22762823, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22763290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806293, 'mtr_portfolio_id': 22763290, 'created_at': datetime.datetime(2025, 5, 8, 5, 47, 59), 'result': '0.06276462623806964', 'result_long': None, 'result_double': None}] Qualite : 0.06276462623806964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22763290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22763290_08-05-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22763290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22763290_08-05-2025_05_48_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22763330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22763331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22763332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22763333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22763334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22763335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22763336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22763337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22763338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22763339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22763340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22763341, 'pht': 3726}}" where mtr_portfolio_id = 22763290 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22763290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419170, 0.06276462623806964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22763290_08-05-2025_05_48_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22763330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22763331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22763332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22763333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22763334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22763335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22763336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22763337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22763338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22763339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22763340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22763341, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22764124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806294, 'mtr_portfolio_id': 22764124, 'created_at': datetime.datetime(2025, 5, 8, 5, 48, 29), 'result': '0.028606101562590875', 'result_long': None, 'result_double': None}] Qualite : 0.028606101562590875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22764124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22764124_08-05-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22764124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22764124_08-05-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22764188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22764189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22764190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22764191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22764192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22764193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22764194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22764195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22764196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22764197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22764198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22764199, 'pht': 3726}}" where mtr_portfolio_id = 22764124 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22764124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419171, 0.028606101562590875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22764124_08-05-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22764188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22764189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22764190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22764191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22764192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22764193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22764194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22764195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22764196, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22764197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22764198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22764199, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22765102 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806295, 'mtr_portfolio_id': 22765102, 'created_at': datetime.datetime(2025, 5, 8, 5, 48, 59), 'result': '0.04088849010131036', 'result_long': None, 'result_double': None}] Qualite : 0.04088849010131036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22765102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22765102_08-05-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22765102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22765102_08-05-2025_05_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22765130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22765131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22765132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22765133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22765134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22765135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22765136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22765137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22765138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22765139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22765140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22765141, 'pht': 3726}}" where mtr_portfolio_id = 22765102 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22765102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419172, 0.04088849010131036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22765102_08-05-2025_05_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22765130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22765131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22765132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22765133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22765134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22765135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22765136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22765137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22765138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22765139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22765140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22765141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22766692 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806296, 'mtr_portfolio_id': 22766692, 'created_at': datetime.datetime(2025, 5, 8, 5, 49, 2), 'result': '0.10000404153367898', 'result_long': None, 'result_double': None}] Qualite : 0.10000404153367898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22766692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766692_08-05-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22766692 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766692_08-05-2025_05_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22766693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22766694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22766695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22766696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22766697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22766698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22766699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22766700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22766701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22766702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22766703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22766704, 'pht': 3726}}" where mtr_portfolio_id = 22766692 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22766692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419173, 0.10000404153367898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766692_08-05-2025_05_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22766693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22766694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22766695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22766696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22766697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22766698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22766699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22766700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22766701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22766702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22766703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22766704, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22766964 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806297, 'mtr_portfolio_id': 22766964, 'created_at': datetime.datetime(2025, 5, 8, 5, 49, 31), 'result': '0.0481527154395566', 'result_long': None, 'result_double': None}] Qualite : 0.0481527154395566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22766964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766964_08-05-2025_05_49_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22766964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766964_08-05-2025_05_49_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22767003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22767004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22767005, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22767006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22767007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22767008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22767009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22767010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22767011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22767012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22767013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22767014, 'pht': 3726}}" where mtr_portfolio_id = 22766964 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22766964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419174, 0.0481527154395566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22766964_08-05-2025_05_49_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22767003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22767004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22767005, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22767006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22767007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22767008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22767009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22767010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22767011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22767012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22767013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22767014, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22767781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806298, 'mtr_portfolio_id': 22767781, 'created_at': datetime.datetime(2025, 5, 8, 5, 49, 30), 'result': '0.056180674256962104', 'result_long': None, 'result_double': None}] Qualite : 0.056180674256962104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22767781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22767781_08-05-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22767781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22767781_08-05-2025_05_49_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22767800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22767801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22767802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22767803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22767804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22767805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22767806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22767807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22767808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22767809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22767810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22767811, 'pht': 3726}}" where mtr_portfolio_id = 22767781 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22767781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419175, 0.056180674256962104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22767781_08-05-2025_05_49_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22767800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22767801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22767802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22767803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22767804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22767805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22767806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22767807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22767808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22767809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22767810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22767811, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22768655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806299, 'mtr_portfolio_id': 22768655, 'created_at': datetime.datetime(2025, 5, 8, 5, 50, 1), 'result': '0.049434428765228675', 'result_long': None, 'result_double': None}] Qualite : 0.049434428765228675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22768655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22768655_08-05-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22768655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22768655_08-05-2025_05_50_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22768656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22768657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22768658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22768659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22768660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22768661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22768662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22768663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22768664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22768665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22768666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22768667, 'pht': 3726}}" where mtr_portfolio_id = 22768655 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22768655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419176, 0.049434428765228675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22768655_08-05-2025_05_50_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22768656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22768657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22768658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22768659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22768660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22768661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22768662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22768663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22768664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22768665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22768666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22768667, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22769438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806300, 'mtr_portfolio_id': 22769438, 'created_at': datetime.datetime(2025, 5, 8, 5, 50, 30), 'result': '0.03354887715340384', 'result_long': None, 'result_double': None}] Qualite : 0.03354887715340384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22769438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22769438_08-05-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22769438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22769438_08-05-2025_05_50_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22769478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22769479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22769480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22769481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22769482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22769483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22769484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22769485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22769486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22769487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22769488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22769489, 'pht': 3726}}" where mtr_portfolio_id = 22769438 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22769438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419177, 0.03354887715340384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22769438_08-05-2025_05_50_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22769478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22769479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22769480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22769481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22769482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22769483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22769484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22769485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22769486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22769487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22769488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22769489, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22770243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806301, 'mtr_portfolio_id': 22770243, 'created_at': datetime.datetime(2025, 5, 8, 5, 50, 37), 'result': '0.06223101714373655', 'result_long': None, 'result_double': None}] Qualite : 0.06223101714373655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22770243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22770243_08-05-2025_05_50_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22770243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22770243_08-05-2025_05_50_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22770308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22770309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22770310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22770311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22770312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22770313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22770314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22770315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22770316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22770317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22770318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22770319, 'pht': 3726}}" where mtr_portfolio_id = 22770243 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22770243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419178, 0.06223101714373655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22770243_08-05-2025_05_50_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22770308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22770309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22770310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22770311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22770312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22770313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22770314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22770315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22770316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22770317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22770318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22770319, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22771127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806302, 'mtr_portfolio_id': 22771127, 'created_at': datetime.datetime(2025, 5, 8, 5, 50, 59), 'result': '0.04593572999281977', 'result_long': None, 'result_double': None}] Qualite : 0.04593572999281977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22771127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771127_08-05-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22771127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771127_08-05-2025_05_51_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22771151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22771152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22771153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22771154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22771155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22771156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22771157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22771158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22771159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22771160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22771161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22771162, 'pht': 3726}}" where mtr_portfolio_id = 22771127 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22771127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419179, 0.04593572999281977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771127_08-05-2025_05_51_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22771151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22771152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22771153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22771154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22771155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22771156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22771157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22771158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22771159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22771160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22771161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22771162, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22771818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806303, 'mtr_portfolio_id': 22771818, 'created_at': datetime.datetime(2025, 5, 8, 5, 51, 27), 'result': '0.040674412297018035', 'result_long': None, 'result_double': None}] Qualite : 0.040674412297018035 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22771818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771818_08-05-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22771818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771818_08-05-2025_05_51_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22771820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22771821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22771822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22771823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22771824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22771825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22771826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22771827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22771828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22771829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22771830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22771831, 'pht': 3726}}" where mtr_portfolio_id = 22771818 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22771818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419180, 0.040674412297018035, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22771818_08-05-2025_05_51_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22771820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22771821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22771822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22771823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22771824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22771825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22771826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22771827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22771828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22771829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22771830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22771831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22772434 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806304, 'mtr_portfolio_id': 22772434, 'created_at': datetime.datetime(2025, 5, 8, 5, 51, 28), 'result': '0.04822648447296758', 'result_long': None, 'result_double': None}] Qualite : 0.04822648447296758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22772434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772434_08-05-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22772434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772434_08-05-2025_05_51_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22772486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22772487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22772488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22772489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22772490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22772491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22772492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22772493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22772494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22772495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22772496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22772497, 'pht': 3726}}" where mtr_portfolio_id = 22772434 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22772434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419181, 0.04822648447296758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772434_08-05-2025_05_51_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22772486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22772487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22772488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22772489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22772490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22772491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22772492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22772493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22772494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22772495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22772496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22772497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22772985 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806305, 'mtr_portfolio_id': 22772985, 'created_at': datetime.datetime(2025, 5, 8, 5, 52), 'result': '0.039084634391044135', 'result_long': None, 'result_double': None}] Qualite : 0.039084634391044135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22772985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772985_08-05-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22772985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772985_08-05-2025_05_52_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22773017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22773018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22773019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22773020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22773021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22773022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22773023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22773024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22773025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22773026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22773027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22773028, 'pht': 3726}}" where mtr_portfolio_id = 22772985 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22772985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419182, 0.039084634391044135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22772985_08-05-2025_05_52_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22773017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22773018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22773019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22773020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22773021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22773022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22773023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22773024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22773025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22773026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22773027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22773028, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22773631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806306, 'mtr_portfolio_id': 22773631, 'created_at': datetime.datetime(2025, 5, 8, 5, 52, 30), 'result': '0.04203189096176676', 'result_long': None, 'result_double': None}] Qualite : 0.04203189096176676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22773631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22773631_08-05-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22773631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22773631_08-05-2025_05_52_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22773643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22773644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22773645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22773646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22773647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22773648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22773649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22773650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22773651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22773652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22773653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22773654, 'pht': 3726}}" where mtr_portfolio_id = 22773631 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22773631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419183, 0.04203189096176676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22773631_08-05-2025_05_52_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22773643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22773644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22773645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22773646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22773647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22773648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22773649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22773650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22773651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22773652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22773653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22773654, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22774565 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806307, 'mtr_portfolio_id': 22774565, 'created_at': datetime.datetime(2025, 5, 8, 5, 52, 59), 'result': '0.039180773107509975', 'result_long': None, 'result_double': None}] Qualite : 0.039180773107509975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22774565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22774565_08-05-2025_05_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22774565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22774565_08-05-2025_05_53_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22774632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22774633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22774634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22774635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22774636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22774637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22774638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22774639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22774640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22774641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22774642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22774643, 'pht': 3726}}" where mtr_portfolio_id = 22774565 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22774565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419184, 0.039180773107509975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22774565_08-05-2025_05_53_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22774632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22774633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22774634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22774635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22774636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22774637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22774638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22774639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22774640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22774641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22774642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22774643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22775203 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806308, 'mtr_portfolio_id': 22775203, 'created_at': datetime.datetime(2025, 5, 8, 5, 53, 32), 'result': '0.0360589023990813', 'result_long': None, 'result_double': None}] Qualite : 0.0360589023990813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22775203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775203_08-05-2025_05_53_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22775203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775203_08-05-2025_05_53_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22775241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22775242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22775243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22775244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22775245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22775246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22775247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22775248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22775249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22775250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22775251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22775252, 'pht': 3726}}" where mtr_portfolio_id = 22775203 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22775203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419185, 0.0360589023990813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775203_08-05-2025_05_53_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22775241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22775242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22775243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22775244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22775245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22775246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22775247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22775248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22775249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22775250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22775251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22775252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22775858 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806309, 'mtr_portfolio_id': 22775858, 'created_at': datetime.datetime(2025, 5, 8, 5, 53, 30), 'result': '0.03634819712192073', 'result_long': None, 'result_double': None}] Qualite : 0.03634819712192073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22775858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775858_08-05-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22775858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775858_08-05-2025_05_53_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22775864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22775865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22775866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22775867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22775868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22775869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22775870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22775871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22775872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22775873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22775874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22775875, 'pht': 3726}}" where mtr_portfolio_id = 22775858 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22775858 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419186, 0.03634819712192073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22775858_08-05-2025_05_53_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22775864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22775865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22775866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22775867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22775868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22775869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22775870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22775871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22775872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22775873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22775874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22775875, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22776419 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806310, 'mtr_portfolio_id': 22776419, 'created_at': datetime.datetime(2025, 5, 8, 5, 54, 1), 'result': '0.03975712850087026', 'result_long': None, 'result_double': None}] Qualite : 0.03975712850087026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22776419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22776419_08-05-2025_05_54_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22776419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22776419_08-05-2025_05_54_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22776426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22776427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22776428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22776429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22776430, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22776431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22776432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22776433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22776434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22776435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22776436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22776437, 'pht': 3726}}" where mtr_portfolio_id = 22776419 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22776419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419187, 0.03975712850087026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22776419_08-05-2025_05_54_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22776426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22776427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22776428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22776429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22776430, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22776431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22776432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22776433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22776434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22776435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22776436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22776437, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22777144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806311, 'mtr_portfolio_id': 22777144, 'created_at': datetime.datetime(2025, 5, 8, 5, 54, 31), 'result': '0.04394851991549153', 'result_long': None, 'result_double': None}] Qualite : 0.04394851991549153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22777144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22777144_08-05-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22777144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22777144_08-05-2025_05_54_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22777162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22777163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22777164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22777165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22777166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22777167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22777168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22777169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22777170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22777171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22777172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22777173, 'pht': 3726}}" where mtr_portfolio_id = 22777144 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22777144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419188, 0.04394851991549153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22777144_08-05-2025_05_54_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22777162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22777163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22777164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22777165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22777166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22777167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22777168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22777169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22777170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22777171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22777172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22777173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22778606 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806312, 'mtr_portfolio_id': 22778606, 'created_at': datetime.datetime(2025, 5, 8, 5, 54, 59), 'result': '0.0456591175720747', 'result_long': None, 'result_double': None}] Qualite : 0.0456591175720747 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22778606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22778606_08-05-2025_05_55_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22778606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22778606_08-05-2025_05_55_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22778608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22778609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22778610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22778611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22778612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22778613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22778614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22778615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22778616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22778617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22778618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22778619, 'pht': 3726}}" where mtr_portfolio_id = 22778606 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22778606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419189, 0.0456591175720747, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22778606_08-05-2025_05_55_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22778608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22778609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22778610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22778611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22778612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22778613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22778614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22778615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22778616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22778617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22778618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22778619, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22779405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806313, 'mtr_portfolio_id': 22779405, 'created_at': datetime.datetime(2025, 5, 8, 5, 55, 29), 'result': '0.04265985485666822', 'result_long': None, 'result_double': None}] Qualite : 0.04265985485666822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22779405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779405_08-05-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22779405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779405_08-05-2025_05_55_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22779442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22779443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22779444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22779445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22779446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22779447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22779448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22779449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22779450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22779451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22779452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22779453, 'pht': 3726}}" where mtr_portfolio_id = 22779405 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22779405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419190, 0.04265985485666822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779405_08-05-2025_05_55_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22779442, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22779443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22779444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22779445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22779446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22779447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22779448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22779449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22779450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22779451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22779452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22779453, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22779921 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806314, 'mtr_portfolio_id': 22779921, 'created_at': datetime.datetime(2025, 5, 8, 5, 55, 40), 'result': '0.04234586448015687', 'result_long': None, 'result_double': None}] Qualite : 0.04234586448015687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22779921 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779921_08-05-2025_05_55_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22779921 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779921_08-05-2025_05_55_43.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22779952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22779953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22779954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22779955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22779956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22779957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22779958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22779959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22779960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22779961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22779962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22779963, 'pht': 3726}}" where mtr_portfolio_id = 22779921 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22779921 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419191, 0.04234586448015687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22779921_08-05-2025_05_55_43.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22779952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22779953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22779954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22779955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22779956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22779957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22779958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22779959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22779960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22779961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22779962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22779963, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22780639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806315, 'mtr_portfolio_id': 22780639, 'created_at': datetime.datetime(2025, 5, 8, 5, 55, 58), 'result': '0.036822421377764175', 'result_long': None, 'result_double': None}] Qualite : 0.036822421377764175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22780639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22780639_08-05-2025_05_56_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22780639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22780639_08-05-2025_05_56_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22780661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22780662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22780663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22780664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22780665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22780666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22780667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22780668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22780669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22780670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22780671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22780672, 'pht': 3726}}" where mtr_portfolio_id = 22780639 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22780639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419192, 0.036822421377764175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22780639_08-05-2025_05_56_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22780661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22780662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22780663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22780664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22780665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22780666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22780667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22780668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22780669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22780670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22780671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22780672, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22781151 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806316, 'mtr_portfolio_id': 22781151, 'created_at': datetime.datetime(2025, 5, 8, 5, 56, 28), 'result': '0.036745043675320305', 'result_long': None, 'result_double': None}] Qualite : 0.036745043675320305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22781151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781151_08-05-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22781151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781151_08-05-2025_05_56_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22781168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22781169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22781170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22781171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22781172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22781173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22781174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22781175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22781176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22781177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22781178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22781179, 'pht': 3726}}" where mtr_portfolio_id = 22781151 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22781151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419193, 0.036745043675320305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781151_08-05-2025_05_56_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22781168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22781169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22781170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22781171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22781172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22781173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22781174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22781175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22781176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22781177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22781178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22781179, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22781679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806317, 'mtr_portfolio_id': 22781679, 'created_at': datetime.datetime(2025, 5, 8, 5, 56, 58), 'result': '0.03013349252300656', 'result_long': None, 'result_double': None}] Qualite : 0.03013349252300656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22781679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781679_08-05-2025_05_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22781679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781679_08-05-2025_05_57_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22781711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22781712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22781713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22781714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22781715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22781716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22781717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22781718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22781719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22781720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22781721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22781722, 'pht': 3726}}" where mtr_portfolio_id = 22781679 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22781679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419194, 0.03013349252300656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22781679_08-05-2025_05_57_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22781711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22781712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22781713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22781714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22781715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22781716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22781717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22781718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22781719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22781720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22781721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22781722, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22782273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806318, 'mtr_portfolio_id': 22782273, 'created_at': datetime.datetime(2025, 5, 8, 5, 57, 1), 'result': '0.042053450398750726', 'result_long': None, 'result_double': None}] Qualite : 0.042053450398750726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22782273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22782273_08-05-2025_05_57_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22782273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22782273_08-05-2025_05_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22782324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22782325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22782326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22782327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22782328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22782329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22782330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22782331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22782332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22782333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22782334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22782335, 'pht': 3726}}" where mtr_portfolio_id = 22782273 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22782273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419195, 0.042053450398750726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22782273_08-05-2025_05_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22782324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22782325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22782326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22782327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22782328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22782329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22782330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22782331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22782332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22782333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22782334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22782335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22783169 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806319, 'mtr_portfolio_id': 22783169, 'created_at': datetime.datetime(2025, 5, 8, 5, 57, 30), 'result': '0.060087392311347534', 'result_long': None, 'result_double': None}] Qualite : 0.060087392311347534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22783169 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22783169_08-05-2025_05_57_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22783169 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22783169_08-05-2025_05_57_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22783212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22783213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22783214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22783215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22783216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22783217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22783218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22783219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22783220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22783221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22783222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22783223, 'pht': 3726}}" where mtr_portfolio_id = 22783169 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22783169 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419196, 0.060087392311347534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22783169_08-05-2025_05_57_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22783212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22783213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22783214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22783215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22783216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22783217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22783218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22783219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22783220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22783221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22783222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22783223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22784370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806320, 'mtr_portfolio_id': 22784370, 'created_at': datetime.datetime(2025, 5, 8, 5, 57, 31), 'result': '0.0566067828338333', 'result_long': None, 'result_double': None}] Qualite : 0.0566067828338333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22784370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22784370_08-05-2025_05_57_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22784370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22784370_08-05-2025_05_57_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22784400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22784401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22784402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22784403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22784404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22784405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22784406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22784407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22784408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22784409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22784410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22784411, 'pht': 3726}}" where mtr_portfolio_id = 22784370 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22784370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419197, 0.0566067828338333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22784370_08-05-2025_05_57_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22784400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22784401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22784402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22784403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22784404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22784405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22784406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22784407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22784408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22784409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22784410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22784411, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22785011 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806321, 'mtr_portfolio_id': 22785011, 'created_at': datetime.datetime(2025, 5, 8, 5, 57, 59), 'result': '0.052620062055416666', 'result_long': None, 'result_double': None}] Qualite : 0.052620062055416666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22785011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785011_08-05-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22785011 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785011_08-05-2025_05_58_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22785044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22785045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22785046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22785047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22785048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22785049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22785050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22785051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22785052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22785053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22785054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22785055, 'pht': 3726}}" where mtr_portfolio_id = 22785011 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22785011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419198, 0.052620062055416666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785011_08-05-2025_05_58_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22785044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22785045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22785046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22785047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22785048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22785049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22785050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22785051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22785052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22785053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22785054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22785055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22785793 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2806322, 'mtr_portfolio_id': 22785793, 'created_at': datetime.datetime(2025, 5, 8, 5, 58, 28), 'result': '0.07424969602385643', 'result_long': None, 'result_double': None}] Qualite : 0.07424969602385643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22785793 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_08-05-2025_05_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22785793 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_08-05-2025_05_58_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22785893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22785894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22785895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22785896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22785897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22785898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22785899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22785900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22785901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22785902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22785903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22785904, 'pht': 3726}}" where mtr_portfolio_id = 22785793 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22785793 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419199, 0.07424969602385643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22785793_08-05-2025_05_58_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22785893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22785894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22785895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22785896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22785897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22785898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22785899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22785900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22785901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22785902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22785903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22785904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22787165 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2805047, 'mtr_portfolio_id': 22787165, 'created_at': datetime.datetime(2025, 5, 7, 21, 19), 'result': '0.02472495436939063', 'result_long': None, 'result_double': None}] Qualite : 0.02472495436939063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22787165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22787165_07-05-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22787165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22787165_07-05-2025_21_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22787222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22787223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22787224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22787225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22787226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22787227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22787228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22787229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22787230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22787231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22787232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22787233, 'pht': 3726}}" where mtr_portfolio_id = 22787165 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22787165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419200, 0.02472495436939063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22787165_07-05-2025_21_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22787222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22787223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22787224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22787225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22787226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22787227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22787228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22787229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22787230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22787231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22787232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22787233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22791880 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2805544, 'mtr_portfolio_id': 22791880, 'created_at': datetime.datetime(2025, 5, 7, 23, 47, 31), 'result': '0.06512728908308166', 'result_long': None, 'result_double': None}] Qualite : 0.06512728908308166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22791880 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22791880_07-05-2025_23_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22791880 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22791880_07-05-2025_23_47_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22791881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22791882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22791883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22791884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22791885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22791886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22791887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22791888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22791889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22791890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22791891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22791892, 'pht': 3726}}" where mtr_portfolio_id = 22791880 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22791880 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419201, 0.06512728908308166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22791880_07-05-2025_23_47_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22791881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22791882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22791883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22791884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22791885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22791886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22791887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22791888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22791889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22791890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22791891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22791892, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22792043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2805565, 'mtr_portfolio_id': 22792043, 'created_at': datetime.datetime(2025, 5, 8, 0, 26), 'result': '0.07272498087058815', 'result_long': None, 'result_double': None}] Qualite : 0.07272498087058815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22792043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22792043_08-05-2025_00_26_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22792043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22792043_08-05-2025_00_26_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22792044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22792045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22792046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22792047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22792048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22792049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22792050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22792051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22792052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22792053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22792054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22792055, 'pht': 3726}}" where mtr_portfolio_id = 22792043 and dashboard_run_id = 1793521 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22792043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10419202, 0.07272498087058815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22792043_08-05-2025_00_26_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22792044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22792045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22792046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22792047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22792048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22792049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22792050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22792051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22792052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22792053, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22792054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22792055, '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 (22740041,22741189,22741710,22742314,22743939,22744354,22744792,22745552,22745924,22746301,22746900,22747363,22747808,22748285,22748931,22749585,22750050,22750360,22750640,22751196,22751988,22752170,22752559,22753186,22753874,22754426,22755041,22755575,22756353,22756932,22757570,22758740,22759267,22759893,22760380,22760869,22761425,22761940,22762781,22763290,22764124,22765102,22766692,22766964,22767781,22768655,22769438,22770243,22771127,22771818,22772434,22772985,22773631,22774565,22775203,22775858,22776419,22777144,22778606,22779405,22779921,22780639,22781151,22781679,22782273,22783169,22784370,22785011,22785793,22787165,22791880,22792043) result : ((1356510147,), (1356510155,), (1356510161,), (1356510216,), (1356510244,), (1356510275,), (1356510905,), (1356510935,), (1356511118,), (1356511163,), (1356511215,), (1356511248,), (1356511465,), (1356511503,), (1356511529,), (1356511552,), (1356511556,), (1356511557,), (1356511778,), (1356511794,), (1356511829,), (1356515156,), (1356515208,), (1356515901,), (1356515952,), (1356516009,), (1356516068,), (1356516118,), (1356516709,), (1356516768,), (1356516802,), (1356517611,), (1356517205,), (1356517282,), (1356517353,), (1356517432,), (1356517511,), (1356518522,), (1356518642,), (1356518772,), (1356520657,), (1356520772,), (1356520880,), (1356520942,), (1356521561,), (1356521613,), (1356521662,), (1356521710,), (1356521766,), (1356521814,), (1356521967,), (1356522017,), (1356522065,), (1356522762,), (1356522842,), (1356522931,), (1356522962,), (1356522997,), (1356523046,), (1356523401,), (1356523447,), (1356523501,), (1356523551,), (1356523604,), (1356523663,), (1356524321,), (1356524362,), (1356525241,), (1356525301,), (1356525336,), (1356525381,), (1356525424,), (1356525488,), (1356525876,), (1356525905,), (1356525912,), (1356525916,), (1356525920,), (1356526224,), (1356526289,), (1356526355,), (1356526529,), (1356526599,), (1356526888,), (1356526916,), (1356526943,), (1356526977,), (1356527139,), (1356527144,), (1356527199,), (1356527283,), (1356527286,), (1356527289,), (1356527297,), (1356527302,), (1356527305,), (1356527328,), (1356527330,), (1356527333,), (1356527336,), (1356527340,), (1356527398,), (1356527388,), (1356527390,), (1356527392,), (1356527394,), (1356527420,), (1356527434,), (1356527575,), (1356527577,), (1356527579,), (1356527598,), (1356527622,), (1356527823,), (1356527833,), (1356527838,), (1356527840,), (1356527842,), (1356527859,), (1356527861,), (1356527864,), (1356527867,), (1356527891,), (1356527895,), (1356527897,), (1356527982,), (1356527986,), (1356527991,), (1356527999,), (1356528003,), (1356528011,), (1356528184,), (1356528189,), (1356528198,), (1356528204,), (1356528209,), (1356528214,), (1356528324,), (1356528352,), (1356528387,), (1356528414,), (1356528872,), (1356528898,), (1356528919,), (1356528924,), (1356529012,), (1356529017,), (1356529019,), (1356529022,), (1356529025,), (1356529113,), (1356529117,), (1356529120,), (1356529170,), (1356529182,), (1356529186,), (1356529237,), (1356529247,), (1356529250,), (1356529261,), (1356529264,), (1356529266,), (1356529406,), (1356529399,), (1356529402,), (1356529404,), (1356529431,), (1356529434,), (1356529458,), (1356529557,), (1356529675,), (1356529794,), (1356530410,), (1356530440,), (1356530477,), (1356530580,), (1356531356,), (1356531437,), (1356531633,), (1356531681,), (1356532294,), (1356532343,), (1356532397,), (1356532472,), (1356532568,), (1356532573,), (1356532576,), (1356532577,), (1356532581,), (1356532599,), (1356532888,), (1356532942,), (1356532993,), (1356533043,), (1356533437,), (1356533468,), (1356533509,), (1356533555,), (1356533731,), (1356533754,), (1356533782,), (1356533815,), (1356533856,), (1356534880,), (1356534890,), (1356534942,), (1356534970,), (1356535000,), (1356535530,), (1356535601,), (1356535647,), (1356536690,), (1356536742,), (1356536792,), (1356536816,), (1356537259,), (1356537293,), (1356537324,), (1356537365,), (1356537396,), (1356538843,), (1356538848,), (1356538852,), (1356538856,), (1356551892,), (1356551883,), (1356551888,), (1356551890,), (1356552007,), (1356552011,), (1356552031,), (1356552173,), (1356552180,), (1356552208,), (1356552234,), (1356552260,), (1356552263,), (1356552266,), (1356552269,), (1356552740,), (1356552754,), (1356552757,), (1356552759,), (1356552897,), (1356552899,), (1356552901,), (1356552908,), (1356552920,), (1356553268,), (1356553293,), (1356553318,), (1356553342,), (1356553365,), (1356553686,), (1356553770,), (1356553774,), (1356553784,), (1356553853,), (1356553856,), (1356553858,), (1356553898,), (1356553907,), (1356553909,), (1356553912,), (1356553915,), (1356553919,), (1356553949,), (1356553999,), (1356554078,), (1356554150,), (1356554223,), (1356554229,), (1356554230,), (1356554232,), (1356554290,), (1356554321,), (1356554356,), (1356554390,), (1356554427,), (1356554447,), (1356554451,), (1356554474,), (1356554480,), (1356554508,), (1356554534,), (1356554715,), (1356554717,), (1356554718,), (1356554720,), (1356554723,), (1356554775,), (1356554741,), (1356554744,), (1356554758,), (1356554771,), (1356554792,), (1356554801,), (1356554832,), (1356554842,), (1356554844,), (1356554846,), (1356554849,), (1356554964,), (1356554991,), (1356555019,), (1356555045,), (1356555374,), (1356555409,), (1356555487,), (1356555573,), (1356555603,), (1356555631,), (1356555840,), (1356555843,), (1356555844,), (1356555847,), (1356555849,), (1356555851,), (1356555975,), (1356556009,), (1356556032,), (1356556056,), (1356556246,), (1356556315,), (1356556317,), (1356556320,), (1356556343,), (1356556346,), (1356556349,), (1356556516,), (1356556546,), (1356557073,), (1356556969,), (1356556995,), (1356557021,), (1356557046,), (1356557252,), (1356557264,), (1356557274,), (1356557385,), (1356557410,), (1356557411,), (1356557413,), (1356557416,), (1356557419,), (1356557454,), (1356557456,), (1356557485,), (1356558044,), (1356558086,), (1356558115,), (1356558146,), (1356558764,), (1356558943,), (1356558979,), (1356559005,), (1356559076,), (1356559426,), (1356559432,), (1356559482,), (1356559538,), (1356559600,), (1356559959,), (1356559984,), (1356560009,), (1356560136,), (1356560190,), (1356560246,), (1356560883,), (1356561039,), (1356561143,), (1356561355,), (1356561771,), (1356561812,), (1356561860,), (1356561896,), (1356561943,), (1356562118,), (1356562123,), (1356562149,), (1356562177,), (1356562213,), (1356562263,), (1356562752,), (1356562797,), (1356562823,), (1356562865,), (1356563467,), (1356563522,), (1356563579,), (1356563627,), (1356564196,), (1356564239,), (1356564259,), (1356564262,), (1356564265,), (1356564287,), (1356564291,), (1356564293,), (1356564295,), (1356564296,), (1356565344,), (1356564955,), (1356565038,), (1356565118,), (1356565195,), (1356565273,), (1356566148,), (1356566196,), (1356566696,), (1356566706,), (1356566708,), (1356566720,), (1356566722,), (1356566745,), (1356566747,), (1356566749,), (1356566751,), (1356566754,), (1356566994,), (1356567021,), (1356567046,), (1356567071,), (1356567100,), (1356567126,), (1356567388,), (1356567413,), (1356567741,), (1356567829,), (1356567852,), (1356567879,), (1356567907,), (1356568160,), (1356568166,), (1356568170,), (1356568175,), (1356568179,), (1356568183,), (1356568192,), (1356568194,), (1356568196,), (1356568460,), (1356568508,), (1356568569,), (1356568596,), (1356568667,), (1356568669,), (1356568674,), (1356568677,), (1356568679,), (1356568739,), (1356568740,), (1356568741,), (1356568758,), (1356568783,), (1356569059,), (1356569084,), (1356569299,), (1356569300,), (1356569301,), (1356569302,), (1356569304,), (1356569306,), (1356569343,), (1356569344,), (1356569346,), (1356569348,), (1356569350,), (1356569598,), (1356569583,), (1356569593,), (1356569595,), (1356569596,), (1356569626,), (1356569630,), (1356569633,), (1356569666,), (1356569668,), (1356569670,), (1356569671,), (1356569673,), (1356569674,), (1356569708,), (1356569713,), (1356569715,), (1356569716,), (1356569718,), (1356569745,), (1356569747,), (1356569748,), (1356569750,), (1356569752,), (1356569774,), (1356569775,), (1356569776,), (1356569793,), (1356569797,), (1356569831,), (1356569833,), (1356569835,), (1356569837,), (1356569870,), (1356569872,), (1356569874,), (1356569876,), (1356569900,), (1356569906,), (1356569908,), (1356569911,), (1356569952,), (1356569955,), (1356569957,), (1356569959,), (1356569993,), (1356569996,), (1356569999,), (1356570001,), (1356570141,), (1356570168,), (1356570194,), (1356570219,), (1356570377,), (1356570406,), (1356570422,), (1356570427,), (1356570578,), (1356570580,), (1356570582,), (1356570584,), (1356570955,), (1356570872,), (1356570900,), (1356570928,), (1356571270,), (1356571296,), (1356571325,), (1356571362,), (1356571392,), (1356571492,), (1356571494,), (1356571520,), (1356571525,), (1356571528,), (1356571529,), (1356571739,), (1356571767,), (1356571795,), (1356571822,), (1356571848,), (1356572115,), (1356572117,), (1356572119,), (1356572121,), (1356572124,), (1356572253,), (1356572254,), (1356572256,), (1356572258,), (1356572299,), (1356572308,), (1356572312,), (1356572316,), (1356572505,), (1356572583,), (1356572610,), (1356572643,), (1356572667,), (1356572695,), (1356572847,), (1356572848,), (1356572849,), (1356572945,), (1356572983,), (1356573007,), (1356573031,), (1356573357,), (1356573389,), (1356573689,), (1356573713,), (1356575159,), (1356575235,), (1356575267,), (1356575306,), (1356575460,), (1356575475,), (1356575487,), (1356575510,), (1356575789,), (1356575727,), (1356575759,), (1356576071,), (1356576097,), (1356576130,), (1356576159,), (1356576662,), (1356576712,), (1356576743,), (1356576747,), (1356576771,), (1356576803,), (1356576805,), (1356576807,), (1356576809,), (1356576830,), (1356576832,), (1356576834,), (1356576837,), (1356576868,), (1356576870,), (1356576871,), (1356576872,), (1356576873,), (1356576875,), (1356576910,), (1356576913,), (1356576915,), (1356576956,), (1356576957,), (1356576958,), (1356576959,), (1356576961,), (1356576985,), (1356576986,), (1356576987,), (1356576988,), (1356577018,), (1356577019,), (1356577021,), (1356577141,), (1356577186,), (1356577188,), (1356577212,), (1356577214,), (1356577242,), (1356577238,), (1356577272,), (1356577280,), (1356577282,), (1356577284,), (1356577286,), (1356577288,), (1356577421,), (1356577445,), (1356577467,), (1356577489,), (1356577819,), (1356577847,), (1356577872,), (1356578109,), (1356578111,), (1356578112,), (1356578113,), (1356578115,), (1356578159,), (1356578160,), (1356578161,), (1356578162,), (1356578164,), (1356578165,), (1356578194,), (1356578207,), (1356578230,), (1356578261,), (1356578290,), (1356578332,), (1356578895,), (1356578940,), (1356579576,), (1356579616,), (1356579624,), (1356579625,), (1356579763,), (1356579764,), (1356579765,), (1356579766,), (1356579768,), (1356580017,), (1356580068,), (1356580069,), (1356580071,), (1356580295,), (1356580320,), (1356580343,), (1356580417,), (1356580517,), (1356580548,), (1356580826,), (1356580827,), (1356580828,), (1356580829,), (1356580830,), (1356581077,), (1356581102,), (1356581128,), (1356581329,), (1356581333,), (1356581334,), (1356581336,), (1356581338,), (1356581340,), (1356581387,), (1356581384,), (1356581385,), (1356581386,), (1356581428,), (1356581429,), (1356581430,), (1356581432,), (1356581459,), (1356581460,), (1356581487,), (1356581488,), (1356581511,), (1356581514,), (1356581515,), (1356581517,), (1356581519,), (1356581541,), (1356581542,), (1356581543,), (1356581544,), (1356581546,), (1356581571,), (1356581572,), (1356581573,), (1356581574,), (1356581630,), (1356581632,), (1356581653,), (1356581706,), (1356581709,), (1356581711,), (1356581713,), (1356581718,), (1356581738,), (1356581742,), (1356581744,), (1356581746,), (1356581748,), (1356581804,), (1356581806,), (1356581808,), (1356581993,), (1356581998,), (1356582017,), (1356582045,), (1356582069,), (1356582104,), (1356582163,), (1356582167,), (1356582215,), (1356582261,), (1356582270,), (1356582272,), (1356582274,), (1356582277,), (1356582283,), (1356582297,), (1356582303,), (1356582307,), (1356582311,), (1356582313,), (1356582315,), (1356582316,), (1356582355,), (1356582352,), (1356582353,), (1356582354,), (1356582373,), (1356582375,), (1356582377,), (1356582380,), (1356582383,), (1356582385,), (1356582408,), (1356582409,), (1356582410,), (1356582435,), (1356582436,), (1356582437,), (1356582438,), (1356582471,), (1356582473,), (1356582523,), (1356582554,), (1356582588,), (1356582700,), (1356582955,), (1356583810,), (1356583836,), (1356583872,), (1356583905,), (1356583939,), (1356584522,), (1356584587,), (1356584589,), (1356584711,), (1356584713,), (1356584737,), (1356584738,), (1356584740,), (1356584742,), (1356584744,), (1356584747,), (1356585201,), (1356585204,), (1356585206,), (1356585208,), (1356585210,), (1356585478,), (1356585508,), (1356585539,), (1356585592,), (1356585645,), (1356586130,), (1356586171,), (1356586222,), (1356586981,), (1356587007,), (1356587021,), (1356587023,), (1356587026,), (1356587825,), (1356587882,), (1356587943,), (1356588003,), (1356588058,), (1356588677,), (1356588542,), (1356588577,), (1356588610,), (1356588647,), (1356588786,), (1356588816,), (1356588843,), (1356588871,), (1356588899,), (1356588978,), (1356588980,), (1356588982,), (1356588986,), (1356588988,), (1356588990,), (1356589016,), (1356589019,), (1356589021,), (1356589023,), (1356589042,), (1356589045,), (1356589049,), (1356589051,), (1356589073,), (1356589077,), (1356589080,), (1356589082,), (1356589086,), (1356589098,), (1356589100,), (1356589103,), (1356589105,), (1356589107,), (1356589110,), (1356589148,), (1356589150,), (1356589178,), (1356589180,), (1356589182,), (1356589184,), (1356589213,), (1356589227,), (1356589230,), (1356589232,), (1356589235,), (1356589237,), (1356589296,), (1356589298,), (1356589366,), (1356600110,), (1356600041,), (1356600533,), (1356601688,), (1356602732,), (1356602733,), (1356602758,), (1356602760,), (1356603106,), (1356603132,), (1356603263,), (1356603356,), (1356603457,), (1356603478,), (1356603804,), (1356603806,), (1356603807,), (1356603808,), (1356603811,), (1356603813,), (1356603840,), (1356603836,), (1356603837,), (1356603838,), (1356603865,), (1356603867,), (1356603869,), (1356603872,), (1356603877,), (1356603882,), (1356603905,), (1356603906,), (1356603907,), (1356603908,), (1356603934,), (1356603935,), (1356603936,), (1356603937,), (1356603938,), (1356603940,), (1356603980,), (1356603982,), (1356603984,), (1356604029,), (1356604033,), (1356604035,), (1356604037,), (1356604063,), (1356604066,), (1356604069,), (1356604071,), (1356604074,), (1356604109,), (1356604112,), (1356604116,), (1356604120,), (1356604184,), (1356604187,), (1356604188,), (1356604189,), (1356604191,), (1356604192,), (1356604218,), (1356604219,), (1356604220,), (1356604222,), (1356604265,), (1356604266,), (1356604267,), (1356604268,), (1356604270,), (1356604272,), (1356604352,), (1356604377,), (1356604403,), (1356604432,), (1356604614,), (1356604615,), (1356604616,), (1356604617,), (1356604618,), (1356604637,), (1356604881,), (1356604882,), (1356604903,), (1356604923,), (1356605008,), (1356605040,), (1356605105,), (1356605168,), (1356605175,), (1356605191,), (1356605209,), (1356605195,), (1356605199,), (1356605207,), (1356605241,), (1356605243,), (1356605245,), (1356605247,), (1356605250,), (1356605252,), (1356605272,), (1356605275,), (1356605277,), (1356605279,), (1356605281,), (1356605283,), (1356605326,), (1356605328,), (1356605330,), (1356605332,), (1356605403,), (1356605406,), (1356605408,), (1356605410,), (1356605412,), (1356605415,), (1356605443,), (1356605446,), (1356605447,), (1356605449,), (1356605472,), (1356605474,), (1356605476,), (1356605478,), (1356605480,), (1356605484,), (1356605511,), (1356605513,), (1356605515,), (1356605518,), (1356605541,), (1356605544,), (1356605546,), (1356605548,), (1356605551,), (1356605553,), (1356605822,), (1356605865,), (1356605891,), (1356605917,), (1356606247,), (1356606325,), (1356606388,), (1356606442,), (1356606492,), (1356606496,), (1356606507,), (1356606509,), (1356606510,), (1356606512,), (1356606514,), (1356606518,), (1356606530,), (1356606534,), (1356606538,), (1356606540,), (1356606548,), (1356606631,), (1356606655,), (1356606695,), (1356606721,), (1356606752,), (1356606781,), (1356606983,), (1356606985,), (1356606986,), (1356606987,), (1356607156,), (1356607158,), (1356607160,), (1356607161,), (1356607162,), (1356607165,), (1356607200,), (1356607197,), (1356607198,), (1356607462,), (1356607488,), (1356607515,), (1356607541,), (1356607566,), (1356607592,), (1356607688,), (1356607689,), (1356607690,), (1356607691,), (1356607693,), (1356607727,), (1356607728,), (1356607729,), (1356607730,), (1356607731,), (1356607771,), (1356607772,), (1356607773,), (1356607775,), (1356607776,), (1356607778,), (1356607818,), (1356607819,), (1356607820,), (1356607873,), (1356607875,), (1356607876,), (1356607877,), (1356607878,), (1356607880,), (1356607905,), (1356607906,), (1356607907,), (1356607908,), (1356607938,), (1356607939,), (1356607940,), (1356607941,), (1356607942,), (1356607972,), (1356607978,), (1356607980,), (1356607981,), (1356607999,), (1356608007,), (1356608015,), (1356608017,), (1356608020,), (1356608022,), (1356608044,), (1356608046,), (1356608049,), (1356608050,), (1356608053,), (1356608056,), (1356608074,), (1356608101,), (1356608130,), (1356608157,), (1356609466,), (1356609470,), (1356609475,), (1356609479,), (1356609591,), (1356609611,), (1356609640,), (1356609678,), (1356609706,), (1356609738,), (1356609730,), (1356609733,), (1356609736,), (1356609759,), (1356609761,), (1356609763,), (1356609765,), (1356609767,), (1356609771,), (1356609789,), (1356609791,), (1356609795,), (1356609796,), (1356609804,), (1356609825,), (1356609831,), (1356609836,), (1356609839,), (1356609841,), (1356609855,), (1356609865,), (1356609869,), (1356609871,), (1356609873,), (1356609875,), (1356609913,), (1356609915,), (1356609916,), (1356609917,), (1356609955,), (1356609956,), (1356609957,), (1356609960,), (1356609986,), (1356610012,), (1356610203,), (1356610205,), (1356610222,), (1356610243,), (1356610346,), (1356610347,), (1356610348,), (1356610349,), (1356610351,), (1356610352,), (1356610384,), (1356610385,), (1356610386,), (1356610388,), (1356610390,), (1356610455,), (1356610456,), (1356610457,), (1356610459,), (1356610486,), (1356610488,), (1356610490,), (1356610493,), (1356610496,), (1356610498,), (1356610516,), (1356610518,), (1356610520,), (1356610522,), (1356610554,), (1356610557,), (1356610559,), (1356610561,), (1356610563,), (1356610566,), (1356610589,), (1356610593,), (1356610595,), (1356610597,), (1356610600,), (1356610646,), (1356610639,), (1356610641,), (1356610642,), (1356610643,), (1356610645,), (1356610670,), (1356610672,), (1356610674,), (1356610677,), (1356610681,), (1356610706,), (1356610707,), (1356610710,), (1356610714,), (1356610718,), (1356610720,), (1356610743,), (1356610744,), (1356610747,), (1356610749,), (1356610778,), (1356610784,), (1356610785,), (1356610788,), (1356610791,), (1356610792,), (1356610884,), (1356610888,), (1356610891,), (1356610899,), (1356610938,), (1356610940,), (1356610942,), (1356610944,), (1356610947,), (1356610951,), (1356610971,), (1356610974,), (1356610976,), (1356610978,), (1356611016,), (1356611017,), (1356611020,), (1356611022,), (1356611025,), (1356611058,), (1356611060,), (1356611063,), (1356611064,), (1356611067,), (1356611069,), (1356611108,), (1356611111,), (1356611115,), (1356611117,), (1356611121,), (1356611123,), (1356611152,), (1356611155,), (1356611157,), (1356611159,), (1356611161,), (1356611165,), (1356611188,), (1356611190,), (1356611193,), (1356611195,), (1356611199,), (1356611216,), (1356611218,), (1356611220,), (1356611222,), (1356611226,), (1356611250,), (1356611254,), (1356611256,), (1356611258,), (1356611263,), (1356611342,), (1356611332,), (1356611334,), (1356611336,), (1356611338,), (1356611368,), (1356611370,), (1356611372,), (1356611374,), (1356611379,), (1356611382,), (1356611410,), (1356611412,), (1356611414,), (1356611416,), (1356611420,), (1356611463,), (1356611466,), (1356611468,), (1356611472,), (1356611475,), (1356611477,), (1356611513,), (1356611515,), (1356611517,), (1356611521,), (1356611554,), (1356611558,), (1356611561,), (1356611564,), (1356611567,), (1356611570,), (1356611602,), (1356611604,), (1356611606,), (1356611648,), (1356611661,), (1356611663,), (1356611667,), (1356611670,), (1356611695,), (1356611699,), (1356611702,), (1356611705,), (1356611707,), (1356611711,), (1356611742,), (1356611745,), (1356611749,), (1356611752,), (1356611802,), (1356611806,), (1356611809,), (1356611812,), (1356611816,), (1356611820,), (1356611859,), (1356611863,), (1356611866,), (1356611870,), (1356611901,), (1356611906,), (1356611909,), (1356611942,), (1356611944,), (1356611946,), (1356611948,), (1356611952,), (1356611982,), (1356611985,), (1356611988,), (1356611991,), (1356611995,), (1356611997,), (1356612034,), (1356612016,), (1356612018,), (1356612020,), (1356612022,), (1356612026,), (1356612053,), (1356612055,), (1356612057,), (1356612083,), (1356612085,), (1356612087,), (1356612091,), (1356612096,), (1356612099,), (1356612138,), (1356612140,), (1356612142,), (1356612144,), (1356612181,), (1356612183,), (1356612185,), (1356612233,), (1356612235,), (1356612237,), (1356612239,), (1356612241,), (1356612245,), (1356612299,), (1356612302,), (1356612305,), (1356612309,), (1356612333,), (1356612335,), (1356612337,), (1356612339,), (1356612341,), (1356612379,), (1356612382,), (1356612386,), (1356612389,), (1356612391,), (1356612393,), (1356612423,), (1356612436,), (1356612438,), (1356612440,), (1356612442,), (1356612500,), (1356612503,), (1356612505,), (1356612507,), (1356612509,), (1356612549,), (1356612577,), (1356612605,), (1356612631,), (1356612660,), (1356612990,), (1356613017,), (1356613050,), (1356613105,), (1356613154,), (1356614058,), (1356614070,), (1356614099,), (1356614129,), (1356614178,), (1356614187,), (1356614274,), (1356614265,), (1356614268,), (1356614271,), (1356614315,), (1356614319,), (1356614322,), (1356614325,), (1356614328,), (1356614365,), (1356614369,), (1356614372,), (1356614411,), (1356614416,), (1356614418,), (1356614421,), (1356614424,), (1356614466,), (1356614470,), (1356614473,), (1356614476,), (1356614480,), (1356614511,), (1356614524,), (1356614527,), (1356614531,), (1356614535,), (1356614565,), (1356614568,), (1356614573,), (1356614577,), (1356614582,), (1356614586,), (1356614610,), (1356614613,), (1356614617,), (1356614620,), (1356614649,), (1356614652,), (1356614655,), (1356614659,), (1356614664,), (1356614666,), (1356614720,), (1356614724,), (1356614741,), (1356614745,), (1356614746,), (1356614827,), (1356614829,), (1356614831,), (1356614832,), (1356614835,), (1356614889,), (1356614892,), (1356614896,), (1356614899,), (1356614903,), (1356614905,), (1356614960,), (1356614961,), (1356614965,), (1356614968,), (1356614971,), (1356615014,), (1356615017,), (1356615021,), (1356615024,), (1356615026,), (1356615029,), (1356615084,), (1356615093,), (1356615097,), (1356615099,), (1356615103,), (1356615175,), (1356615154,), (1356615163,), (1356615166,), (1356615168,), (1356615173,), (1356615207,), (1356615211,), (1356615214,), (1356615218,), (1356615222,), (1356615258,), (1356615270,), (1356615297,), (1356615306,), (1356615308,), (1356615414,), (1356615419,), (1356615438,), (1356615456,), (1356615472,), (1356615579,), (1356615589,), (1356615593,), (1356615699,), (1356615704,), (1356615707,), (1356615712,), (1356615715,), (1356615718,), (1356615764,), (1356615774,), (1356615777,), (1356616179,), (1356616206,), (1356616251,), (1356616286,), (1356616319,), (1356616327,), (1356616472,), (1356616478,), (1356616483,), (1356616488,), (1356616491,), (1356616631,), (1356616634,), (1356616637,), (1356616648,), (1356616673,), (1356616702,), (1356616793,), (1356616798,), (1356616802,), (1356616811,), (1356616851,), (1356616878,), (1356617072,), (1356617101,), (1356617119,), (1356617123,), (1356617223,), (1356617229,), (1356617237,), (1356617245,), (1356617249,), (1356617252,), (1356617298,), (1356617301,), (1356617304,), (1356617356,), (1356617367,), (1356617372,), (1356617375,), (1356617380,), (1356617384,), (1356617500,), (1356617479,), (1356617482,), (1356617486,), (1356617489,), (1356617495,), (1356617547,), (1356617554,), (1356617565,), (1356617612,), (1356617616,), (1356617619,), (1356617624,), (1356617628,), (1356617632,), (1356617676,), (1356617681,), (1356617685,), (1356617687,), (1356617889,), (1356617895,), (1356617898,), (1356617902,), (1356617947,), (1356617949,), (1356617952,), (1356617954,), (1356617955,), (1356617957,), (1356617987,), (1356617993,), (1356617995,), (1356617997,), (1356618002,), (1356618027,), (1356618029,), (1356618033,), (1356618038,), (1356618041,), (1356618069,), (1356618071,), (1356618074,), (1356618168,), (1356618181,), (1356618186,), (1356618188,), (1356618201,), (1356618214,), (1356618270,), (1356618273,), (1356618276,), (1356618278,), (1356618279,), (1356618407,), (1356618411,), (1356618416,), (1356618418,), (1356618465,), (1356618471,), (1356618475,), (1356618488,), (1356618496,), (1356618504,), (1356618557,), (1356618567,), (1356618570,), (1356618574,), (1356618590,), (1356618667,), (1356618680,), (1356618686,), (1356618688,), (1356618824,), (1356618806,), (1356618810,), (1356618814,), (1356618816,), (1356618820,), (1356618849,), (1356618853,), (1356618865,), (1356618867,), (1356618903,), (1356618907,), (1356618909,), (1356618912,), (1356618916,), (1356618920,), (1356618950,), (1356618953,), (1356618956,), (1356619024,), (1356619030,), (1356619038,), (1356619045,), (1356619048,), (1356619069,), (1356619204,), (1356619208,), (1356619216,), (1356619219,), (1356619222,), (1356619226,), (1356619315,), (1356619326,), (1356619330,), (1356619367,), (1356619369,), (1356619373,), (1356619376,), (1356619380,), (1356619384,), (1356619429,), (1356619439,), (1356619447,), (1356619454,), (1356619548,), (1356619555,), (1356619564,), (1356619568,), (1356619571,), (1356619656,), (1356619659,), (1356619686,), (1356619690,), (1356619696,), (1356619716,), (1356619938,), (1356619943,), (1356619948,), (1356620144,), (1356620173,), (1356620206,), (1356620229,), (1356620259,), (1356620288,), (1356620689,), (1356620714,), (1356620775,), (1356620826,), (1356621295,), (1356621103,), (1356621204,), (1356621235,), (1356621265,), (1356621568,), (1356621598,), (1356621625,), (1356621658,), (1356621756,), (1356621782,), (1356621807,), (1356621834,), (1356621871,), (1356622044,), (1356622048,), (1356622051,), (1356622055,), (1356622070,), (1356622116,), (1356622120,), (1356622123,), (1356622209,), (1356622213,), (1356622217,), (1356622222,), (1356622269,), (1356622270,), (1356622272,), (1356622274,), (1356622283,), (1356622286,), (1356622358,), (1356622365,), (1356622369,), (1356622452,), (1356622454,), (1356622456,), (1356622458,), (1356622459,), (1356622463,), (1356622504,), (1356622517,), (1356622523,), (1356622527,), (1356622638,), (1356622668,), (1356622674,), (1356622685,), (1356622699,), (1356622704,), (1356622783,), (1356622807,), (1356622814,), (1356622826,), (1356622960,), (1356622984,), (1356623054,), (1356623083,), (1356623110,), (1356623137,), (1356623287,), (1356623295,), (1356623308,), (1356623335,), (1356623602,), (1356623614,), (1356623618,), (1356623619,), (1356623620,), (1356623625,), (1356623771,), (1356623753,), (1356623757,), (1356623761,), (1356623765,), (1356623767,), (1356623801,), (1356623804,), (1356623806,), (1356624009,), (1356624012,), (1356624018,), (1356624025,), (1356624034,), (1356624037,), (1356624134,), (1356624135,), (1356624137,), (1356624139,), (1356624142,), (1356624208,), (1356624211,), (1356624225,), (1356624240,), (1356624244,), (1356624407,), (1356624413,), (1356624415,), (1356624417,), (1356624419,), (1356624421,), (1356624506,), (1356624533,), (1356624563,), (1356624806,), (1356624809,), (1356624812,), (1356624816,), (1356624819,), (1356624881,), (1356624884,), (1356624887,), (1356624890,), (1356625099,), (1356625116,), (1356625124,), (1356625263,), (1356625265,), (1356625267,), (1356625269,), (1356625313,), (1356625318,), (1356625320,), (1356625323,), (1356625330,), (1356625343,), (1356625441,), (1356625469,), (1356625473,), (1356625527,), (1356625530,), (1356625531,), (1356625534,), (1356625536,), (1356625542,), (1356625580,), (1356625586,), (1356625591,), (1356625602,), (1356625606,), (1356625730,), (1356625723,), (1356625724,), (1356625727,), (1356625781,), (1356625793,), (1356625798,), (1356625801,), (1356625804,), (1356625845,), (1356625847,), (1356625850,), (1356625856,), (1356625925,), (1356625927,), (1356625932,), (1356625937,), (1356626066,), (1356626099,), (1356626129,), (1356626160,), (1356626195,), (1356626223,), (1356626473,), (1356626477,), (1356626480,), (1356626483,), (1356626765,), (1356626773,), (1356626782,), (1356626790,), (1356626842,), (1356626845,), (1356626849,), (1356626854,), (1356626859,), (1356626864,), (1356626893,), (1356626896,), (1356626899,), (1356626950,), (1356626953,), (1356626959,), (1356626962,), (1356626967,), (1356626972,), (1356627044,), (1356627050,), (1356627065,), (1356627068,), (1356627073,), (1356627076,), (1356627137,), (1356627140,), (1356627147,), (1356627151,), (1356627238,), (1356627254,), (1356627257,), (1356627265,), (1356627286,), (1356627310,), (1356627470,), (1356627474,), (1356627477,), (1356627483,), (1356627491,), (1356627497,), (1356627570,), (1356627577,), (1356627579,), (1356627738,), (1356627623,), (1356627626,), (1356627651,), (1356627678,), (1356627709,), (1356627966,), (1356627968,), (1356627970,), (1356628011,), (1356628017,), (1356628022,), (1356628027,), (1356628028,), (1356628031,), (1356628194,), (1356628202,), (1356628204,), (1356628206,), (1356628209,), (1356628263,), (1356628271,), (1356628281,), (1356628287,), (1356628291,), (1356628408,), (1356628410,), (1356628411,), (1356628413,), (1356628416,), (1356628468,), (1356628472,), (1356628475,), (1356628479,), (1356628506,), (1356628628,), (1356628631,), (1356628633,), (1356628635,), (1356628638,), (1356628692,), (1356628697,), (1356628700,), (1356628703,), (1356628705,), (1356628708,), (1356628748,), (1356628752,), (1356628756,), (1356628759,), (1356628761,), (1356628789,), (1356628796,), (1356628798,), (1356628801,), (1356628804,), (1356628807,), (1356628831,), (1356628834,), (1356628837,), (1356628841,), (1356628845,), (1356628868,), (1356628870,), (1356628873,), (1356628882,), (1356628887,), (1356628941,), (1356628947,), (1356628953,), (1356628960,), (1356628967,), (1356628971,), (1356629011,), (1356632675,), (1356632720,), (1356632723,), (1356632726,), (1356632728,), (1356632732,), (1356632735,), (1356632768,), (1356632773,), (1356632777,), (1356632782,), (1356632849,), (1356632873,), (1356632878,), (1356632881,), (1356632883,), (1356632887,), (1356632890,), (1356633048,), (1356633051,), (1356633055,), (1356633058,), (1356633102,), (1356633104,), (1356633107,), (1356633110,), (1356633113,), (1356633142,), (1356633145,), (1356633147,), (1356633151,), (1356633154,), (1356633165,), (1356633203,), (1356633218,), (1356633229,), (1356633264,), (1356633267,), (1356633269,), (1356633270,), (1356633272,), (1356633274,), (1356633309,), (1356633311,), (1356633319,), (1356633323,), (1356633423,), (1356633432,), (1356633439,), (1356633449,), (1356633454,), (1356633477,), (1356633782,), (1356633783,), (1356633787,), (1356633792,), (1356633802,), (1356633803,), (1356633867,), (1356633869,), (1356633870,), (1356633872,), (1356633873,), (1356633876,), (1356633911,), (1356633913,), (1356633915,), (1356633917,), (1356633922,), (1356633977,), (1356633979,), (1356633981,), (1356633982,), (1356633985,), (1356633987,), (1356634032,), (1356634015,), (1356634019,), (1356634021,), (1356634024,), (1356634028,), (1356634118,), (1356634125,), (1356634129,), (1356634132,), (1356634136,), (1356634140,), (1356634195,), (1356634197,), (1356634200,), (1356634203,), (1356634206,), (1356634230,), (1356634232,), (1356634235,), (1356634238,), (1356634240,), (1356634242,), (1356634275,), (1356634277,), (1356634279,), (1356634281,), (1356634347,), (1356634357,), (1356634361,), (1356634366,), (1356634368,), (1356634370,), (1356634538,), (1356634563,), (1356634590,), (1356634616,), (1356634643,), (1356634965,), (1356634997,), (1356635024,), (1356635054,), (1356635080,), (1356635108,), (1356635343,), (1356635366,), (1356635395,), (1356635727,), (1356635733,), (1356635735,), (1356635737,), (1356635740,), (1356635742,), (1356635770,), (1356635772,), (1356635773,), (1356635774,), (1356635776,), (1356635790,), (1356635813,), (1356635814,), (1356635819,), (1356636174,), (1356636223,), (1356636274,), (1356636324,), (1356637736,), (1356638863,), (1356638892,), (1356638932,), (1356639715,), (1356639783,), (1356639784,), (1356639815,), (1356639818,), (1356639925,), (1356639931,), (1356639935,), (1356639939,), (1356639945,), (1356639977,), (1356639981,), (1356639985,), (1356640027,), (1356640030,), (1356640033,), (1356640035,), (1356640038,), (1356640042,), (1356640071,), (1356640075,), (1356640078,), (1356640082,), (1356640086,), (1356640089,), (1356640127,), (1356640129,), (1356640133,), (1356640136,), (1356640181,), (1356640186,), (1356640192,), (1356640196,), (1356640313,), (1356640323,), (1356640327,), (1356640332,), (1356640336,), (1356640453,), (1356640456,), (1356640461,), (1356640464,), (1356640500,), (1356640509,), (1356640512,), (1356640515,), (1356640520,), (1356640524,), (1356640565,), (1356640570,), (1356640575,), (1356640580,), (1356640583,), (1356640589,), (1356640618,), (1356640621,), (1356640625,), (1356640628,), (1356640691,), (1356640671,), (1356640675,), (1356640678,), (1356640683,), (1356640687,), (1356640732,), (1356640735,), (1356640773,), (1356640982,), (1356641088,), (1356641091,), (1356641094,), (1356641098,), (1356641103,), (1356641106,), (1356641144,), (1356641147,), (1356641150,), (1356641153,), (1356641155,), (1356641209,), (1356641212,), (1356641215,), (1356641218,), (1356641222,), (1356641302,), (1356641306,), (1356641308,), (1356641311,), (1356641314,), (1356641363,), (1356641368,), (1356641372,), (1356641375,), (1356641414,), (1356641421,), (1356641429,), (1356641477,), (1356641482,), (1356641486,), (1356641520,), (1356641524,), (1356641526,), (1356641529,), (1356641572,), (1356641578,), (1356641581,), (1356641585,), (1356641589,), (1356641592,), (1356641635,), (1356641638,), (1356641642,), (1356641692,), (1356641700,), (1356641708,), (1356641710,), (1356641715,), (1356641719,), (1356641828,), (1356641875,), (1356641878,), (1356641882,), (1356641924,), (1356641926,), (1356641929,), (1356641932,), (1356641936,), (1356641941,), (1356641991,), (1356641996,), (1356642003,), (1356642014,), (1356642019,), (1356642103,), (1356642086,), (1356642090,), (1356642093,), (1356642098,), (1356642147,), (1356642151,), (1356642156,), (1356642164,), (1356642172,), (1356642175,), (1356642234,), (1356642238,), (1356642242,), (1356642245,), (1356642249,), (1356642289,), (1356642293,), (1356642298,), (1356642303,), (1356642306,), (1356642310,), (1356642349,), (1356642369,), (1356642374,), (1356642380,), (1356642599,), (1356642602,), (1356642605,), (1356642608,), (1356642612,), (1356642617,), (1356642640,), (1356642654,), (1356642658,), (1356642663,), (1356642666,), (1356642710,), (1356642715,), (1356642720,), (1356642725,), (1356642731,), (1356642806,), (1356642813,), (1356642816,), (1356642820,), (1356642825,), (1356642863,), (1356642867,), (1356642870,), (1356642875,), (1356642881,), (1356642885,), (1356642959,), (1356642967,), (1356642970,), (1356642993,), (1356643121,), (1356643156,), (1356643187,), (1356643213,), (1356643238,), (1356643264,), (1356643562,), (1356643583,), (1356643594,), (1356643855,), (1356643857,), (1356643860,), (1356643862,), (1356643985,), (1356643989,), (1356643992,), (1356643995,), (1356643999,), (1356644003,), (1356644049,), (1356644037,), (1356644043,), (1356644044,), (1356644046,), (1356644086,), (1356644088,), (1356644090,), (1356644142,), (1356644146,), (1356644162,), (1356644165,), (1356644167,), (1356644169,), (1356644222,), (1356644225,), (1356644236,), (1356644564,), (1356644578,), (1356644580,), (1356644597,), (1356644622,), (1356644641,), (1356644792,), (1356644797,), (1356644801,), (1356644803,), (1356644891,), (1356644897,), (1356644900,), (1356644904,), (1356644910,), (1356644914,), (1356645010,), (1356645015,), (1356645017,), (1356645021,), (1356645315,), (1356645320,), (1356645323,), (1356645328,), (1356645331,), (1356645335,), (1356645413,), (1356645416,), (1356645420,), (1356645423,), (1356645427,), (1356645430,), (1356645445,), (1356645454,), (1356645472,), (1356645475,), (1356645478,), (1356645485,), (1356645487,), (1356645490,), (1356645493,), (1356645507,), (1356645518,), (1356645521,), (1356645524,), (1356645527,), (1356645530,), (1356645540,), (1356645598,), (1356645608,), (1356645614,), (1356645621,), (1356645816,), (1356645781,), (1356645786,), (1356646291,), (1356646445,), (1356646549,), (1356646615,), (1356646729,), (1356646806,), (1356647479,), (1356647532,), (1356647585,), (1356648019,), (1356648095,), (1356648175,), (1356648251,), (1356648347,), (1356648413,), (1356648936,), (1356649156,), (1356649187,), (1356649201,), (1356649394,), (1356649398,), (1356649402,), (1356649421,), (1356649454,), (1356649776,), (1356649800,), (1356650035,), (1356650045,), (1356650075,), (1356650170,), (1356650173,), (1356650177,), (1356650181,), (1356650184,), (1356650224,), (1356650228,), (1356650233,), (1356650324,), (1356650329,), (1356650332,), (1356650340,), (1356650345,), (1356650396,), (1356650399,), (1356650402,), (1356650405,), (1356650408,), (1356650412,), (1356650432,), (1356650435,), (1356650438,), (1356650442,), (1356650482,), (1356650487,), (1356650497,), (1356650502,), (1356650506,), (1356650510,), (1356650536,), (1356650542,), (1356650548,), (1356650553,), (1356650558,), (1356650620,), (1356650594,), (1356650598,), (1356650613,), (1356650616,), (1356650643,), (1356650647,), (1356650649,), (1356650652,), (1356650656,), (1356650659,), (1356650685,), (1356650688,), (1356650690,), (1356650694,), (1356650737,), (1356650739,), (1356650742,), (1356650745,), (1356650750,), (1356650755,), (1356650801,), (1356650805,), (1356650807,), (1356650810,), (1356650816,), (1356650875,), (1356650876,), (1356650879,), (1356650882,), (1356650929,), (1356650931,), (1356650935,), (1356650937,), (1356650939,), (1356650971,), (1356650981,), (1356650983,), (1356650989,), (1356651038,), (1356651042,), (1356651045,), (1356651049,), (1356651054,), (1356651058,), (1356651083,), (1356651087,), (1356651092,), (1356651097,), (1356651144,), (1356651148,), (1356651152,), (1356651155,), (1356651158,), (1356651160,), (1356651178,), (1356651182,), (1356651185,), (1356651187,), (1356651221,), (1356651224,), (1356651227,), (1356651231,), (1356651236,), (1356651240,), (1356651259,), (1356651262,), (1356651264,), (1356651318,), (1356651323,), (1356651328,), (1356651333,), (1356651340,), (1356651344,), (1356651420,), (1356651408,), (1356651411,), (1356651474,), (1356651477,), (1356651481,), (1356651485,), (1356651489,), (1356651492,), (1356651694,), (1356651713,), (1356651718,), (1356651723,), (1356651734,), (1356651737,), (1356651885,), (1356651889,), (1356651894,), (1356651907,), (1356652063,), (1356652066,), (1356652068,), (1356652070,), (1356652071,), (1356652132,), (1356652172,), (1356652176,), (1356652179,), (1356652183,), (1356652362,), (1356652404,), (1356652430,), (1356652468,), (1356652518,), (1356652545,), (1356652839,), (1356652892,), (1356652944,), (1356652983,), (1356653015,), (1356653277,), (1356653299,), (1356653302,), (1356653619,), (1356653622,), (1356653624,), (1356653627,), (1356653629,), (1356653790,), (1356653816,), (1356653844,), (1356653871,), (1356653903,), (1356653996,), (1356654000,), (1356654002,), (1356654006,), (1356654097,), (1356654121,), (1356654160,), (1356654184,), (1356654211,), (1356654229,), (1356654453,), (1356654475,), (1356654483,), (1356654499,), (1356654540,), (1356654567,), (1356654682,), (1356654685,), (1356654687,), (1356654690,), (1356654755,), (1356654738,), (1356654742,), (1356654747,), (1356654749,), (1356654752,), (1356654830,), (1356654856,), (1356654868,), (1356654872,), (1356654946,), (1356654949,), (1356654951,), (1356654953,), (1356654957,), (1356654961,), (1356655220,), (1356655244,), (1356655272,), (1356655294,), (1356655499,), (1356655785,), (1356655915,), (1356655939,), (1356656290,), (1356656292,), (1356656295,), (1356656298,), (1356656301,), (1356656464,), (1356656470,), (1356656472,), (1356656474,), (1356656608,), (1356656642,), (1356657137,), (1356657175,), (1356657218,), (1356657363,), (1356657371,), (1356657396,), (1356657413,), (1356657416,), (1356657419,), (1356657451,), (1356657455,), (1356657459,), (1356657463,), (1356657514,), (1356657516,), (1356657523,), (1356657527,), (1356657529,), (1356657532,), (1356657690,), (1356657702,), (1356657706,), (1356657734,), (1356657785,), (1356657787,), (1356657789,), (1356657832,), (1356657859,), (1356657886,), (1356658979,), (1356659582,), (1356659677,), (1356659752,), (1356659828,), (1356660135,), (1356660231,), (1356660287,), (1356660375,), (1356660413,), (1356660691,), (1356660577,), (1356660610,), (1356660674,), (1356661004,), (1356661016,), (1356661051,), (1356661082,), (1356661135,), (1356661459,), (1356661488,), (1356661512,), (1356661545,), (1356661549,), (1356661552,), (1356661593,), (1356661598,), (1356661602,), (1356661606,), (1356661642,), (1356661649,), (1356661653,), (1356661657,), (1356661663,), (1356661667,), (1356661698,), (1356661701,), (1356661708,), (1356661711,), (1356661759,), (1356662101,), (1356662108,), (1356662112,), (1356662115,), (1356662148,), (1356662152,), (1356662157,), (1356662159,), (1356662162,), (1356662310,), (1356662408,), (1356662434,), (1356662462,), (1356662598,), (1356662625,), (1356662649,), (1356662850,), (1356662853,), (1356677767,), (1356677389,), (1356677731,), (1356679066,), (1356679974,), (1356680000,), (1356680709,), (1356681405,), (1356681906,), (1356681891,), (1356681894,), (1356681898,), (1356681902,), (1356682135,), (1356682248,), (1356682472,), (1356682533,), (1356682569,), (1356683199,), (1356683272,), (1356683316,), (1356683365,), (1356683904,), (1356683953,), (1356684544,), (1356684574,), (1356684616,), (1356684642,), (1356684648,), (1356684665,), (1356684775,), (1356684804,), (1356684836,), (1356684862,), (1356685250,), (1356685284,), (1356685349,), (1356685416,), (1356685470,), (1356685932,), (1356685977,), (1356685981,), (1356686533,), (1356686560,), (1356686587,), (1356686593,), (1356686595,), (1356686640,), (1356686642,), (1356686644,), (1356686646,), (1356686649,), (1356686651,), (1356686891,), (1356686925,), (1356686953,), (1356686980,), (1356687302,), (1356687329,), (1356687385,), (1356687437,), (1356687636,), (1356687674,), (1356687701,), (1356688324,), (1356688350,), (1356688376,), (1356688384,), (1356688388,), (1356688544,), (1356688539,), (1356688887,), (1356688921,), (1356688953,), (1356689003,), (1356689078,), (1356689134,), (1356689468,), (1356689496,), (1356689507,), (1356689511,), (1356689513,), (1356689517,), (1356689921,), (1356689925,), (1356689928,), (1356690747,), (1356690764,), (1356690792,), (1356690797,), (1356691208,), (1356691224,), (1356691254,), (1356691283,), (1356691713,), (1356691772,), (1356691822,), (1356691860,), (1356691877,), (1356692020,), (1356692034,), (1356692040,), (1356692044,), (1356692047,), (1356692051,), (1356692152,), (1356692166,), (1356692198,), (1356692226,), (1356692490,), (1356692493,), (1356692498,), (1356692504,), (1356692587,), (1356692643,), (1356692695,), (1356692804,), (1356692835,), (1356693113,), (1356693143,), (1356697911,), (1356698407,), (1356698435,), (1356699095,), (1356699746,), (1356699748,), (1356699753,), (1356699778,), (1356700263,), (1356700313,), (1356700944,), (1356700948,), (1356700953,), (1356700956,), (1356700974,), (1356701022,), (1356701311,), (1356701380,), (1356701449,), (1356702506,), (1356702536,), (1356702571,), (1356702762,), (1356702766,), (1356702768,), (1356702771,), (1356702776,), (1356702779,), (1356703035,), (1356703065,), (1356703095,), (1356703123,), (1356703152,), (1356703182,), (1356703704,), (1356703740,), (1356703773,), (1356704248,), (1356704115,), (1356704167,), (1356704200,), (1356704214,), (1356704243,), (1356704842,), (1356704917,), (1356704969,), (1356705014,), (1356705266,), (1356705274,), (1356705292,), (1356705295,), (1356705301,), (1356705695,), (1356705697,), (1356705700,), (1356705703,), (1356705708,), (1356705966,), (1356705968,), (1356705972,), (1356706159,), (1356706162,), (1356706165,), (1356706167,), (1356706169,), (1356706173,), (1356706441,), (1356706444,), (1356706464,), (1356706552,), (1356706556,), (1356706586,), (1356706865,), (1356706893,), (1356707330,), (1356707342,), (1356707371,), (1356707400,), (1356707761,), (1356707765,), (1356707766,), (1356707794,), (1356707896,), (1356707928,), (1356707982,), (1356708022,), (1356708059,), (1356708255,), (1356708258,), (1356708260,), (1356708479,), (1356708507,), (1356708537,), (1356708567,), (1356708597,), (1356708750,), (1356708751,), (1356708777,), (1356708825,), (1356708858,), (1356708957,), (1356709271,), (1356709276,), (1356709883,), (1356709799,), (1356709803,), (1356709817,), (1356709877,), (1356709879,), (1356710159,), (1356710190,), (1356710293,), (1356710343,), (1356710481,), (1356710593,), (1356710800,), (1356710831,), (1356710884,), (1356711001,), (1356711365,), (1356711426,), (1356711456,), (1356711481,), (1356711510,), (1356711748,), (1356711776,), (1356711853,), (1356711895,), (1356711928,), (1356712452,), (1356712747,), (1356712897,), (1356713466,), (1356713471,), (1356713474,), (1356713477,), (1356713732,), (1356713755,), (1356713761,), (1356713847,), (1356715197,), (1356715307,), (1356715355,), (1356715389,), (1356715426,), (1356716012,), (1356716044,), (1356716082,), (1356716287,), (1356716421,), (1356716463,), (1356716469,), (1356716471,), (1356716473,), (1356716972,), (1356717048,), (1356717121,), (1356717195,), (1356718416,), (1356718470,), (1356718548,), (1356718697,), (1356718827,), (1356719063,), (1356719167,), (1356719291,), (1356719863,), (1356719648,), (1356719700,), (1356719776,), (1356719806,), (1356719835,), (1356719931,), (1356719957,), (1356720135,), (1356720219,), (1356720277,), (1356720600,), (1356720767,), (1356721507,), (1356721537,), (1356721540,), (1356721542,), (1356721546,), (1356721548,), (1356721784,), (1356721797,), (1356721825,), (1356721851,), (1356721879,), (1356721909,), (1356722131,), (1356722138,), (1356722154,), (1356722183,), (1356722257,), (1356722618,), (1356722655,), (1356722690,), (1356723290,), (1356723341,), (1356723394,), (1356723447,), (1356723500,), (1356723554,), (1356724059,), (1356724110,), (1356724167,), (1356724744,), (1356724821,), (1356724896,), (1356724976,), (1356725771,), (1356725865,), (1356725949,), (1356726027,), (1356726106,), (1356726191,), (1356726821,), (1356726879,), (1356726938,), (1356727002,), (1356727075,), (1356727398,), (1356727400,), (1356727422,), (1356727449,), (1356727476,), (1356727480,), (1356727597,), (1356727600,), (1356727731,), (1356727735,), (1356728341,), (1356728375,), (1356728409,), (1356728648,), (1356728641,), (1356728644,), (1356728889,), (1356728927,), (1356728944,), (1356729032,), (1356729035,), (1356729039,), (1356729047,), (1356729476,), (1356729502,), (1356729539,), (1356729752,), (1356729782,), (1356729886,), (1356729891,), (1356729895,), (1356729899,), (1356729901,), (1356729933,), (1356729938,), (1356729942,), (1356729981,), (1356729986,), (1356729990,), (1356730041,), (1356730044,), (1356730049,), (1356730088,), (1356730092,), (1356730095,), (1356730100,), (1356730105,), (1356730139,), (1356730145,), (1356730149,), (1356730151,), (1356730156,), (1356730188,), (1356730193,), (1356730197,), (1356730239,), (1356730244,), (1356730246,), (1356730248,), (1356730252,), (1356730310,), (1356730324,), (1356730328,), (1356730332,), (1356730338,), (1356730459,), (1356730510,), (1356730515,), (1356730648,), (1356730765,), (1356730769,), (1356730774,), (1356730813,), (1356730819,), (1356731012,), (1356731027,), (1356731029,), (1356731035,), (1356731045,), (1356731195,), (1356731200,), (1356731202,), (1356731206,), (1356731210,), (1356731240,), (1356731257,), (1356731540,), (1356731546,), (1356731561,), (1356731576,), (1356731661,), (1356731722,), (1356731726,), (1356731729,), (1356731985,), (1356732026,), (1356732053,), (1356732080,), (1356732108,), (1356732423,), (1356732452,), (1356732485,), (1356732520,), (1356732557,), (1356732586,), (1356732658,), (1356732665,), (1356732669,), (1356732673,), (1356732824,), (1356732896,), (1356732961,), (1356733195,), (1356733166,), (1356733176,), (1356733180,), (1356733185,), (1356733190,), (1356733208,), (1356733212,), (1356733218,), (1356733220,), (1356733224,), (1356733350,), (1356733377,), (1356733407,), (1356733434,), (1356733596,), (1356733599,), (1356733602,), (1356733605,), (1356733608,), (1356733612,), (1356733647,), (1356733656,), (1356733659,), (1356733662,), (1356733668,), (1356734006,), (1356734035,), (1356734063,), (1356734094,), (1356734416,), (1356734419,), (1356734423,), (1356734427,), (1356734430,), (1356734434,), (1356734525,), (1356734552,), (1356734580,), (1356734903,), (1356734930,), (1356734958,), (1356734975,), (1356734977,), (1356734981,), (1356735031,), (1356735081,), (1356735106,), (1356735133,), (1356735258,), (1356735261,), (1356735264,), (1356735268,), (1356735298,), (1356735301,), (1356735382,), (1356735407,), (1356735435,), (1356735661,), (1356735664,), (1356735669,), (1356735675,), (1356735680,), (1356735960,), (1356735980,), (1356736014,), (1356736063,), (1356736098,), (1356736128,), (1356736522,), (1356736458,), (1356736489,), (1356737064,), (1356737079,), (1356737112,), (1356737148,), (1356737635,), (1356737663,), (1356737690,), (1356737724,), (1356737751,), (1356737779,), (1356738122,), (1356738166,), (1356738195,), (1356738223,), (1356738282,), (1356738884,), (1356738930,), (1356738989,), (1356739353,), (1356739381,), (1356739478,), (1356739480,), (1356739548,), (1356739553,), (1356739557,), (1356739561,), (1356739642,), (1356739670,), (1356739702,), (1356739742,), (1356740615,), (1356740658,), (1356740693,), (1356741133,), (1356741137,), (1356741139,), (1356741144,), (1356741196,), (1356741473,), (1356741504,), (1356741532,), (1356741560,), (1356741587,), (1356741740,), (1356741770,), (1356741805,), (1356742176,), (1356742206,), (1356742211,), (1356742215,), (1356742327,), (1356742331,), (1356742333,), (1356742348,), (1356742352,), (1356742380,), (1356742613,), (1356742641,), (1356742684,), (1356742716,), (1356742762,), (1356743156,), (1356743103,), (1356743129,), (1356743568,), (1356743612,), (1356743636,), (1356743858,), (1356743861,), (1356743895,), (1356743902,), (1356743906,), (1356743910,), (1356744101,), (1356744126,), (1356744151,), (1356744346,), (1356744375,), (1356744408,), (1356744426,), (1356744432,), (1356744438,), (1356744493,), (1356744495,), (1356744500,), (1356744516,), (1356744547,), (1356744840,), (1356744853,), (1356744856,), (1356744861,), (1356744919,), (1356744929,), (1356744946,), (1356744950,), (1356744956,), (1356744959,), (1356745128,), (1356745134,), (1356745138,), (1356745142,), (1356745145,), (1356745181,), (1356745213,), (1356745242,), (1356745572,), (1356745586,), (1356745593,), (1356745596,), (1356745858,), (1356745863,), (1356745867,), (1356745869,), (1356745872,), (1356745982,), (1356745997,), (1356746163,), (1356746193,), (1356746202,), (1356746205,), (1356746308,), (1356746303,), (1356746305,), (1356746307,), (1356746360,), (1356746375,), (1356746379,), (1356746383,), (1356746558,), (1356746561,), (1356746563,), (1356746566,), (1356746851,), (1356746863,), (1356746870,), (1356746874,), (1356746876,), (1356746923,), (1356746926,), (1356746929,), (1356746932,), (1356746935,), (1356747030,), (1356747047,), (1356747057,), (1356747074,), (1356747083,), (1356747145,), (1356747147,), (1356747154,), (1356747169,), (1356747255,), (1356747286,), (1356747312,), (1356747344,), (1356747372,), (1356747399,), (1356747613,), (1356747615,), (1356747619,), (1356747621,), (1356747650,), (1356747941,), (1356747945,), (1356747948,), (1356748096,), (1356748103,), (1356748115,), (1356748225,), (1356748231,), (1356748236,), (1356748240,), (1356748243,), (1356748248,), (1356748346,), (1356748354,), (1356748359,), (1356748365,), (1356748370,), (1356748410,), (1356748394,), (1356748399,), (1356748404,), (1356748430,), (1356748433,), (1356748437,), (1356748440,), (1356748443,), (1356748446,), (1356748469,), (1356748474,), (1356748481,), (1356748483,), (1356748487,), (1356748495,), (1356748536,), (1356748552,), (1356748563,), (1356748570,), (1356748665,), (1356748670,), (1356748674,), (1356748685,), (1356748690,), (1356748694,), (1356748749,), (1356748760,), (1356748765,), (1356748768,), (1356748829,), (1356748833,), (1356748837,), (1356748842,), (1356748847,), (1356748851,), (1356748968,), (1356748982,), (1356748987,), (1356748991,), (1356748995,), (1356749281,), (1356749283,), (1356749288,), (1356749293,), (1356749295,), (1356749465,), (1356749468,), (1356749471,), (1356749473,), (1356749475,), (1356749479,), (1356749513,), (1356749516,), (1356749519,), (1356749522,), (1356749527,), (1356749549,), (1356749553,), (1356749565,), (1356749569,), (1356749573,), (1356749580,), (1356749645,), (1356749648,), (1356749662,), (1356750196,), (1356750228,), (1356750243,), (1356750253,), (1356750260,), (1356750455,), (1356750362,), (1356750393,), (1356750425,), (1356750611,), (1356750632,), (1356750635,), (1356750669,), (1356750671,), (1356750710,), (1356750720,), (1356750730,), (1356750732,), (1356750738,), (1356750742,), (1356750759,), (1356750771,), (1356750801,), (1356750828,), (1356750856,), (1356751011,), (1356751012,), (1356751014,), (1356751016,), (1356751017,), (1356751109,), (1356751111,), (1356751121,), (1356751173,), (1356751174,), (1356751176,), (1356751209,), (1356751211,), (1356751213,), (1356751214,), (1356751251,), (1356751253,), (1356751255,), (1356751256,), (1356751259,), (1356751382,), (1356751384,), (1356751387,), (1356751390,), (1356751521,), (1356751524,), (1356751526,), (1356751527,), (1356751561,), (1356751563,), (1356751566,), (1356751749,), (1356751752,), (1356751755,), (1356751757,), (1356751994,), (1356751974,), (1356751976,), (1356751977,), (1356752064,), (1356752066,), (1356752067,), (1356752070,), (1356752072,), (1356752077,), (1356752138,), (1356752144,), (1356752151,), (1356752155,), (1356752372,), (1356752398,), (1356752427,), (1356752455,), (1356752775,), (1356752802,), (1356752829,), (1356752856,), (1356753106,), (1356753108,), (1356753110,), (1356753112,), (1356753293,), (1356753319,), (1356753344,), (1356753350,), (1356753353,), (1356753498,), (1356753529,), (1356753541,), (1356753626,), (1356753630,), (1356753637,), (1356753641,), (1356753659,), (1356753661,), (1356753705,), (1356753707,), (1356753709,), (1356753712,), (1356753746,), (1356753749,), (1356753752,), (1356753754,), (1356753785,), (1356753787,), (1356753789,), (1356753792,), (1356753795,), (1356753843,), (1356753847,), (1356753849,), (1356753852,), (1356768605,), (1356768182,), (1356768279,), (1356768488,), (1356769357,), (1356769538,), (1356769706,), (1356769779,), (1356770811,), (1356770945,), (1356771679,), (1356771718,), (1356771746,), (1356771772,), (1356772598,), (1356772655,), (1356772715,), (1356773755,), (1356773835,), (1356773889,), (1356773925,), (1356773989,), (1356774367,), (1356774369,), (1356774375,), (1356774377,), (1356774379,), (1356774626,), (1356774705,), (1356774792,), (1356774873,), (1356774943,), (1356775531,), (1356775559,), (1356775585,), (1356775618,), (1356776103,), (1356776183,), (1356776260,), (1356776372,), (1356776983,), (1356777050,), (1356777076,), (1356777492,), (1356777573,), (1356777647,), (1356777706,), (1356778393,), (1356778436,), (1356778510,), (1356778580,), (1356778653,), (1356779572,), (1356779626,), (1356779684,), (1356779738,), (1356779787,), (1356779843,), (1356780239,), (1356780266,), (1356780298,), (1356781302,), (1356780721,), (1356780964,), (1356781042,), (1356781134,), (1356781217,), (1356781916,), (1356782024,), (1356782145,), (1356782278,), (1356782389,), (1356783152,), (1356783212,), (1356783293,), (1356783359,), (1356783474,), (1356784127,), (1356784198,), (1356784264,), (1356784343,), (1356785182,), (1356785261,), (1356785344,), (1356785415,), (1356785478,), (1356785546,), (1356786032,), (1356786049,), (1356786051,), (1356786053,), (1356786075,), (1356786496,), (1356786545,), (1356786603,), (1356786743,), (1356786746,), (1356786751,), (1356786752,), (1356786755,), (1356786970,), (1356787025,), (1356787052,), (1356787091,), (1356787274,), (1356787679,), (1356787734,), (1356787772,), (1356787811,), (1356788040,), (1356788065,), (1356788068,), (1356788105,), (1356788108,), (1356788110,), (1356788113,), (1356788115,), (1356788119,), (1356788162,), (1356788179,), (1356788181,), (1356788207,), (1356788238,), (1356788266,), (1356788547,), (1356788579,), (1356788607,), (1356788635,), (1356788671,), (1356788857,), (1356788860,), (1356788941,), (1356788932,), (1356788935,), (1356788938,), (1356788939,), (1356789040,), (1356789044,), (1356789047,), (1356789050,), (1356789109,), (1356789113,), (1356789115,), (1356789118,), (1356789120,), (1356789188,), (1356789339,), (1356789421,), (1356789430,), (1356789449,), (1356789453,), (1356789458,), (1356789463,), (1356789469,), (1356789474,), (1356789650,), (1356789676,), (1356789702,), (1356789729,), (1356789756,), (1356789874,), (1356789877,), (1356789880,), (1356790091,), (1356790103,), (1356790108,), (1356790113,), (1356790115,), (1356790138,), (1356790166,), (1356790169,), (1356790173,), (1356790176,), (1356790180,), (1356790185,), (1356790206,), (1356790208,), (1356790212,), (1356790267,), (1356790271,), (1356790275,), (1356790279,), (1356790285,), (1356790290,), (1356790484,), (1356790513,), (1356790548,), (1356790581,), (1356790617,), (1356790657,), (1356790955,), (1356790984,), (1356791012,), (1356791207,), (1356791211,), (1356791214,), (1356791218,), (1356791223,), (1356791226,), (1356791344,), (1356791369,), (1356791396,), (1356791424,), (1356791730,), (1356791717,), (1356791722,), (1356791725,), (1356791772,), (1356791775,), (1356791779,), (1356791781,), (1356791786,), (1356791926,), (1356791955,), (1356791983,), (1356792013,), (1356792046,), (1356792183,), (1356792185,), (1356792235,), (1356792242,), (1356792248,), (1356792341,), (1356792344,), (1356792347,), (1356792350,), (1356792354,), (1356792358,), (1356792398,), (1356792403,), (1356792408,), (1356792413,), (1356792415,), (1356792481,), (1356792510,), (1356792541,), (1356792571,), (1356792607,), (1356792649,), (1356792902,), (1356792951,), (1356792983,), (1356793011,), (1356793587,), (1356793617,), (1356793647,), (1356793688,), (1356793738,), (1356793800,), (1356794332,), (1356794383,), (1356794897,), (1356795004,), (1356795066,), (1356795123,), (1356795173,), (1356795264,), (1356795408,), (1356795458,), (1356795504,), (1356795506,), (1356796563,), (1356796579,), (1356796586,), (1356796593,), (1356796602,), (1356796696,), (1356796736,), (1356796777,), (1356796823,), (1356796838,), (1356796900,), (1356796861,), (1356796867,), (1356797179,), (1356797184,), (1356797189,), (1356797194,), (1356797420,), (1356797446,), (1356797476,), (1356797505,), (1356797533,), (1356797560,), (1356797671,), (1356797673,), (1356797676,), (1356797741,), (1356797743,), (1356797745,), (1356797748,), (1356797751,), (1356797754,), (1356797788,), (1356797792,), (1356797795,), (1356797798,), (1356797834,), (1356797838,), (1356797841,), (1356797845,), (1356797851,), (1356797861,), (1356797905,), (1356797926,), (1356797930,), (1356797938,), (1356797941,), (1356797946,), (1356797980,), (1356797984,), (1356797988,), (1356798229,), (1356798232,), (1356798235,), (1356798238,), (1356798240,), (1356798244,), (1356798325,), (1356798375,), (1356798411,), (1356798451,), (1356798494,), (1356798528,), (1356798652,), (1356798658,), (1356798667,), (1356798711,), (1356798715,), (1356798718,), (1356798722,), (1356798727,), (1356798778,), (1356798780,), (1356798784,), (1356798788,), (1356798791,), (1356798795,), (1356799089,), (1356799093,), (1356799232,), (1356799166,), (1356799190,), (1356799203,), (1356799347,), (1356799351,), (1356799354,), (1356799358,), (1356799410,), (1356799414,), (1356799418,), (1356799422,), (1356799425,), (1356799429,), (1356799495,), (1356799501,), (1356799506,), (1356799511,), (1356799571,), (1356799576,), (1356799581,), (1356799894,), (1356799926,), (1356799957,), (1356800040,), (1356800257,), (1356800263,), (1356800268,), (1356800273,), (1356800277,), (1356800282,), (1356800312,), (1356800321,), (1356800326,), (1356800331,), (1356800404,), (1356800410,), (1356800415,), (1356800420,), (1356800425,), (1356800455,), (1356800460,), (1356800469,), (1356800487,), (1356800494,), (1356800539,), (1356800544,), (1356800545,), (1356800559,), (1356800669,), (1356800673,), (1356800708,), (1356800713,), (1356800717,), (1356800720,), (1356800724,), (1356800728,), (1356800753,), (1356800756,), (1356800759,), (1356800762,), (1356800765,), (1356800768,), (1356800797,), (1356800799,), (1356800807,), (1356800896,), (1356800878,), (1356800882,), (1356800884,), (1356800887,), (1356800891,), (1356800920,), (1356800924,), (1356800927,), (1356800931,), (1356800936,), (1356800989,), (1356800997,), (1356801026,), (1356801089,), (1356801337,), (1356801369,), (1356801398,), (1356801435,), (1356801700,), (1356801727,), (1356801782,), (1356801812,), (1356801819,), (1356801837,), (1356801915,), (1356801934,), (1356801936,), (1356802941,), (1356802978,), (1356803036,), (1356803072,), (1356803097,), (1356803102,), (1356803148,), (1356803150,), (1356803216,), (1356803392,), (1356803736,), (1356803740,), (1356803745,), (1356803773,), (1356803799,), (1356803831,), (1356804621,), (1356804665,), (1356804694,), (1356804724,), (1356804759,), (1356805279,), (1356805285,), (1356805289,), (1356805297,), (1356805716,), (1356805766,), (1356805819,), (1356805878,), (1356805930,), (1356806272,), (1356806320,), (1356806383,), (1356806392,), (1356806553,), (1356806568,), (1356806597,), (1356806624,), (1356806652,), (1356806679,), (1356806836,), (1356806837,), (1356806840,), (1356806842,), (1356806843,), (1356807317,), (1356807164,), (1356807226,), (1356807261,), (1356807288,), (1356807564,), (1356807611,), (1356807640,), (1356807670,), (1356807706,), (1356807802,), (1356808039,), (1356808089,), (1356808125,), (1356809280,), (1356809309,), (1356809336,), (1356809366,), (1356809393,), (1356809724,), (1356809727,), (1356809940,), (1356809945,), (1356810365,), (1356810409,), (1356810451,), (1356810481,), (1356810486,), (1356810502,), (1356810688,), (1356810693,), (1356810694,), (1356810696,), (1356810804,), (1356810834,), (1356810869,), (1356810903,), (1356812233,), (1356812207,), (1356812708,), (1356812713,), (1356812716,), (1356812879,), (1356813799,), (1356813815,), (1356813818,), (1356813860,), (1356813931,), (1356814452,), (1356814487,), (1356814521,), (1356814968,), (1356814973,), (1356814978,), (1356815258,), (1356815286,), (1356815341,), (1356815413,), (1356815711,), (1356815714,), (1356815718,), (1356815721,), (1356815899,), (1356815903,), (1356815906,), (1356815909,), (1356815913,), (1356815918,), (1356816017,), (1356816048,), (1356816079,), (1356816107,), (1356816139,), (1356816451,), (1356816474,), (1356816499,), (1356816503,), (1356816601,), (1356816603,), (1356816606,), (1356816610,), (1356816616,), (1356816646,), (1356816650,), (1356816654,), (1356816658,), (1356816662,), (1356816887,), (1356816918,), (1356816956,), (1356816976,), (1356817301,), (1356817241,), (1356817245,), (1356817276,), (1356817447,), (1356817502,), (1356817553,), (1356817602,), (1356817644,), (1356817650,), (1356817932,), (1356817957,), (1356817996,), (1356818189,), (1356818403,), (1356818795,), (1356818798,), (1356818810,), (1356819122,), (1356819147,), (1356819190,), (1356819239,), (1356819293,), (1356819324,), (1356819501,), (1356819506,), (1356819509,), (1356819513,), (1356819631,), (1356819634,), (1356819636,), (1356819677,), (1356819680,), (1356819683,), (1356819691,), (1356819722,), (1356820153,), (1356820176,), (1356820204,), (1356820235,), (1356820263,), (1356820280,), (1356820538,), (1356820547,), (1356820549,), (1356820792,), (1356820827,), (1356820856,), (1356820884,), (1356820912,), (1356821037,), (1356821041,), (1356821042,), (1356821043,), (1356821085,), (1356821089,), (1356821091,), (1356821093,), (1356821620,), (1356821700,), (1356821753,), (1356821757,), (1356821762,), (1356821777,), (1356821841,), (1356821846,), (1356821851,), (1356821868,), (1356821874,), (1356821879,), (1356821927,), (1356821921,), (1356821923,), (1356822547,), (1356822726,), (1356822800,), (1356822853,), (1356823565,), (1356823866,), (1356823921,), (1356823991,), (1356824055,), (1356824594,), (1356824669,), (1356824745,), (1356824820,), (1356824871,), (1356825446,), (1356825499,), (1356825949,), (1356825975,), (1356826000,), (1356827056,), (1356827105,), (1356827151,), (1356827207,), (1356827251,), (1356830924,), (1356830973,), (1356831444,), (1356844944,), (1356843662,), (1356844727,), (1356845367,), (1356846699,), (1356846752,), (1356848153,), (1356848178,), (1356848442,), (1356848543,), (1356848967,), (1356851015,), (1356852853,), (1356854625,), (1356904982,), (1356905008,), (1356905581,), (1356905615,), (1356905639,), (1356906367,), (1356906394,), (1356906809,), (1356907103,), (1356907131,), (1356908562,), (1356908557,), (1356908558,), (1356909404,), (1356909406,), (1356909462,), (1356910737,), (1356912049,), (1356913886,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07052025': {'nb_upload': 30, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22785793]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] map_info['map_portfolio_photo'] : {22785793: [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921]} final : True mtd_id 4302 list_pids : [1356844944, 1356831444, 1356830973, 1356830924, 1356827251, 1356827207, 1356827151, 1356827105, 1356827056, 1356826000, 1356825975, 1356825949, 1356825499, 1356825446, 1356824871, 1356824820, 1356824745, 1356824669, 1356824594, 1356824055, 1356823991, 1356823921, 1356823866, 1356823565, 1356822853, 1356822800, 1356822726, 1356822547, 1356821923, 1356821921] Looping around the photos to save general results len do output : 1 /22785793Didn'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, '2806322') ('4302', '22785793', '1356844944', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322') ('4302', None, None, None, None, None, None, None, '2806322') ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '22785793', 'None', None, None, None, None, '2806322'), ('4302', '22785793', '1356844944', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356831444', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356830973', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356830924', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827251', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827207', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827151', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827105', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356827056', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356826000', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825975', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825949', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825499', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356825446', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824871', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824820', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824745', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824669', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824594', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356824055', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823991', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823921', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823866', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356823565', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822853', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822800', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822726', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356822547', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356821923', None, None, None, None, None, '2806322'), ('4302', '22785793', '1356821921', None, None, None, None, None, '2806322')] time used for this insertion : 0.015487432479858398 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.696231842041016 time spend to save output : 0.01580357551574707 total time spend for step 5 : 4.712035417556763 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 (2806322) 2.91user 2.27system 0:18.40elapsed 28%CPU (0avgtext+0avgdata 163344maxresident)k 360inputs+28696outputs (0major+76948minor)pagefaults 0swaps