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 : 1896851 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 (2857573) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2857573) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983615 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2857573'] with mtr_portfolio_ids : ['22983615'] and first list_photo_ids : [] new path : /proc/1896851/ Name: python3 Umask: 0002 State: R (running) Tgid: 1896851 Ngid: 0 Pid: 1896851 PPid: 1896850 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1896851 NSpid: 1896851 NSpgid: 1895057 NSsid: 1895057 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98220 kB VmRSS: 98220 kB RssAnon: 60200 kB RssFile: 38020 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 68 nonvoluntary_ctxt_switches: 111 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1896851', 'Ngid': '0', 'Pid': '1896851', 'PPid': '1896850', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1896851', 'NSpid': '1896851', 'NSpgid': '1895057', 'NSsid': '1895057', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98220 kB', 'VmRSS': '98220 kB', 'RssAnon': '60200 kB', 'RssFile': '38020 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '68', 'nonvoluntary_ctxt_switches': '111'} ('datou_batch_current', '1896851', '1107228', '0', '1107228', '865976', '98220', b'', 'marlene', '2857573') 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 (22983615) 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 (2857573 ) ) 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 (22983615) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1358341555, 'portfolio_id': 22983615}, {'photo_id': 1358341530, 'portfolio_id': 22983615}, {'photo_id': 1358341029, 'portfolio_id': 22983615}, {'photo_id': 1358339247, 'portfolio_id': 22983615}, {'photo_id': 1358339245, 'portfolio_id': 22983615}, {'photo_id': 1358339242, 'portfolio_id': 22983615}, {'photo_id': 1358339214, 'portfolio_id': 22983615}, {'photo_id': 1358339211, 'portfolio_id': 22983615}, {'photo_id': 1358339207, 'portfolio_id': 22983615}, {'photo_id': 1358339203, 'portfolio_id': 22983615}, {'photo_id': 1358339199, 'portfolio_id': 22983615}, {'photo_id': 1358339195, 'portfolio_id': 22983615}, {'photo_id': 1358339155, 'portfolio_id': 22983615}, {'photo_id': 1358338973, 'portfolio_id': 22983615}, {'photo_id': 1358338948, 'portfolio_id': 22983615}, {'photo_id': 1358338921, 'portfolio_id': 22983615}, {'photo_id': 1358338901, 'portfolio_id': 22983615}, {'photo_id': 1358338663, 'portfolio_id': 22983615}, {'photo_id': 1358338630, 'portfolio_id': 22983615}, {'photo_id': 1358338601, 'portfolio_id': 22983615}, {'photo_id': 1358338558, 'portfolio_id': 22983615}, {'photo_id': 1358338511, 'portfolio_id': 22983615}, {'photo_id': 1358338508, 'portfolio_id': 22983615}, {'photo_id': 1358338506, 'portfolio_id': 22983615}, {'photo_id': 1358338503, 'portfolio_id': 22983615}, {'photo_id': 1358338494, 'portfolio_id': 22983615}, {'photo_id': 1358338466, 'portfolio_id': 22983615}, {'photo_id': 1358338339, 'portfolio_id': 22983615}, {'photo_id': 1358338111, 'portfolio_id': 22983615}] map_portfolio_id_photo_id: {22983615: [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111]} ##### 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.0268096923828125 #### 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 15 06:09:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22983615) 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 : 22983615 get user id for portfolio 22983615 get sub ptf for main ptf 22983615, type 3726 and hashtags ['autre_refus', 'metal', 'environnement', 'flou', 'plastique', 'Carton_gris', 'cartonnette', 'papier', 'mal_croppe', 'kraft', 'Teint_Dans_La_Masse', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22983615 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','environnement','flou','plastique','Carton_gris','cartonnette','papier','mal_croppe','kraft','Teint_Dans_La_Masse','Carton_brun')) 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`=22983615 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','environnement','flou','plastique','Carton_gris','cartonnette','papier','mal_croppe','kraft','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22983615, 'sub_port_id': 22983628, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343373, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'Carton_brun': {'main_port_id': 22983615, 'sub_port_id': 22983629, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343374, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'environnement': {'main_port_id': 22983615, 'sub_port_id': 22983630, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343375, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'mal_croppe': {'main_port_id': 22983615, 'sub_port_id': 22983631, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343376, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'autre_refus': {'main_port_id': 22983615, 'sub_port_id': 22983632, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343377, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'Carton_gris': {'main_port_id': 22983615, 'sub_port_id': 22983633, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343378, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'papier': {'main_port_id': 22983615, 'sub_port_id': 22983634, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343379, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'kraft': {'main_port_id': 22983615, 'sub_port_id': 22983635, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343380, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'plastique': {'main_port_id': 22983615, 'sub_port_id': 22983636, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343381, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22983615, 'sub_port_id': 22983637, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343382, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'flou': {'main_port_id': 22983615, 'sub_port_id': 22983638, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343383, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}, 'cartonnette': {'main_port_id': 22983615, 'sub_port_id': 22983639, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343384, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 18, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983628 , 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=22983615 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 (22983628) result : ((1358342251,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983629 , 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=22983615 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 (22983629) result : ((1358339182,), (1358339183,), (1358339184,), (1358339185,), (1358339187,), (1358339188,), (1358341427,), (1358342010,), (1358342109,), (1358342271,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983630 , 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=22983615 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 (22983630) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983631 , 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=22983615 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 (22983631) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983632 , 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=22983615 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 (22983632) result : ((1358341375,), (1358342101,), (1358342102,), (1358342103,), (1358342237,), (1358342238,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983633 , 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=22983615 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 (22983633) result : ((1358341389,), (1358342104,), (1358342239,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983634 , 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=22983615 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 (22983634) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983635 , 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=22983615 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 (22983635) result : ((1358342113,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983636 , 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=22983615 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 (22983636) result : ((1358339189,), (1358341445,), (1358341448,), (1358342011,), (1358342111,), (1358342248,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983637 , 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=22983615 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 (22983637) result : ((1358339111,), (1358339177,), (1358339178,), (1358341355,), (1358341357,), (1358342008,), (1358342100,), (1358342228,), (1358342229,), (1358342232,), (1358342233,), (1358342234,), (1358342267,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983638 , 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=22983615 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 (22983638) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22983639 , 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=22983615 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 (22983639) result : ((1358339180,), (1358341405,), (1358341408,), (1358342106,), (1358342108,), (1358342242,), (1358342243,), (1358342244,), (1358342245,), (1358342246,), (1358342247,), (1358342269,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22983615) result : ((1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22983615 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','environnement','flou','plastique','Carton_gris','cartonnette','papier','mal_croppe','kraft','Teint_Dans_La_Masse','Carton_brun')) 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`=22983615 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','metal','environnement','flou','plastique','Carton_gris','cartonnette','papier','mal_croppe','kraft','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22983615, 'sub_port_id': 22983640, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343385, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'Carton_brun': {'main_port_id': 22983615, 'sub_port_id': 22983641, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343386, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'environnement': {'main_port_id': 22983615, 'sub_port_id': 22983642, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343387, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'mal_croppe': {'main_port_id': 22983615, 'sub_port_id': 22983643, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343388, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'autre_refus': {'main_port_id': 22983615, 'sub_port_id': 22983644, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343389, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'Carton_gris': {'main_port_id': 22983615, 'sub_port_id': 22983645, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343390, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'papier': {'main_port_id': 22983615, 'sub_port_id': 22983646, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343391, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'kraft': {'main_port_id': 22983615, 'sub_port_id': 22983647, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343392, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'plastique': {'main_port_id': 22983615, 'sub_port_id': 22983648, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343393, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 22983615, 'sub_port_id': 22983649, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343394, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'flou': {'main_port_id': 22983615, 'sub_port_id': 22983650, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343395, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 19, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}, 'cartonnette': {'main_port_id': 22983615, 'sub_port_id': 22983651, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15343396, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 30, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 22, 19, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983640,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983628 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983641,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983629 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983642,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983630 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983643,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983631 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983644,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983632 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983645,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983633 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983646,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983634 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983647,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983635 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983648,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983636 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983649,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983637 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983650,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983638 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22983651,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22983639 lien utilise dans velours : https://www.fotonower.com/velours/22983640,22983641,22983642,22983643,22983644,22983645,22983646,22983647,22983648,22983649,22983650,22983651?tags=metal,Carton_brun,environnement,mal_croppe,autre_refus,Carton_gris,papier,kraft,plastique,Teint_Dans_La_Masse,flou,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22983615]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] map_info['map_portfolio_photo'] : {22983615: [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111]} final : False mtd_id 4302 list_pids : [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] Looping around the photos to save general results len do output : 1 /22983615. 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, '2857573') ('4302', '22983615', '1358341555', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573') 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', None, '22983615', "{'metal': 22983628, 'Carton_brun': 22983629, 'environnement': 22983630, 'mal_croppe': 22983631, 'autre_refus': 22983632, 'Carton_gris': 22983633, 'papier': 22983634, 'kraft': 22983635, 'plastique': 22983636, 'Teint_Dans_La_Masse': 22983637, 'flou': 22983638, 'cartonnette': 22983639}", None, None, None, None, '2857573'), ('4302', '22983615', '1358341555', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573')] time used for this insertion : 0.024666309356689453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6516764163970947 time spend to save output : 0.025125980377197266 total time spend for step 1 : 1.676802396774292 step2:final Thu May 15 06:10:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (22983615) 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 22983615 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1358338111,1358338339,1358338511,1358338508,1358338506,1358338503,1358338494,1358338466,1358338663,1358338630,1358338601,1358338558,1358338973,1358338948,1358338921,1358338901,1358339155,1358339214,1358339211,1358339207,1358339203,1358339199,1358339195,1358339247,1358339245,1358339242,1358341555,1358341029,1358341530); 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([22983615]) Inside saveOutput : final : False verbose : True original output for save of step final : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} new output for save of step final : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] map_info['map_portfolio_photo'] : {22983615: [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111]} final : False mtd_id 4302 list_pids : [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] Looping around the photos to save general results len do output : 29 /1358341555.Didn't retrieve data . /1358341530.Didn't retrieve data . /1358341029.Didn't retrieve data . /1358339247.Didn't retrieve data . /1358339245.Didn't retrieve data . /1358339242.Didn't retrieve data . /1358339214.Didn't retrieve data . /1358339211.Didn't retrieve data . /1358339207.Didn't retrieve data . /1358339203.Didn't retrieve data . /1358339199.Didn't retrieve data . /1358339195.Didn't retrieve data . /1358339155.Didn't retrieve data . /1358338973.Didn't retrieve data . /1358338948.Didn't retrieve data . /1358338921.Didn't retrieve data . /1358338901.Didn't retrieve data . /1358338663.Didn't retrieve data . /1358338630.Didn't retrieve data . /1358338601.Didn't retrieve data . /1358338558.Didn't retrieve data . /1358338511.Didn't retrieve data . /1358338508.Didn't retrieve data . /1358338506.Didn't retrieve data . /1358338503.Didn't retrieve data . /1358338494.Didn't retrieve data . /1358338466.Didn't retrieve data . /1358338339.Didn't retrieve data . /1358338111.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, '2857573') ('4302', '22983615', '1358341555', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 87 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', '22983615', '1358341555', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358341530', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358341029', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339247', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339245', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339242', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339214', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339211', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339207', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339203', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339199', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339195', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358339155', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338973', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338948', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338921', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338901', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338663', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338630', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338601', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338558', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338511', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338508', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338506', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338503', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338494', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338466', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338339', '0.07004304052373307', None, None, None, None, '2857573'), ('4302', '22983615', '1358338111', '0.07004304052373307', None, None, None, None, '2857573')] time used for this insertion : 0.024463891983032227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07825207710266113 time spend to save output : 0.02574777603149414 total time spend for step 2 : 0.10399985313415527 step3:velours_tree Thu May 15 06:10:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {22983615: [{'metal': 22983628, 'Carton_brun': 22983629, 'environnement': 22983630, 'mal_croppe': 22983631, 'autre_refus': 22983632, 'Carton_gris': 22983633, 'papier': 22983634, 'kraft': 22983635, 'plastique': 22983636, 'Teint_Dans_La_Masse': 22983637, 'flou': 22983638, 'cartonnette': 22983639}]} input_args_next_step : {22983615: ()} output_args : {22983615: [{'metal': 22983628, 'Carton_brun': 22983629, 'environnement': 22983630, 'mal_croppe': 22983631, 'autre_refus': 22983632, 'Carton_gris': 22983633, 'papier': 22983634, 'kraft': 22983635, 'plastique': 22983636, 'Teint_Dans_La_Masse': 22983637, 'flou': 22983638, 'cartonnette': 22983639}]} args : 22983615 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 : ({'metal': 22983628, 'Carton_brun': 22983629, 'environnement': 22983630, 'mal_croppe': 22983631, 'autre_refus': 22983632, 'Carton_gris': 22983633, 'papier': 22983634, 'kraft': 22983635, 'plastique': 22983636, 'Teint_Dans_La_Masse': 22983637, 'flou': 22983638, 'cartonnette': 22983639},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22983615) 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([22983615]) 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.29873085021972656 time spend to save output : 4.291534423828125e-05 total time spend for step 3 : 0.29877376556396484 step4:send_mail_cod Thu May 15 06:10:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} input_args_next_step : {1358341555: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358341555 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358341530 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358341029 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339247 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339245 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339242 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339214 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339211 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339207 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339203 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339199 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339195 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358339155 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338973 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338948 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338921 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338901 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338663 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338630 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338601 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338558 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338511 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338508 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338506 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338503 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338494 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338466 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338339 depend.output_id : 0 input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ()} output_args : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',)} args : 1358338111 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 : {22983615: [{'metal': 22983628, 'Carton_brun': 22983629, 'environnement': 22983630, 'mal_croppe': 22983631, 'autre_refus': 22983632, 'Carton_gris': 22983633, 'papier': 22983634, 'kraft': 22983635, 'plastique': 22983636, 'Teint_Dans_La_Masse': 22983637, 'flou': 22983638, 'cartonnette': 22983639}]} input_args_next_step : {1358341555: ('0.07004304052373307',), 1358341530: ('0.07004304052373307',), 1358341029: ('0.07004304052373307',), 1358339247: ('0.07004304052373307',), 1358339245: ('0.07004304052373307',), 1358339242: ('0.07004304052373307',), 1358339214: ('0.07004304052373307',), 1358339211: ('0.07004304052373307',), 1358339207: ('0.07004304052373307',), 1358339203: ('0.07004304052373307',), 1358339199: ('0.07004304052373307',), 1358339195: ('0.07004304052373307',), 1358339155: ('0.07004304052373307',), 1358338973: ('0.07004304052373307',), 1358338948: ('0.07004304052373307',), 1358338921: ('0.07004304052373307',), 1358338901: ('0.07004304052373307',), 1358338663: ('0.07004304052373307',), 1358338630: ('0.07004304052373307',), 1358338601: ('0.07004304052373307',), 1358338558: ('0.07004304052373307',), 1358338511: ('0.07004304052373307',), 1358338508: ('0.07004304052373307',), 1358338506: ('0.07004304052373307',), 1358338503: ('0.07004304052373307',), 1358338494: ('0.07004304052373307',), 1358338466: ('0.07004304052373307',), 1358338339: ('0.07004304052373307',), 1358338111: ('0.07004304052373307',), 22983615: ()} output_args : {22983615: [{'metal': 22983628, 'Carton_brun': 22983629, 'environnement': 22983630, 'mal_croppe': 22983631, 'autre_refus': 22983632, 'Carton_gris': 22983633, 'papier': 22983634, 'kraft': 22983635, 'plastique': 22983636, 'Teint_Dans_La_Masse': 22983637, 'flou': 22983638, 'cartonnette': 22983639}]} args : 22983615 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 :30, first value : ('0.07004304052373307',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22983615) 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 (1358341555,1358341530,1358341029,1358339247,1358339245,1358339242,1358339214,1358339211,1358339207,1358339203,1358339199,1358339195,1358339155,1358338973,1358338948,1358338921,1358338901,1358338663,1358338630,1358338601,1358338558,1358338511,1358338508,1358338506,1358338503,1358338494,1358338466,1358338339,1358338111) Found this number of photos: 29 ##### Call download_photos : nb_thread : 5 begin to download photo : 1358338111 begin to download photo : 1358338508 begin to download photo : 1358338901 begin to download photo : 1358339199 begin to download photo : 1358339245 download finish for photo 1358338901 begin to download photo : 1358338921 download finish for photo 1358338508 begin to download photo : 1358338511 download finish for photo 1358339199 begin to download photo : 1358339203 download finish for photo 1358339245 begin to download photo : 1358339247 download finish for photo 1358338111 begin to download photo : 1358338339 download finish for photo 1358338921 begin to download photo : 1358338948 download finish for photo 1358339203 begin to download photo : 1358339207 download finish for photo 1358339247 begin to download photo : 1358341029 download finish for photo 1358338339 begin to download photo : 1358338466 download finish for photo 1358338511 begin to download photo : 1358338558 download finish for photo 1358339207 begin to download photo : 1358339211 download finish for photo 1358338558 begin to download photo : 1358338601 download finish for photo 1358338948 begin to download photo : 1358338973 download finish for photo 1358338466 begin to download photo : 1358338494 download finish for photo 1358341029 begin to download photo : 1358341530 download finish for photo 1358339211 begin to download photo : 1358339214 download finish for photo 1358338601 begin to download photo : 1358338630 download finish for photo 1358338973 begin to download photo : 1358339155 download finish for photo 1358341530 begin to download photo : 1358341555 download finish for photo 1358339214 begin to download photo : 1358339242 download finish for photo 1358338494 begin to download photo : 1358338503 download finish for photo 1358338630 begin to download photo : 1358338663 download finish for photo 1358341555 download finish for photo 1358339155 begin to download photo : 1358339195 download finish for photo 1358339242 download finish for photo 1358338503 begin to download photo : 1358338506 download finish for photo 1358338663 download finish for photo 1358338506 download finish for photo 1358339195 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 29 ; length of list_pids : 29 ; length of list_args : 29 results_Auto_P22983615_15-05-2025_06_10_01.pdf 22983628 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=22983628 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358342251: '1747255106_595757_1358338494_622473120bff9fdfb896a64ace2a3b6a_rle_crop_3798011108_0.png'} change filename to text .imagette229836281747282201/ imagette229836281747282201/1747255106_595757_1358338494_622473120bff9fdfb896a64ace2a3b6a_rle_crop_3798011108_0.png.png imagette229836311747282201/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/978490fddbf7fb888eda062036bb17b2_25844215.png imagette229836281747282201 22983631 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=22983631 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229836311747282201 22983632 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=22983632 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358341375: '1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998549_0.png', 1358342101: '1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002163_0.png', 1358342102: '1747254926_588136_1358339199_b1f5f9b532f8e0e21a7d0b2b7afa1fb3_rle_crop_3798002205_0.png', 1358342103: '1747254926_588136_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf_rle_crop_3798002227_0.png', 1358342237: '1747255106_595757_1358338663_5ae5be50deeff700a5e24331619313bd_rle_crop_3798010390_0.png', 1358342238: '1747255106_595757_1358338503_339f4a01a1629d23cce98f5b11fee2bf_rle_crop_3798010871_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/3b2b42592bde6010fd7937dcdcc2c9ed_44550517.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/24502398d9a361d12c1d9b3d86765d43_4007881.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/ec6052bc06752edf7cf92f97e1979680_15572513.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8ba4588a9a3c085b94945bee3f03c642_91285585.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/220e2814c21d05338c85dd1d26925614_94774945.png change filename to text .imagette229836321747282201/ imagette229836321747282201/1747255106_595757_1358338503_339f4a01a1629d23cce98f5b11fee2bf_rle_crop_3798010871_0.png.png imagette229836321747282201/1747254926_588136_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf_rle_crop_3798002227_0.png.png imagette229836321747282201/1747254926_588136_1358339199_b1f5f9b532f8e0e21a7d0b2b7afa1fb3_rle_crop_3798002205_0.png.png imagette229836321747282201/1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002163_0.png.png imagette229836321747282201/1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998549_0.png.png imagette229836321747282201/1747255106_595757_1358338663_5ae5be50deeff700a5e24331619313bd_rle_crop_3798010390_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/67c96b138dd96819ba1f9500eb43c9cc_34418635.png imagette229836321747282201 22983635 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=22983635 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358342113: '1747254926_588136_1358339199_b1f5f9b532f8e0e21a7d0b2b7afa1fb3_rle_crop_3798002206_0.png'} change filename to text .imagette229836351747282202/ imagette229836351747282202/1747254926_588136_1358339199_b1f5f9b532f8e0e21a7d0b2b7afa1fb3_rle_crop_3798002206_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/7a6eaabc757184cae74a14a7bea6adc3_71562626.png imagette229836351747282202 22983636 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=22983636 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358339189: '1747254205_570173_1358338948_6a99077a6cd22f1a326f12b2d7269cdf_rle_crop_3797992159_0.png', 1358341445: '1747254565_574883_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21_rle_crop_3797998544_0.png', 1358341448: '1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998554_0.png', 1358342011: '1747254805_581935_1358341555_3642cf642ed236995b6ac768551d9f2c_rle_crop_3798000581_0.png', 1358342111: '1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002170_0.png', 1358342248: '1747255106_595757_1358338506_8a681aa05f7d8d06e47df5b3c9521b64_rle_crop_3798010854_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c06ab38724f193bce858a4a33d5361a7_16268244.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/73cea653e463ba086a5fd1234e9e6f37_75181412.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e0f74e735dba0337995fb52d5e7aff4f_69170057.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/429634887ad470aba696f5fab495f59d_50009951.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5c202a04007ef160e76d9efb57477998_36603566.png change filename to text .imagette229836361747282202/ imagette229836361747282202/1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998554_0.png.png imagette229836361747282202/1747255106_595757_1358338506_8a681aa05f7d8d06e47df5b3c9521b64_rle_crop_3798010854_0.png.png imagette229836361747282202/1747254805_581935_1358341555_3642cf642ed236995b6ac768551d9f2c_rle_crop_3798000581_0.png.png imagette229836361747282202/1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002170_0.png.png imagette229836361747282202/1747254565_574883_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21_rle_crop_3797998544_0.png.png imagette229836361747282202/1747254205_570173_1358338948_6a99077a6cd22f1a326f12b2d7269cdf_rle_crop_3797992159_0.png.png imagette229836381747282203/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4cf4a20b0aac5b9e7530852076d353c9_43832154.png imagette229836361747282202 22983638 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=22983638 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229836381747282203 22983639 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=22983639 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358339180: '1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992177_0.png', 1358341405: '1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998551_0.png', 1358341408: '1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998556_0.png', 1358342106: '1747254926_588136_1358339203_1a3cc3dcd00e507654ab5f1b8401898b_rle_crop_3798002193_0.png', 1358342108: '1747254926_588136_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf_rle_crop_3798002220_0.png', 1358342242: '1747255106_595757_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3_rle_crop_3798010620_0.png', 1358342243: '1747255106_595757_1358338506_8a681aa05f7d8d06e47df5b3c9521b64_rle_crop_3798010856_0.png', 1358342244: '1747255106_595757_1358338503_339f4a01a1629d23cce98f5b11fee2bf_rle_crop_3798010872_0.png', 1358342245: '1747255106_595757_1358338494_622473120bff9fdfb896a64ace2a3b6a_rle_crop_3798011099_0.png', 1358342246: '1747255106_595757_1358338494_622473120bff9fdfb896a64ace2a3b6a_rle_crop_3798011098_0.png', 1358342247: '1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011337_0.png', 1358342269: '1747255165_596292_1358338630_794e9c5673f1c29d65f500a38af31e42_rle_crop_3798013794_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/2374daf32ae397ca76d19b86040ec367_1679989.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/60f4659e59772e9e28d9a9c75f710180_29002153.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/418a4153ba561fb5b8dff095fc475246_19496127.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4b6746fa0d07e941ec753eecf2ef8ed1_90905335.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f8ab94426524125bd4fc95ba0cc30819_35051335.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/79a23d82a768c9cf23a59403698069b8_70372527.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9626b6485a3b0d1531a74ae00ba29c1b_54325191.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/94d2d9f43f13964cb966874e652005ba_10715752.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9d2775d8e03be4280546543e7ac1d63e_78335300.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4a1a895e687c177bdcd46589a42b479b_18721284.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/87b488f10c8bbeb08d3b860bbabc64f2_387179.png change filename to text .imagette229836391747282203/ imagette229836391747282203/1747254926_588136_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf_rle_crop_3798002220_0.png.png imagette229836391747282203/1747255106_595757_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3_rle_crop_3798010620_0.png.png imagette229836391747282203/1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998551_0.png.png imagette229836391747282203/1747255106_595757_1358338506_8a681aa05f7d8d06e47df5b3c9521b64_rle_crop_3798010856_0.png.png imagette229836391747282203/1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998556_0.png.png imagette229836391747282203/1747255106_595757_1358338494_622473120bff9fdfb896a64ace2a3b6a_rle_crop_3798011098_0.png.png imagette229836391747282203/1747255106_595757_1358338494_622473120bff9fdfb896a64ace2a3b6a_rle_crop_3798011099_0.png.png imagette229836391747282203/1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011337_0.png.png imagette229836391747282203/1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992177_0.png.png imagette229836391747282203/1747254926_588136_1358339203_1a3cc3dcd00e507654ab5f1b8401898b_rle_crop_3798002193_0.png.png imagette229836391747282203/1747255165_596292_1358338630_794e9c5673f1c29d65f500a38af31e42_rle_crop_3798013794_0.png.png imagette229836391747282203/1747255106_595757_1358338503_339f4a01a1629d23cce98f5b11fee2bf_rle_crop_3798010872_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/09d7bcefeb70f0c86aaeda1dc84e5e1e_2129831.png imagette229836391747282203 22983629 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=22983629 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358339182: '1747254205_570173_1358338948_6a99077a6cd22f1a326f12b2d7269cdf_rle_crop_3797992163_0.png', 1358339183: '1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992184_0.png', 1358339184: '1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992178_0.png', 1358339185: '1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992180_0.png', 1358339187: '1747254205_570173_1358338901_1eed0945e9393150fd5f8f1df1ff7568_rle_crop_3797992194_0.png', 1358339188: '1747254205_570173_1358338901_1eed0945e9393150fd5f8f1df1ff7568_rle_crop_3797992196_0.png', 1358341427: '1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998553_0.png', 1358342010: '1747254805_581935_1358341555_3642cf642ed236995b6ac768551d9f2c_rle_crop_3798000575_0.png', 1358342109: '1747254926_588136_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf_rle_crop_3798002222_0.png', 1358342271: '1747255165_596292_1358338630_794e9c5673f1c29d65f500a38af31e42_rle_crop_3798013802_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f6e2b4f4378ba97c9aa38b84691d7f8d_47250090.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/96ea12a4dcd140f5fffc40041519076c_44813556.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/50e3b525dc8a54ce3be089eb6fa347b5_40883292.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9f99d64d8e5c5aa7e36e557be2133f61_92854525.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/87ec506d7014865206d2d58703abaa68_8182285.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/7be93c6285a5586211aca8cd46d16ca3_32157114.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/1bc44979a58b16a93c8fee140fb4a182_92756231.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/afa05f9b98cf0d23081ee534d006a6f4_39795572.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/ceb44aa6e456af7a8bb2a432a95388cb_52533845.png change filename to text .imagette229836291747282204/ imagette229836291747282204/1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998553_0.png.png imagette229836291747282204/1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992178_0.png.png imagette229836291747282204/1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992180_0.png.png imagette229836291747282204/1747254926_588136_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf_rle_crop_3798002222_0.png.png imagette229836291747282204/1747254805_581935_1358341555_3642cf642ed236995b6ac768551d9f2c_rle_crop_3798000575_0.png.png imagette229836291747282204/1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992184_0.png.png imagette229836291747282204/1747254205_570173_1358338901_1eed0945e9393150fd5f8f1df1ff7568_rle_crop_3797992194_0.png.png imagette229836291747282204/1747255165_596292_1358338630_794e9c5673f1c29d65f500a38af31e42_rle_crop_3798013802_0.png.png imagette229836291747282204/1747254205_570173_1358338901_1eed0945e9393150fd5f8f1df1ff7568_rle_crop_3797992196_0.png.png imagette229836291747282204/1747254205_570173_1358338948_6a99077a6cd22f1a326f12b2d7269cdf_rle_crop_3797992163_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/2985371844c0e7a876312564a41cf6ba_40460126.png imagette229836291747282204 22983633 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=22983633 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358341389: '1747254565_574883_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21_rle_crop_3797998545_0.png', 1358342104: '1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002169_0.png', 1358342239: '1747255106_595757_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3_rle_crop_3798010613_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5374dd9e25405d5c1929a0766a7a713c_61691484.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/7faf82d9bdafc1fdc597ae3d62fff2ca_29415021.png change filename to text .imagette229836331747282205/ imagette229836331747282205/1747255106_595757_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3_rle_crop_3798010613_0.png.png imagette229836331747282205/1747254565_574883_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21_rle_crop_3797998545_0.png.png imagette229836331747282205/1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002169_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/df725899f6f6d015422c64a1a8d38e0b_33836407.png imagette229836331747282205 22983637 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=22983637 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358339111: '1747254087_566374_1358338111_c8d0ef8260306a793722097c5c2609fd_rle_crop_3797985462_0.png', 1358339177: '1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992179_0.png', 1358339178: '1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992188_0.png', 1358341355: '1747254565_574883_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21_rle_crop_3797998541_0.png', 1358341357: '1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998555_0.png', 1358342008: '1747254805_581935_1358341555_3642cf642ed236995b6ac768551d9f2c_rle_crop_3798000578_0.png', 1358342100: '1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002168_0.png', 1358342228: '1747255106_595757_1358338663_5ae5be50deeff700a5e24331619313bd_rle_crop_3798010386_0.png', 1358342229: '1747255106_595757_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3_rle_crop_3798010625_0.png', 1358342232: '1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011340_0.png', 1358342233: '1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011345_0.png', 1358342234: '1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011348_0.png', 1358342267: '1747255165_596292_1358338601_ad90fbb211209a917f3eb0de9ffe5a40_rle_crop_3798013815_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/6e4ef80941916995ff877f8f0b270fd9_7714874.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8c93fe56e8f26fed9e53c149f3a6dc0f_30670549.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d33034f1843d88679db1da3b5481369a_63482836.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/99ab09d64d07f21385666a4b14a8d23a_72273162.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/483c55b45b6bc43bec17ee00485abebb_90963129.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/114bfaf7dda6fa149e438c1c4b782d7c_25548964.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5daaa8d603bc922e39d7936131dc8847_21015871.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f606bfc5231c3a398b79a92442ac3406_37431818.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/445d7efccb3abab87920f68a975f9656_29206216.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e62f329c475e1242e7443e5723f5c445_68326748.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/1a4fd9eb0e9b94e9d0f13fdbbe2baa68_95640502.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4f5b93a117e6ec93098bdbc9997a7f55_75095479.png change filename to text .imagette229836371747282205/ imagette229836371747282205/1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011348_0.png.png imagette229836371747282205/1747255106_595757_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3_rle_crop_3798010625_0.png.png imagette229836371747282205/1747254805_581935_1358341555_3642cf642ed236995b6ac768551d9f2c_rle_crop_3798000578_0.png.png imagette229836371747282205/1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992188_0.png.png imagette229836371747282205/1747254087_566374_1358338111_c8d0ef8260306a793722097c5c2609fd_rle_crop_3797985462_0.png.png imagette229836371747282205/1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011340_0.png.png imagette229836371747282205/1747254926_588136_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8_rle_crop_3798002168_0.png.png imagette229836371747282205/1747254565_574883_1358339242_5f2ef0c74fcf0875ad231621c4a032b7_rle_crop_3797998555_0.png.png imagette229836371747282205/1747255106_595757_1358338466_5315f38b21243c25d1c06313131441dc_rle_crop_3798011345_0.png.png imagette229836371747282205/1747255106_595757_1358338663_5ae5be50deeff700a5e24331619313bd_rle_crop_3798010386_0.png.png imagette229836371747282205/1747254565_574883_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21_rle_crop_3797998541_0.png.png imagette229836371747282205/1747255165_596292_1358338601_ad90fbb211209a917f3eb0de9ffe5a40_rle_crop_3798013815_0.png.png imagette229836371747282205/1747254205_570173_1358338921_cc8615ba04e966cb9e5706f9a4f80291_rle_crop_3797992179_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/df034be97218e734c6e87caba24790e4_48466761.png imagette229836371747282205 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22983615 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22983640,22983641,22983642,22983643,22983644,22983645,22983646,22983647,22983648,22983649,22983650,22983651?tags=metal,Carton_brun,environnement,mal_croppe,autre_refus,Carton_gris,papier,kraft,plastique,Teint_Dans_La_Masse,flou,cartonnette your option no_mail is active, we will not send the real mail to your client args[1358341555] : ('0.07004304052373307',) no score found for photo 1358341555 We are sending mail with results at report@fotonower.com args[1358341530] : ('0.07004304052373307',) no score found for photo 1358341530 We are sending mail with results at report@fotonower.com args[1358341029] : ('0.07004304052373307',) no score found for photo 1358341029 We are sending mail with results at report@fotonower.com args[1358339247] : ('0.07004304052373307',) no score found for photo 1358339247 We are sending mail with results at report@fotonower.com args[1358339245] : ('0.07004304052373307',) no score found for photo 1358339245 We are sending mail with results at report@fotonower.com args[1358339242] : ('0.07004304052373307',) no score found for photo 1358339242 We are sending mail with results at report@fotonower.com args[1358339214] : ('0.07004304052373307',) no score found for photo 1358339214 We are sending mail with results at report@fotonower.com args[1358339211] : ('0.07004304052373307',) no score found for photo 1358339211 We are sending mail with results at report@fotonower.com args[1358339207] : ('0.07004304052373307',) no score found for photo 1358339207 We are sending mail with results at report@fotonower.com args[1358339203] : ('0.07004304052373307',) no score found for photo 1358339203 We are sending mail with results at report@fotonower.com args[1358339199] : ('0.07004304052373307',) no score found for photo 1358339199 We are sending mail with results at report@fotonower.com args[1358339195] : ('0.07004304052373307',) no score found for photo 1358339195 We are sending mail with results at report@fotonower.com args[1358339155] : ('0.07004304052373307',) no score found for photo 1358339155 We are sending mail with results at report@fotonower.com args[1358338973] : ('0.07004304052373307',) no score found for photo 1358338973 We are sending mail with results at report@fotonower.com args[1358338948] : ('0.07004304052373307',) no score found for photo 1358338948 We are sending mail with results at report@fotonower.com args[1358338921] : ('0.07004304052373307',) no score found for photo 1358338921 We are sending mail with results at report@fotonower.com args[1358338901] : ('0.07004304052373307',) no score found for photo 1358338901 We are sending mail with results at report@fotonower.com args[1358338663] : ('0.07004304052373307',) no score found for photo 1358338663 We are sending mail with results at report@fotonower.com args[1358338630] : ('0.07004304052373307',) no score found for photo 1358338630 We are sending mail with results at report@fotonower.com args[1358338601] : ('0.07004304052373307',) no score found for photo 1358338601 We are sending mail with results at report@fotonower.com args[1358338558] : ('0.07004304052373307',) no score found for photo 1358338558 We are sending mail with results at report@fotonower.com args[1358338511] : ('0.07004304052373307',) no score found for photo 1358338511 We are sending mail with results at report@fotonower.com args[1358338508] : ('0.07004304052373307',) no score found for photo 1358338508 We are sending mail with results at report@fotonower.com args[1358338506] : ('0.07004304052373307',) no score found for photo 1358338506 We are sending mail with results at report@fotonower.com args[1358338503] : ('0.07004304052373307',) no score found for photo 1358338503 We are sending mail with results at report@fotonower.com args[1358338494] : ('0.07004304052373307',) no score found for photo 1358338494 We are sending mail with results at report@fotonower.com args[1358338466] : ('0.07004304052373307',) no score found for photo 1358338466 We are sending mail with results at report@fotonower.com args[1358338339] : ('0.07004304052373307',) no score found for photo 1358338339 We are sending mail with results at report@fotonower.com args[1358338111] : ('0.07004304052373307',) no score found for photo 1358338111 We are sending mail with results at report@fotonower.com refus_total : 0.07004304052373307 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=22983615 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_P22983615_15-05-2025_06_10_01.pdf results_Auto_P22983615_15-05-2025_06_10_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_15-05-2025_06_10_01.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','22983615','results_Auto_P22983615_15-05-2025_06_10_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_15-05-2025_06_10_01.pdf','pdf','','0.39','0.07004304052373307') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22983615]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] map_info['map_portfolio_photo'] : {22983615: [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111]} final : False mtd_id 4302 list_pids : [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] 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, '2857573') ('4302', '22983615', '1358341555', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 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', '22983615', '1358341555', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573')] time used for this insertion : 0.022100210189819336 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.855566740036011 time spend to save output : 0.02252650260925293 total time spend for step 4 : 7.878093242645264 step5:split_time_score Thu May 15 06:10:08 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 : ['22983615'] 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 : [('22983615',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22983615) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1358339245: {'path': 'temp/1747282200_1896851_1358339245_1e7ff0822bfa9fc88c59c6db32d91a21.jpg', 'extension': 'jpg'}, 1358339247: {'path': 'temp/1747282200_1896851_1358339247_0b9d8b2a2888e6badbbdcfaee8d2f3e8.jpg', 'extension': 'jpg'}, 1358341029: {'path': 'temp/1747282200_1896851_1358341029_b8130b45c4c6c12528013a93413ee90e.jpg', 'extension': 'jpg'}, 1358341530: {'path': 'temp/1747282200_1896851_1358341530_5f3383c5c0cab77885bd13244e1ec93b.jpg', 'extension': 'jpg'}, 1358341555: {'path': 'temp/1747282200_1896851_1358341555_3642cf642ed236995b6ac768551d9f2c.jpg', 'extension': 'jpg'}, 1358339199: {'path': 'temp/1747282200_1896851_1358339199_b1f5f9b532f8e0e21a7d0b2b7afa1fb3.jpg', 'extension': 'jpg'}, 1358339203: {'path': 'temp/1747282200_1896851_1358339203_1a3cc3dcd00e507654ab5f1b8401898b.jpg', 'extension': 'jpg'}, 1358339207: {'path': 'temp/1747282200_1896851_1358339207_bad0718051bedaa99b1fc4971f1ba009.jpg', 'extension': 'jpg'}, 1358339211: {'path': 'temp/1747282200_1896851_1358339211_520cbf35dd0e550f2def5596c7da663a.jpg', 'extension': 'jpg'}, 1358339214: {'path': 'temp/1747282200_1896851_1358339214_9e6acf6d1f8bfea97a175123c7bfaed4.jpg', 'extension': 'jpg'}, 1358339242: {'path': 'temp/1747282200_1896851_1358339242_5f2ef0c74fcf0875ad231621c4a032b7.jpg', 'extension': 'jpg'}, 1358338508: {'path': 'temp/1747282200_1896851_1358338508_05edccab34ab58e455a8bdc7ddfc4ef3.jpg', 'extension': 'jpg'}, 1358338511: {'path': 'temp/1747282200_1896851_1358338511_819ddf953322b5387bcde5aa8fd0a892.jpg', 'extension': 'jpg'}, 1358338558: {'path': 'temp/1747282200_1896851_1358338558_1044832a19374ed6ea697b5889d154b1.jpg', 'extension': 'jpg'}, 1358338601: {'path': 'temp/1747282200_1896851_1358338601_ad90fbb211209a917f3eb0de9ffe5a40.jpg', 'extension': 'jpg'}, 1358338630: {'path': 'temp/1747282200_1896851_1358338630_794e9c5673f1c29d65f500a38af31e42.jpg', 'extension': 'jpg'}, 1358338663: {'path': 'temp/1747282200_1896851_1358338663_5ae5be50deeff700a5e24331619313bd.jpg', 'extension': 'jpg'}, 1358338111: {'path': 'temp/1747282200_1896851_1358338111_c8d0ef8260306a793722097c5c2609fd.jpg', 'extension': 'jpg'}, 1358338339: {'path': 'temp/1747282200_1896851_1358338339_3be3098557fb00c3ec95086add9b1907.jpg', 'extension': 'jpg'}, 1358338466: {'path': 'temp/1747282200_1896851_1358338466_5315f38b21243c25d1c06313131441dc.jpg', 'extension': 'jpg'}, 1358338494: {'path': 'temp/1747282200_1896851_1358338494_622473120bff9fdfb896a64ace2a3b6a.jpg', 'extension': 'jpg'}, 1358338503: {'path': 'temp/1747282200_1896851_1358338503_339f4a01a1629d23cce98f5b11fee2bf.jpg', 'extension': 'jpg'}, 1358338506: {'path': 'temp/1747282200_1896851_1358338506_8a681aa05f7d8d06e47df5b3c9521b64.jpg', 'extension': 'jpg'}, 1358338901: {'path': 'temp/1747282200_1896851_1358338901_1eed0945e9393150fd5f8f1df1ff7568.jpg', 'extension': 'jpg'}, 1358338921: {'path': 'temp/1747282200_1896851_1358338921_cc8615ba04e966cb9e5706f9a4f80291.jpg', 'extension': 'jpg'}, 1358338948: {'path': 'temp/1747282200_1896851_1358338948_6a99077a6cd22f1a326f12b2d7269cdf.jpg', 'extension': 'jpg'}, 1358338973: {'path': 'temp/1747282200_1896851_1358338973_382e3d1479662afa06c57b5f6ede7b05.jpg', 'extension': 'jpg'}, 1358339155: {'path': 'temp/1747282200_1896851_1358339155_5a040e38db41c5174ea206a0dde7d429.jpg', 'extension': 'jpg'}, 1358339195: {'path': 'temp/1747282200_1896851_1358339195_b6ad7a203f53fe2c7fcb1d1734c11ecf.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 = 22983615; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22983615 group by h (('22', 29),) 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=22983615 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 (22983615) 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 (22983615) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14052025 22983615 Nombre de photos uploadées : 29 / 23040 (0%) 14052025 22983615 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 14052025 22983615 Nombre de photos taguées (volume) : 0 / 29 (0%) [{'photo_id': 1358338111, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c8d0ef8260306a793722097c5c2609fd.jpg', 'username': None, 'uploaded_at': 1747253767, 'text': 'image_14052025_22_15_04_010150m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1358338339, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/3be3098557fb00c3ec95086add9b1907.jpg', 'username': None, 'uploaded_at': 1747253827, 'text': 'image_14052025_22_15_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1358338511, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/819ddf953322b5387bcde5aa8fd0a892.jpg', 'username': None, 'uploaded_at': 1747253888, 'text': 'image_14052025_22_16_44_9164.jpg'}, {'photo_id': 1358338508, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/05edccab34ab58e455a8bdc7ddfc4ef3.jpg', 'username': None, 'uploaded_at': 1747253888, 'text': 'image_14052025_22_17_04_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015015602111816406 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22983615, '2025-05-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1803731,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.056824445724487305 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= 1803731 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22945509, 'dashboard_result_id': 10573860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945521, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22945880, 'dashboard_result_id': 10573861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945893, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22945987, 'dashboard_result_id': 10573862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946000, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946016, 'dashboard_result_id': 10573863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946034, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946286, 'dashboard_result_id': 10573864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946298, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946489, 'dashboard_result_id': 10573865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946501, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946811, 'dashboard_result_id': 10573866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946862, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22947229, 'dashboard_result_id': 10573867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947241, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22947610, 'dashboard_result_id': 10573868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947628, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22947885, 'dashboard_result_id': 10573869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947911, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22948351, 'dashboard_result_id': 10573870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22948389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948401, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22948827, 'dashboard_result_id': 10573871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22948873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948877, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22949170, 'dashboard_result_id': 10573872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949232, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22949616, 'dashboard_result_id': 10573873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949628, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22950052, 'dashboard_result_id': 10573874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950090, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22950465, 'dashboard_result_id': 10573875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950491, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22950919, 'dashboard_result_id': 10573876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22951000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22951001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22951002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22951003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22951004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22951005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22951006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22951007, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22952363, 'dashboard_result_id': 10573877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22952417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952425, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22952585, 'dashboard_result_id': 10573878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22952589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952600, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22953062, 'dashboard_result_id': 10573879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22953073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953084, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22953747, 'dashboard_result_id': 10573880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_15-05-2025_05_46_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22953765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953769, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22954655, 'dashboard_result_id': 10573881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_15-05-2025_05_47_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22954670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22954671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22954672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22954673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22954674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22954675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22954676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22954677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22954678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22954679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22954680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22954681, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22954977, 'dashboard_result_id': 10573882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_15-05-2025_05_48_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22955006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955017, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22955774, 'dashboard_result_id': 10573883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_15-05-2025_05_48_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22955838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955841, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22956668, 'dashboard_result_id': 10573884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_15-05-2025_05_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22956707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22956708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22956709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22956710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22956711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22956712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22956713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22956714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22956715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22956716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22956717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22956718, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22957362, 'dashboard_result_id': 10573885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_15-05-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22957436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22957437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22957438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22957439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22957440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22957441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22957442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22957443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22957444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22957445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22957446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22957447, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22958312, 'dashboard_result_id': 10573886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_15-05-2025_05_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958449, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22958946, 'dashboard_result_id': 10573887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_15-05-2025_05_51_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958972, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22962740, 'dashboard_result_id': 10573888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_15-05-2025_05_52_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22962744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22962745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22962746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22962747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22962748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22962749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22962750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22962751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22962752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22962753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22962754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22962755, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22963704, 'dashboard_result_id': 10573889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_15-05-2025_05_52_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22963737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22963738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22963740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22963741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22963742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22963744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22963745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22963746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22963748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22963749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22963750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22963752, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22964232, 'dashboard_result_id': 10573890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_15-05-2025_05_53_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22964256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964267, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22964933, 'dashboard_result_id': 10573891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_15-05-2025_05_54_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22964949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964951, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22965742, 'dashboard_result_id': 10573892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_15-05-2025_05_54_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22965822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22965823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22965824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22965825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22965826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22965827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22965828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22965829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22965830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22965831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22965832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22965833, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22966668, 'dashboard_result_id': 10573893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_15-05-2025_05_55_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22966676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22966677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22966678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22966679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22966680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22966681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22966682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22966683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22966684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22966685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22966686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22966687, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22967453, 'dashboard_result_id': 10573894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_15-05-2025_05_56_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22967521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22967522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22967523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22967524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22967525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22967526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22967527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22967528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22967529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22967530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22967531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22967532, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22968287, 'dashboard_result_id': 10573895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_15-05-2025_05_56_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22968304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22968305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22968306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22968307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22968308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22968309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22968310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22968311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22968312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22968313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22968314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22968315, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22969135, 'dashboard_result_id': 10573896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969220, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969135_15-05-2025_05_57_00.pdf'}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22969729, 'dashboard_result_id': 10573897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_15-05-2025_05_57_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969759, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22970336, 'dashboard_result_id': 10573898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970336_15-05-2025_05_58_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970384, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22970772, 'dashboard_result_id': 10573899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_15-05-2025_05_58_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970804, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22971458, 'dashboard_result_id': 10573900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_15-05-2025_05_59_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971486, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22971781, 'dashboard_result_id': 10573901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_15-05-2025_06_00_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971801, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971810, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22973918, 'dashboard_result_id': 10573902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_15-05-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22973925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22973927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22973928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22973929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22973930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22973931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22973932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22973933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22973934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22973935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22973936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22973937, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22974968, 'dashboard_result_id': 10573903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_15-05-2025_06_01_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22974976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22974977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22974978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22974979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22974980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22974981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22974982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22974983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22974984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22974985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22974986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22974987, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22975448, 'dashboard_result_id': 10573904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_15-05-2025_06_02_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22975455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22975456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22975457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22975458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22975459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22975460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22975461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22975462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22975463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22975464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22975465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22975466, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22975977, 'dashboard_result_id': 10573905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_15-05-2025_06_02_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976035, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22976406, 'dashboard_result_id': 10573906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_15-05-2025_06_04_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22976410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976421, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22976844, 'dashboard_result_id': 10573907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_15-05-2025_06_04_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22976936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976948, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22977577, 'dashboard_result_id': 10573908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_15-05-2025_06_05_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22977625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22977626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22977627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22977628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22977630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22977631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22977632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22977633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22977634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22977636, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22978253, 'dashboard_result_id': 10573909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_15-05-2025_06_05_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22978297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22978298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22978299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22978300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22978301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22978302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22978303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22978304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22978305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22978306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22978308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22978309, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22979051, 'dashboard_result_id': 10573910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_15-05-2025_06_06_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22979092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979094, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22979674, 'dashboard_result_id': 10573911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_15-05-2025_06_07_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22979688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979700, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22980730, 'dashboard_result_id': 10573912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_15-05-2025_06_07_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22980782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22980783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22980784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22980785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22980786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22980787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22980788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22980789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22980790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22980791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22980792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22980793, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22981091, 'dashboard_result_id': 10573913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_15-05-2025_06_08_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981118, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22981409, 'dashboard_result_id': 10573914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_15-05-2025_06_08_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981446, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22982000, 'dashboard_result_id': 10573915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_15-05-2025_06_09_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982056, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22982544, 'dashboard_result_id': 10573916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_15-05-2025_06_09_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982580, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22983615, 'dashboard_result_id': 10573917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_14-05-2025_22_30_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22983628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22983629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22983630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22983631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22983632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22983633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22983634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22983635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22983636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22983637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22983638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22983639, '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 = 22945509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857516, 'mtr_portfolio_id': 22945509, 'created_at': datetime.datetime(2025, 5, 15, 5, 34, 28), 'result': '0.07266391255964268', 'result_long': None, 'result_double': None}] Qualite : 0.07266391255964268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22945509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22945509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945521, 'pht': 3726}}" where mtr_portfolio_id = 22945509 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22945509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573860, 0.07266391255964268, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22945880 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857517, 'mtr_portfolio_id': 22945880, 'created_at': datetime.datetime(2025, 5, 15, 5, 34, 57), 'result': '0.0883642758020635', 'result_long': None, 'result_double': None}] Qualite : 0.0883642758020635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22945880 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22945880 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945893, 'pht': 3726}}" where mtr_portfolio_id = 22945880 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22945880 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573861, 0.0883642758020635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945893, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22945987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857518, 'mtr_portfolio_id': 22945987, 'created_at': datetime.datetime(2025, 5, 15, 5, 35, 32), 'result': '0.054223971837016244', 'result_long': None, 'result_double': None}] Qualite : 0.054223971837016244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22945987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22945987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946000, 'pht': 3726}}" where mtr_portfolio_id = 22945987 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22945987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573862, 0.054223971837016244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946000, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946016 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857519, 'mtr_portfolio_id': 22946016, 'created_at': datetime.datetime(2025, 5, 15, 5, 35, 28), 'result': '0.04162692686571983', 'result_long': None, 'result_double': None}] Qualite : 0.04162692686571983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946034, 'pht': 3726}}" where mtr_portfolio_id = 22946016 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946016 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573863, 0.04162692686571983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857520, 'mtr_portfolio_id': 22946286, 'created_at': datetime.datetime(2025, 5, 15, 5, 35, 59), 'result': '0.05549711134110829', 'result_long': None, 'result_double': None}] Qualite : 0.05549711134110829 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946298, 'pht': 3726}}" where mtr_portfolio_id = 22946286 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573864, 0.05549711134110829, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857521, 'mtr_portfolio_id': 22946489, 'created_at': datetime.datetime(2025, 5, 15, 5, 36, 30), 'result': '0.05403633433425369', 'result_long': None, 'result_double': None}] Qualite : 0.05403633433425369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946501, 'pht': 3726}}" where mtr_portfolio_id = 22946489 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573865, 0.05403633433425369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946811 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857522, 'mtr_portfolio_id': 22946811, 'created_at': datetime.datetime(2025, 5, 15, 5, 37, 58), 'result': '0.04646128243050802', 'result_long': None, 'result_double': None}] Qualite : 0.04646128243050802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946811 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946862, 'pht': 3726}}" where mtr_portfolio_id = 22946811 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573866, 0.04646128243050802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946862, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22947229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857523, 'mtr_portfolio_id': 22947229, 'created_at': datetime.datetime(2025, 5, 15, 5, 38, 29), 'result': '0.056823103388243444', 'result_long': None, 'result_double': None}] Qualite : 0.056823103388243444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22947229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22947229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947241, 'pht': 3726}}" where mtr_portfolio_id = 22947229 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22947229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573867, 0.056823103388243444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22947610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857524, 'mtr_portfolio_id': 22947610, 'created_at': datetime.datetime(2025, 5, 15, 5, 39, 30), 'result': '0.05619088668202262', 'result_long': None, 'result_double': None}] Qualite : 0.05619088668202262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22947610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22947610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947628, 'pht': 3726}}" where mtr_portfolio_id = 22947610 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22947610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573868, 0.05619088668202262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22947885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857525, 'mtr_portfolio_id': 22947885, 'created_at': datetime.datetime(2025, 5, 15, 5, 39, 58), 'result': '0.04014452338009036', 'result_long': None, 'result_double': None}] Qualite : 0.04014452338009036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22947885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22947885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947911, 'pht': 3726}}" where mtr_portfolio_id = 22947885 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22947885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573869, 0.04014452338009036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947911, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22948351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857526, 'mtr_portfolio_id': 22948351, 'created_at': datetime.datetime(2025, 5, 15, 5, 40, 28), 'result': '0.04391898745671169', 'result_long': None, 'result_double': None}] Qualite : 0.04391898745671169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22948351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22948389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948401, 'pht': 3726}}" where mtr_portfolio_id = 22948351 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22948351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573870, 0.04391898745671169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22948389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948401, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22948827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857527, 'mtr_portfolio_id': 22948827, 'created_at': datetime.datetime(2025, 5, 15, 5, 41, 28), 'result': '0.04315007547678833', 'result_long': None, 'result_double': None}] Qualite : 0.04315007547678833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22948827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22948873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948877, 'pht': 3726}}" where mtr_portfolio_id = 22948827 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22948827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573871, 0.04315007547678833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22948873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22949170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857528, 'mtr_portfolio_id': 22949170, 'created_at': datetime.datetime(2025, 5, 15, 5, 41, 57), 'result': '0.030428824676329902', 'result_long': None, 'result_double': None}] Qualite : 0.030428824676329902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22949170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22949170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949232, 'pht': 3726}}" where mtr_portfolio_id = 22949170 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22949170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573872, 0.030428824676329902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22949616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857529, 'mtr_portfolio_id': 22949616, 'created_at': datetime.datetime(2025, 5, 15, 5, 42, 28), 'result': '0.057821987938050344', 'result_long': None, 'result_double': None}] Qualite : 0.057821987938050344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22949616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22949616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949628, 'pht': 3726}}" where mtr_portfolio_id = 22949616 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22949616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573873, 0.057821987938050344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22950052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857530, 'mtr_portfolio_id': 22950052, 'created_at': datetime.datetime(2025, 5, 15, 5, 42, 58), 'result': '0.048520356348323454', 'result_long': None, 'result_double': None}] Qualite : 0.048520356348323454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22950052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22950052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950090, 'pht': 3726}}" where mtr_portfolio_id = 22950052 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22950052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573874, 0.048520356348323454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22950465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857531, 'mtr_portfolio_id': 22950465, 'created_at': datetime.datetime(2025, 5, 15, 5, 43, 29), 'result': '0.0599378592461905', 'result_long': None, 'result_double': None}] Qualite : 0.0599378592461905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22950465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22950465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950491, 'pht': 3726}}" where mtr_portfolio_id = 22950465 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22950465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573875, 0.0599378592461905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950491, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22950919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857532, 'mtr_portfolio_id': 22950919, 'created_at': datetime.datetime(2025, 5, 15, 5, 44, 1), 'result': '0.0755095885978364', 'result_long': None, 'result_double': None}] Qualite : 0.0755095885978364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22950919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22950919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22951000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22951001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22951002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22951003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22951004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22951005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22951006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22951007, 'pht': 3726}}" where mtr_portfolio_id = 22950919 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22950919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573876, 0.0755095885978364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22951000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22951001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22951002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22951003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22951004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22951005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22951006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22951007, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22952363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857533, 'mtr_portfolio_id': 22952363, 'created_at': datetime.datetime(2025, 5, 15, 5, 44, 58), 'result': '0.0640778613908616', 'result_long': None, 'result_double': None}] Qualite : 0.0640778613908616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22952363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22952363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22952417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952425, 'pht': 3726}}" where mtr_portfolio_id = 22952363 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573877, 0.0640778613908616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22952417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22952585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857534, 'mtr_portfolio_id': 22952585, 'created_at': datetime.datetime(2025, 5, 15, 5, 45, 29), 'result': '0.05287649597433125', 'result_long': None, 'result_double': None}] Qualite : 0.05287649597433125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22952585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22952585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22952589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952600, 'pht': 3726}}" where mtr_portfolio_id = 22952585 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573878, 0.05287649597433125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22952589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952600, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22953062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857535, 'mtr_portfolio_id': 22953062, 'created_at': datetime.datetime(2025, 5, 15, 5, 45, 58), 'result': '0.05938318383262952', 'result_long': None, 'result_double': None}] Qualite : 0.05938318383262952 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22953062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22953062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22953073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953084, 'pht': 3726}}" where mtr_portfolio_id = 22953062 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22953062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573879, 0.05938318383262952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22953073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22953747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857536, 'mtr_portfolio_id': 22953747, 'created_at': datetime.datetime(2025, 5, 15, 5, 46, 30), 'result': '0.05579770206131735', 'result_long': None, 'result_double': None}] Qualite : 0.05579770206131735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22953747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_15-05-2025_05_46_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22953747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_15-05-2025_05_46_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22953765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953769, 'pht': 3726}}" where mtr_portfolio_id = 22953747 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22953747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573880, 0.05579770206131735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_15-05-2025_05_46_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22953765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953769, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22954655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857537, 'mtr_portfolio_id': 22954655, 'created_at': datetime.datetime(2025, 5, 15, 5, 47, 29), 'result': '0.056859619539025984', 'result_long': None, 'result_double': None}] Qualite : 0.056859619539025984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22954655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_15-05-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22954655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_15-05-2025_05_47_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22954670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22954671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22954672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22954673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22954674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22954675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22954676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22954677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22954678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22954679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22954680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22954681, 'pht': 3726}}" where mtr_portfolio_id = 22954655 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22954655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573881, 0.056859619539025984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_15-05-2025_05_47_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22954670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22954671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22954672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22954673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22954674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22954675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22954676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22954677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22954678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22954679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22954680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22954681, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22954977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857538, 'mtr_portfolio_id': 22954977, 'created_at': datetime.datetime(2025, 5, 15, 5, 47, 59), 'result': '0.048768957850302705', 'result_long': None, 'result_double': None}] Qualite : 0.048768957850302705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22954977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_15-05-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22954977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_15-05-2025_05_48_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22955006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955017, 'pht': 3726}}" where mtr_portfolio_id = 22954977 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22954977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573882, 0.048768957850302705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_15-05-2025_05_48_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22955006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955017, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22955774 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857539, 'mtr_portfolio_id': 22955774, 'created_at': datetime.datetime(2025, 5, 15, 5, 48, 30), 'result': '0.02591642921782878', 'result_long': None, 'result_double': None}] Qualite : 0.02591642921782878 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22955774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_15-05-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22955774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_15-05-2025_05_48_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22955838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955841, 'pht': 3726}}" where mtr_portfolio_id = 22955774 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22955774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573883, 0.02591642921782878, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_15-05-2025_05_48_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22955838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22956668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857540, 'mtr_portfolio_id': 22956668, 'created_at': datetime.datetime(2025, 5, 15, 5, 49, 29), 'result': '0.033936301235292565', 'result_long': None, 'result_double': None}] Qualite : 0.033936301235292565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22956668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_15-05-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22956668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_15-05-2025_05_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22956707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22956708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22956709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22956710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22956711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22956712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22956713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22956714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22956715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22956716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22956717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22956718, 'pht': 3726}}" where mtr_portfolio_id = 22956668 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22956668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573884, 0.033936301235292565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_15-05-2025_05_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22956707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22956708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22956709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22956710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22956711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22956712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22956713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22956714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22956715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22956716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22956717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22956718, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22957362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857541, 'mtr_portfolio_id': 22957362, 'created_at': datetime.datetime(2025, 5, 15, 5, 49, 59), 'result': '0.041798852409405424', 'result_long': None, 'result_double': None}] Qualite : 0.041798852409405424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22957362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_15-05-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22957362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_15-05-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22957436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22957437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22957438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22957439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22957440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22957441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22957442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22957443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22957444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22957445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22957446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22957447, 'pht': 3726}}" where mtr_portfolio_id = 22957362 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22957362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573885, 0.041798852409405424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_15-05-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22957436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22957437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22957438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22957439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22957440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22957441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22957442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22957443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22957444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22957445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22957446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22957447, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22958312 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857542, 'mtr_portfolio_id': 22958312, 'created_at': datetime.datetime(2025, 5, 15, 5, 50, 58), 'result': '0.047160032071105425', 'result_long': None, 'result_double': None}] Qualite : 0.047160032071105425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22958312 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_15-05-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22958312 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_15-05-2025_05_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958449, 'pht': 3726}}" where mtr_portfolio_id = 22958312 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22958312 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573886, 0.047160032071105425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_15-05-2025_05_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958449, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22958946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857543, 'mtr_portfolio_id': 22958946, 'created_at': datetime.datetime(2025, 5, 15, 5, 51, 28), 'result': '0.03459121596206473', 'result_long': None, 'result_double': None}] Qualite : 0.03459121596206473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22958946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_15-05-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22958946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_15-05-2025_05_51_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958972, 'pht': 3726}}" where mtr_portfolio_id = 22958946 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22958946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573887, 0.03459121596206473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_15-05-2025_05_51_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958972, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22962740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857544, 'mtr_portfolio_id': 22962740, 'created_at': datetime.datetime(2025, 5, 15, 5, 51, 59), 'result': '0.01893263833383947', 'result_long': None, 'result_double': None}] Qualite : 0.01893263833383947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22962740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_15-05-2025_05_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22962740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_15-05-2025_05_52_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22962744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22962745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22962746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22962747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22962748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22962749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22962750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22962751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22962752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22962753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22962754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22962755, 'pht': 3726}}" where mtr_portfolio_id = 22962740 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22962740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573888, 0.01893263833383947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_15-05-2025_05_52_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22962744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22962745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22962746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22962747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22962748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22962749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22962750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22962751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22962752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22962753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22962754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22962755, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22963704 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857545, 'mtr_portfolio_id': 22963704, 'created_at': datetime.datetime(2025, 5, 15, 5, 52, 28), 'result': '0.03960897496293761', 'result_long': None, 'result_double': None}] Qualite : 0.03960897496293761 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22963704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_15-05-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22963704 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_15-05-2025_05_52_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22963737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22963738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22963740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22963741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22963742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22963744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22963745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22963746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22963748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22963749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22963750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22963752, 'pht': 3726}}" where mtr_portfolio_id = 22963704 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22963704 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573889, 0.03960897496293761, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_15-05-2025_05_52_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22963737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22963738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22963740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22963741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22963742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22963744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22963745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22963746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22963748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22963749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22963750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22963752, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22964232 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857546, 'mtr_portfolio_id': 22964232, 'created_at': datetime.datetime(2025, 5, 15, 5, 53, 28), 'result': '0.03734842241551445', 'result_long': None, 'result_double': None}] Qualite : 0.03734842241551445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22964232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_15-05-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22964232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_15-05-2025_05_53_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22964256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964267, 'pht': 3726}}" where mtr_portfolio_id = 22964232 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22964232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573890, 0.03734842241551445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_15-05-2025_05_53_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22964256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964267, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22964933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857547, 'mtr_portfolio_id': 22964933, 'created_at': datetime.datetime(2025, 5, 15, 5, 53, 59), 'result': '0.05459281234885037', 'result_long': None, 'result_double': None}] Qualite : 0.05459281234885037 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22964933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_15-05-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22964933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_15-05-2025_05_54_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22964949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964951, 'pht': 3726}}" where mtr_portfolio_id = 22964933 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22964933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573891, 0.05459281234885037, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_15-05-2025_05_54_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22964949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22965742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857548, 'mtr_portfolio_id': 22965742, 'created_at': datetime.datetime(2025, 5, 15, 5, 54, 31), 'result': '0.04559397571378633', 'result_long': None, 'result_double': None}] Qualite : 0.04559397571378633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22965742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_15-05-2025_05_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22965742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_15-05-2025_05_54_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22965822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22965823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22965824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22965825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22965826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22965827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22965828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22965829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22965830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22965831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22965832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22965833, 'pht': 3726}}" where mtr_portfolio_id = 22965742 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22965742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573892, 0.04559397571378633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_15-05-2025_05_54_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22965822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22965823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22965824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22965825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22965826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22965827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22965828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22965829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22965830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22965831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22965832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22965833, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22966668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857549, 'mtr_portfolio_id': 22966668, 'created_at': datetime.datetime(2025, 5, 15, 5, 55, 30), 'result': '0.046612942580901554', 'result_long': None, 'result_double': None}] Qualite : 0.046612942580901554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22966668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_15-05-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22966668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_15-05-2025_05_55_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22966676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22966677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22966678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22966679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22966680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22966681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22966682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22966683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22966684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22966685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22966686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22966687, 'pht': 3726}}" where mtr_portfolio_id = 22966668 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22966668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573893, 0.046612942580901554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_15-05-2025_05_55_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22966676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22966677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22966678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22966679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22966680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22966681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22966682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22966683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22966684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22966685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22966686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22966687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22967453 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857550, 'mtr_portfolio_id': 22967453, 'created_at': datetime.datetime(2025, 5, 15, 5, 55, 59), 'result': '0.044975950675879055', 'result_long': None, 'result_double': None}] Qualite : 0.044975950675879055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22967453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_15-05-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22967453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_15-05-2025_05_56_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22967521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22967522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22967523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22967524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22967525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22967526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22967527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22967528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22967529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22967530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22967531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22967532, 'pht': 3726}}" where mtr_portfolio_id = 22967453 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22967453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573894, 0.044975950675879055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_15-05-2025_05_56_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22967521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22967522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22967523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22967524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22967525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22967526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22967527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22967528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22967529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22967530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22967531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22967532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22968287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857551, 'mtr_portfolio_id': 22968287, 'created_at': datetime.datetime(2025, 5, 15, 5, 56, 30), 'result': '0.06502270972667507', 'result_long': None, 'result_double': None}] Qualite : 0.06502270972667507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22968287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_15-05-2025_05_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22968287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_15-05-2025_05_56_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22968304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22968305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22968306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22968307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22968308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22968309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22968310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22968311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22968312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22968313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22968314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22968315, 'pht': 3726}}" where mtr_portfolio_id = 22968287 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22968287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573895, 0.06502270972667507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_15-05-2025_05_56_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22968304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22968305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22968306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22968307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22968308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22968309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22968310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22968311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22968312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22968313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22968314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22968315, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22969135 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857552, 'mtr_portfolio_id': 22969135, 'created_at': datetime.datetime(2025, 5, 15, 5, 56, 58), 'result': '0.035659113226306265', 'result_long': None, 'result_double': None}] Qualite : 0.035659113226306265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22969135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969135_15-05-2025_05_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22969135 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969220, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969135_15-05-2025_05_57_00.pdf'}" where mtr_portfolio_id = 22969135 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22969135 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573896, 0.035659113226306265, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969220, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969135_15-05-2025_05_57_00.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22969729 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857553, 'mtr_portfolio_id': 22969729, 'created_at': datetime.datetime(2025, 5, 15, 5, 57, 29), 'result': '0.05872220719424746', 'result_long': None, 'result_double': None}] Qualite : 0.05872220719424746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22969729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_15-05-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22969729 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_15-05-2025_05_57_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969759, 'pht': 3726}}" where mtr_portfolio_id = 22969729 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22969729 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573897, 0.05872220719424746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_15-05-2025_05_57_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970336 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22970336 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970336 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970336 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22970336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970336_15-05-2025_05_58_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22970336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970336_15-05-2025_05_58_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970384, 'pht': 3726}}" where mtr_portfolio_id = 22970336 and dashboard_run_id = 1814888 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970772 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857555, 'mtr_portfolio_id': 22970772, 'created_at': datetime.datetime(2025, 5, 15, 5, 58, 31), 'result': '0.07815977622691804', 'result_long': None, 'result_double': None}] Qualite : 0.07815977622691804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22970772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_15-05-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22970772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_15-05-2025_05_58_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970804, 'pht': 3726}}" where mtr_portfolio_id = 22970772 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22970772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573899, 0.07815977622691804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_15-05-2025_05_58_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22971458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857556, 'mtr_portfolio_id': 22971458, 'created_at': datetime.datetime(2025, 5, 15, 5, 59, 27), 'result': '0.033092273792554444', 'result_long': None, 'result_double': None}] Qualite : 0.033092273792554444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22971458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_15-05-2025_05_59_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22971458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_15-05-2025_05_59_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971486, 'pht': 3726}}" where mtr_portfolio_id = 22971458 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22971458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573900, 0.033092273792554444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_15-05-2025_05_59_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971486, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22971781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857557, 'mtr_portfolio_id': 22971781, 'created_at': datetime.datetime(2025, 5, 15, 6, 0, 1), 'result': '0.029623651933617677', 'result_long': None, 'result_double': None}] Qualite : 0.029623651933617677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22971781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_15-05-2025_06_00_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22971781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_15-05-2025_06_00_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971801, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971810, 'pht': 3726}}" where mtr_portfolio_id = 22971781 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22971781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573901, 0.029623651933617677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_15-05-2025_06_00_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971801, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971810, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22973918 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857558, 'mtr_portfolio_id': 22973918, 'created_at': datetime.datetime(2025, 5, 15, 6, 0, 59), 'result': '0.04596894551883685', 'result_long': None, 'result_double': None}] Qualite : 0.04596894551883685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22973918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_15-05-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22973918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_15-05-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22973925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22973927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22973928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22973929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22973930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22973931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22973932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22973933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22973934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22973935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22973936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22973937, 'pht': 3726}}" where mtr_portfolio_id = 22973918 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22973918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573902, 0.04596894551883685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_15-05-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22973925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22973927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22973928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22973929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22973930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22973931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22973932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22973933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22973934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22973935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22973936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22973937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22974968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857559, 'mtr_portfolio_id': 22974968, 'created_at': datetime.datetime(2025, 5, 15, 6, 1, 29), 'result': '0.04756777141797083', 'result_long': None, 'result_double': None}] Qualite : 0.04756777141797083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22974968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_15-05-2025_06_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22974968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_15-05-2025_06_01_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22974976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22974977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22974978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22974979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22974980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22974981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22974982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22974983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22974984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22974985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22974986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22974987, 'pht': 3726}}" where mtr_portfolio_id = 22974968 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22974968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573903, 0.04756777141797083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_15-05-2025_06_01_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22974976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22974977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22974978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22974979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22974980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22974981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22974982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22974983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22974984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22974985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22974986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22974987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22975448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857560, 'mtr_portfolio_id': 22975448, 'created_at': datetime.datetime(2025, 5, 15, 6, 1, 59), 'result': '0.059012399070367386', 'result_long': None, 'result_double': None}] Qualite : 0.059012399070367386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22975448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_15-05-2025_06_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22975448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_15-05-2025_06_02_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22975455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22975456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22975457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22975458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22975459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22975460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22975461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22975462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22975463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22975464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22975465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22975466, 'pht': 3726}}" where mtr_portfolio_id = 22975448 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22975448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573904, 0.059012399070367386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_15-05-2025_06_02_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22975455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22975456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22975457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22975458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22975459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22975460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22975461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22975462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22975463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22975464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22975465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22975466, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22975977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857561, 'mtr_portfolio_id': 22975977, 'created_at': datetime.datetime(2025, 5, 15, 6, 2, 30), 'result': '0.04432419221027107', 'result_long': None, 'result_double': None}] Qualite : 0.04432419221027107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22975977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_15-05-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22975977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_15-05-2025_06_02_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976035, 'pht': 3726}}" where mtr_portfolio_id = 22975977 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22975977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573905, 0.04432419221027107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_15-05-2025_06_02_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22976406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857562, 'mtr_portfolio_id': 22976406, 'created_at': datetime.datetime(2025, 5, 15, 6, 3, 59), 'result': '0.0415725181925087', 'result_long': None, 'result_double': None}] Qualite : 0.0415725181925087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22976406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_15-05-2025_06_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22976406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_15-05-2025_06_04_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22976410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976421, 'pht': 3726}}" where mtr_portfolio_id = 22976406 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22976406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573906, 0.0415725181925087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_15-05-2025_06_04_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22976410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976421, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22976844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857563, 'mtr_portfolio_id': 22976844, 'created_at': datetime.datetime(2025, 5, 15, 6, 4, 31), 'result': '0.04994447891499511', 'result_long': None, 'result_double': None}] Qualite : 0.04994447891499511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22976844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_15-05-2025_06_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22976844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_15-05-2025_06_04_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22976936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976948, 'pht': 3726}}" where mtr_portfolio_id = 22976844 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22976844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573907, 0.04994447891499511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_15-05-2025_06_04_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22976936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976948, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22977577 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857564, 'mtr_portfolio_id': 22977577, 'created_at': datetime.datetime(2025, 5, 15, 6, 5), 'result': '0.05930637054384469', 'result_long': None, 'result_double': None}] Qualite : 0.05930637054384469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22977577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_15-05-2025_06_05_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22977577 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_15-05-2025_06_05_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22977625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22977626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22977627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22977628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22977630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22977631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22977632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22977633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22977634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22977636, 'pht': 3726}}" where mtr_portfolio_id = 22977577 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22977577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573908, 0.05930637054384469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_15-05-2025_06_05_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22977625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22977626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22977627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22977628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22977630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22977631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22977632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22977633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22977634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22977636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22978253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857565, 'mtr_portfolio_id': 22978253, 'created_at': datetime.datetime(2025, 5, 15, 6, 5, 31), 'result': '0.03562160677050169', 'result_long': None, 'result_double': None}] Qualite : 0.03562160677050169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22978253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_15-05-2025_06_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22978253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_15-05-2025_06_05_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22978297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22978298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22978299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22978300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22978301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22978302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22978303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22978304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22978305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22978306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22978308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22978309, 'pht': 3726}}" where mtr_portfolio_id = 22978253 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22978253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573909, 0.03562160677050169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_15-05-2025_06_05_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22978297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22978298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22978299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22978300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22978301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22978302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22978303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22978304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22978305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22978306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22978308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22978309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22979051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857566, 'mtr_portfolio_id': 22979051, 'created_at': datetime.datetime(2025, 5, 15, 6, 5, 59), 'result': '0.06349884952866454', 'result_long': None, 'result_double': None}] Qualite : 0.06349884952866454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22979051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_15-05-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22979051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_15-05-2025_06_06_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22979092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979094, 'pht': 3726}}" where mtr_portfolio_id = 22979051 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22979051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573910, 0.06349884952866454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_15-05-2025_06_06_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22979092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22979674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857567, 'mtr_portfolio_id': 22979674, 'created_at': datetime.datetime(2025, 5, 15, 6, 7), 'result': '0.028085207562369326', 'result_long': None, 'result_double': None}] Qualite : 0.028085207562369326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22979674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_15-05-2025_06_07_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22979674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_15-05-2025_06_07_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22979688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979700, 'pht': 3726}}" where mtr_portfolio_id = 22979674 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22979674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573911, 0.028085207562369326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_15-05-2025_06_07_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22979688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979700, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22980730 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857568, 'mtr_portfolio_id': 22980730, 'created_at': datetime.datetime(2025, 5, 15, 6, 7, 31), 'result': '0.030726953558613216', 'result_long': None, 'result_double': None}] Qualite : 0.030726953558613216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22980730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_15-05-2025_06_07_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22980730 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_15-05-2025_06_07_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22980782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22980783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22980784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22980785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22980786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22980787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22980788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22980789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22980790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22980791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22980792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22980793, 'pht': 3726}}" where mtr_portfolio_id = 22980730 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22980730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573912, 0.030726953558613216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_15-05-2025_06_07_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22980782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22980783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22980784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22980785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22980786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22980787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22980788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22980789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22980790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22980791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22980792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22980793, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22981091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857569, 'mtr_portfolio_id': 22981091, 'created_at': datetime.datetime(2025, 5, 15, 6, 7, 59), 'result': '0.033413988258098486', 'result_long': None, 'result_double': None}] Qualite : 0.033413988258098486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22981091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_15-05-2025_06_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22981091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_15-05-2025_06_08_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981118, 'pht': 3726}}" where mtr_portfolio_id = 22981091 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22981091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573913, 0.033413988258098486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_15-05-2025_06_08_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981118, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22981409 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857570, 'mtr_portfolio_id': 22981409, 'created_at': datetime.datetime(2025, 5, 15, 6, 8, 29), 'result': '0.035857305538819446', 'result_long': None, 'result_double': None}] Qualite : 0.035857305538819446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22981409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_15-05-2025_06_08_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22981409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_15-05-2025_06_08_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981446, 'pht': 3726}}" where mtr_portfolio_id = 22981409 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22981409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573914, 0.035857305538819446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_15-05-2025_06_08_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22982000 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857571, 'mtr_portfolio_id': 22982000, 'created_at': datetime.datetime(2025, 5, 15, 6, 8, 59), 'result': '0.04649718385647624', 'result_long': None, 'result_double': None}] Qualite : 0.04649718385647624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22982000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_15-05-2025_06_09_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22982000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_15-05-2025_06_09_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982056, 'pht': 3726}}" where mtr_portfolio_id = 22982000 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22982000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573915, 0.04649718385647624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_15-05-2025_06_09_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22982544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857572, 'mtr_portfolio_id': 22982544, 'created_at': datetime.datetime(2025, 5, 15, 6, 9, 30), 'result': '0.04852857456475918', 'result_long': None, 'result_double': None}] Qualite : 0.04852857456475918 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22982544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_15-05-2025_06_09_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22982544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_15-05-2025_06_09_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982580, 'pht': 3726}}" where mtr_portfolio_id = 22982544 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22982544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573916, 0.04852857456475918, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_15-05-2025_06_09_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22983615 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857573, 'mtr_portfolio_id': 22983615, 'created_at': datetime.datetime(2025, 5, 15, 6, 10), 'result': '0.07004304052373307', 'result_long': None, 'result_double': None}] Qualite : 0.07004304052373307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22983615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_15-05-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22983615 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_15-05-2025_06_10_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22983628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22983629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22983630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22983631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22983632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22983633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22983634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22983635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22983636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22983637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22983638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22983639, 'pht': 3726}}" where mtr_portfolio_id = 22983615 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22983615 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573917, 0.07004304052373307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_15-05-2025_06_10_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22983628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22983629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22983630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22983631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22983632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22983633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22983634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22983635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22983636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22983637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22983638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22983639, '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 (22945509,22945880,22945987,22946016,22946286,22946489,22946811,22947229,22947610,22947885,22948351,22948827,22949170,22949616,22950052,22950465,22950919,22952363,22952585,22953062,22953747,22954655,22954977,22955774,22956668,22957362,22958312,22958946,22962740,22963704,22964232,22964933,22965742,22966668,22967453,22968287,22969135,22969729,22970336,22970772,22971458,22971781,22973918,22974968,22975448,22975977,22976406,22976844,22977577,22978253,22979051,22979674,22980730,22981091,22981409,22982000,22982544,22983615) result : ((1358087078,), (1358087106,), (1358088095,), (1358088463,), (1358088467,), (1358088468,), (1358088775,), (1358089999,), (1358092462,), (1358092490,), (1358092514,), (1358092544,), (1358092547,), (1358092549,), (1358092598,), (1358092626,), (1358092671,), (1358092674,), (1358092713,), (1358092715,), (1358092737,), (1358092821,), (1358092980,), (1358093097,), (1358093098,), (1358093099,), (1358093124,), (1358093127,), (1358093133,), (1358093134,), (1358093156,), (1358093159,), (1358093162,), (1358093164,), (1358093181,), (1358093183,), (1358093185,), (1358093208,), (1358093240,), (1358093243,), (1358093246,), (1358093254,), (1358093315,), (1358093312,), (1358093342,), (1358093343,), (1358093366,), (1358093368,), (1358093369,), (1358093370,), (1358093371,), (1358093373,), (1358093396,), (1358093398,), (1358093399,), (1358093400,), (1358093401,), (1358093403,), (1358093427,), (1358093430,), (1358093432,), (1358093433,), (1358093436,), (1358093456,), (1358093458,), (1358093459,), (1358093460,), (1358093461,), (1358093463,), (1358093480,), (1358093482,), (1358093485,), (1358093493,), (1358093495,), (1358093497,), (1358093517,), (1358093520,), (1358093528,), (1358093546,), (1358093550,), (1358093552,), (1358093554,), (1358093557,), (1358093575,), (1358093579,), (1358093581,), (1358093583,), (1358093584,), (1358093587,), (1358093605,), (1358093613,), (1358093615,), (1358093634,), (1358093637,), (1358093639,), (1358093641,), (1358093644,), (1358093646,), (1358093667,), (1358093669,), (1358093670,), (1358093671,), (1358093685,), (1358093687,), (1358093690,), (1358093692,), (1358093694,), (1358093696,), (1358093725,), (1358093710,), (1358093716,), (1358093720,), (1358093721,), (1358093723,), (1358093745,), (1358093748,), (1358093750,), (1358093752,), (1358093766,), (1358093767,), (1358093770,), (1358093775,), (1358093778,), (1358093780,), (1358093803,), (1358093806,), (1358093809,), (1358093812,), (1358093841,), (1358093843,), (1358093845,), (1358093848,), (1358093850,), (1358093854,), (1358093872,), (1358093875,), (1358093877,), (1358093879,), (1358093887,), (1358093893,), (1358093919,), (1358093921,), (1358093924,), (1358093925,), (1358093951,), (1358093955,), (1358093957,), (1358093959,), (1358093962,), (1358093964,), (1358093987,), (1358093989,), (1358093991,), (1358093992,), (1358094017,), (1358094020,), (1358094022,), (1358094023,), (1358094054,), (1358094067,), (1358094070,), (1358094072,), (1358094074,), (1358094076,), (1358094095,), (1358094097,), (1358094098,), (1358094099,), (1358094118,), (1358094123,), (1358094126,), (1358094127,), (1358094128,), (1358094129,), (1358094166,), (1358094170,), (1358094175,), (1358094179,), (1358094183,), (1358094222,), (1358094214,), (1358094216,), (1358094218,), (1358094220,), (1358094244,), (1358094247,), (1358094249,), (1358094250,), (1358094252,), (1358094255,), (1358094277,), (1358094283,), (1358094285,), (1358094371,), (1358094381,), (1358094383,), (1358094386,), (1358094407,), (1358094411,), (1358094414,), (1358094418,), (1358094420,), (1358094433,), (1358094439,), (1358094470,), (1358094475,), (1358094479,), (1358094480,), (1358094509,), (1358094512,), (1358094514,), (1358094517,), (1358094520,), (1358094522,), (1358094544,), (1358094547,), (1358094548,), (1358094549,), (1358094550,), (1358094552,), (1358094578,), (1358094581,), (1358094584,), (1358094619,), (1358094622,), (1358094624,), (1358094626,), (1358094629,), (1358094652,), (1358094655,), (1358094657,), (1358094659,), (1358094662,), (1358094682,), (1358094685,), (1358094686,), (1358094689,), (1358094728,), (1358094716,), (1358094718,), (1358094720,), (1358094722,), (1358094725,), (1358094747,), (1358094749,), (1358094752,), (1358094760,), (1358094794,), (1358094796,), (1358094798,), (1358094800,), (1358094803,), (1358094823,), (1358094826,), (1358094828,), (1358094830,), (1358094833,), (1358094836,), (1358094858,), (1358094861,), (1358094863,), (1358094933,), (1358094937,), (1358094939,), (1358094941,), (1358094943,), (1358094979,), (1358094983,), (1358094986,), (1358094989,), (1358095017,), (1358095020,), (1358095021,), (1358095022,), (1358095050,), (1358095055,), (1358095058,), (1358095061,), (1358095065,), (1358095089,), (1358095091,), (1358095092,), (1358095093,), (1358095096,), (1358095117,), (1358095129,), (1358095131,), (1358095134,), (1358095153,), (1358095155,), (1358095157,), (1358095160,), (1358095164,), (1358095200,), (1358095207,), (1358095209,), (1358095211,), (1358095239,), (1358095243,), (1358095245,), (1358095247,), (1358095249,), (1358095253,), (1358095276,), (1358095272,), (1358095274,), (1358095303,), (1358095310,), (1358095318,), (1358095321,), (1358095323,), (1358095327,), (1358095352,), (1358095354,), (1358095357,), (1358095360,), (1358095363,), (1358095390,), (1358095394,), (1358095445,), (1358095466,), (1358095505,), (1358095508,), (1358095509,), (1358095510,), (1358095544,), (1358095551,), (1358095556,), (1358095558,), (1358095562,), (1358095593,), (1358095595,), (1358095596,), (1358095597,), (1358095628,), (1358095632,), (1358095635,), (1358095638,), (1358095641,), (1358095646,), (1358095669,), (1358095672,), (1358095673,), (1358095674,), (1358095677,), (1358095679,), (1358095708,), (1358095715,), (1358095719,), (1358095757,), (1358095760,), (1358095762,), (1358095764,), (1358095793,), (1358095797,), (1358095801,), (1358095804,), (1358095807,), (1358095838,), (1358095841,), (1358095842,), (1358095845,), (1358095894,), (1358095877,), (1358095881,), (1358095884,), (1358095887,), (1358095891,), (1358095931,), (1358095934,), (1358095937,), (1358095942,), (1358095945,), (1358095963,), (1358095974,), (1358095978,), (1358095981,), (1358095983,), (1358096014,), (1358096016,), (1358096017,), (1358096018,), (1358096020,), (1358096050,), (1358096053,), (1358096055,), (1358096085,), (1358096087,), (1358096122,), (1358096126,), (1358096129,), (1358096132,), (1358096135,), (1358096169,), (1358096172,), (1358096174,), (1358096176,), (1358096179,), (1358096183,), (1358096220,), (1358096222,), (1358096223,), (1358096224,), (1358096254,), (1358096257,), (1358096259,), (1358096261,), (1358096264,), (1358096267,), (1358096300,), (1358096302,), (1358096303,), (1358096304,), (1358096339,), (1358096349,), (1358096351,), (1358096353,), (1358096356,), (1358096376,), (1358096378,), (1358096380,), (1358096383,), (1358096386,), (1358096389,), (1358096417,), (1358096422,), (1358096427,), (1358096487,), (1358096470,), (1358096476,), (1358096479,), (1358096483,), (1358096513,), (1358096517,), (1358096521,), (1358096554,), (1358096557,), (1358096559,), (1358096562,), (1358096565,), (1358096588,), (1358096601,), (1358096603,), (1358096607,), (1358096610,), (1358096613,), (1358096639,), (1358096643,), (1358096645,), (1358096675,), (1358096679,), (1358096683,), (1358096687,), (1358096690,), (1358096693,), (1358096717,), (1358096720,), (1358096723,), (1358096748,), (1358096751,), (1358096758,), (1358096762,), (1358096791,), (1358096794,), (1358096796,), (1358096799,), (1358096802,), (1358096807,), (1358096840,), (1358096845,), (1358096848,), (1358096851,), (1358096891,), (1358096893,), (1358096896,), (1358096900,), (1358096902,), (1358096942,), (1358096946,), (1358096949,), (1358096952,), (1358096957,), (1358096983,), (1358096987,), (1358096991,), (1358096994,), (1358096998,), (1358097026,), (1358097030,), (1358097034,), (1358097037,), (1358097073,), (1358097078,), (1358097081,), (1358097128,), (1358097118,), (1358097124,), (1358097159,), (1358097164,), (1358097168,), (1358097171,), (1358097196,), (1358097200,), (1358097204,), (1358097207,), (1358097210,), (1358097239,), (1358097242,), (1358097245,), (1358097248,), (1358097253,), (1358097257,), (1358097284,), (1358097288,), (1358097292,), (1358097326,), (1358097330,), (1358097333,), (1358097337,), (1358097341,), (1358097344,), (1358097366,), (1358097378,), (1358097381,), (1358097385,), (1358097422,), (1358097425,), (1358097427,), (1358097430,), (1358097458,), (1358097465,), (1358097469,), (1358097473,), (1358097477,), (1358097479,), (1358097529,), (1358097555,), (1358097560,), (1358097659,), (1358097663,), (1358097665,), (1358097667,), (1358097671,), (1358097696,), (1358097700,), (1358097704,), (1358097708,), (1358097711,), (1358097714,), (1358097739,), (1358097749,), (1358097755,), (1358097768,), (1358097772,), (1358097831,), (1358097837,), (1358097855,), (1358097859,), (1358097864,), (1358098164,), (1358098169,), (1358098172,), (1358098174,), (1358098203,), (1358098229,), (1358098734,), (1358098583,), (1358098676,), (1358098728,), (1358098732,), (1358098837,), (1358098841,), (1358098843,), (1358098845,), (1358098891,), (1358098915,), (1358098921,), (1358098927,), (1358098930,), (1358098962,), (1358098968,), (1358098971,), (1358098974,), (1358098976,), (1358098980,), (1358099008,), (1358099011,), (1358099015,), (1358099018,), (1358099054,), (1358099059,), (1358099062,), (1358099064,), (1358099066,), (1358099070,), (1358099097,), (1358099101,), (1358099105,), (1358099132,), (1358099135,), (1358099138,), (1358099141,), (1358099145,), (1358099177,), (1358099180,), (1358099184,), (1358099188,), (1358099192,), (1358099195,), (1358099238,), (1358099248,), (1358099250,), (1358099254,), (1358099290,), (1358099295,), (1358099298,), (1358099303,), (1358099307,), (1358099344,), (1358099348,), (1358099354,), (1358099357,), (1358099362,), (1358099404,), (1358099408,), (1358099412,), (1358099416,), (1358099499,), (1358099531,), (1358099558,), (1358099585,), (1358099619,), (1358099646,), (1358099664,), (1358099667,), (1358099672,), (1358099676,), (1358099726,), (1358099706,), (1358099711,), (1358099715,), (1358099719,), (1358099722,), (1358099748,), (1358099751,), (1358099754,), (1358099778,), (1358099781,), (1358099785,), (1358099789,), (1358099796,), (1358099807,), (1358099827,), (1358099839,), (1358099842,), (1358099846,), (1358099849,), (1358099853,), (1358099877,), (1358099882,), (1358099885,), (1358099888,), (1358099951,), (1358099960,), (1358099969,), (1358099974,), (1358100000,), (1358100005,), (1358100009,), (1358100012,), (1358100016,), (1358100020,), (1358100021,), (1358100023,), (1358100024,), (1358100032,), (1358100033,), (1358100043,), (1358100044,), (1358100047,), (1358100048,), (1358100061,), (1358100065,), (1358100068,), (1358100102,), (1358100107,), (1358100110,), (1358100113,), (1358100138,), (1358100141,), (1358100144,), (1358100147,), (1358100150,), (1358100152,), (1358100182,), (1358100185,), (1358100189,), (1358100225,), (1358100231,), (1358100234,), (1358100261,), (1358100263,), (1358100268,), (1358100281,), (1358100284,), (1358100288,), (1358100290,), (1358100293,), (1358100340,), (1358100345,), (1358100352,), (1358100357,), (1358100382,), (1358100385,), (1358100387,), (1358100392,), (1358100412,), (1358100416,), (1358100378,), (1358100380,), (1358100423,), (1358100426,), (1358100431,), (1358100438,), (1358100463,), (1358100466,), (1358100471,), (1358100475,), (1358100479,), (1358100482,), (1358100500,), (1358100503,), (1358100507,), (1358100512,), (1358100516,), (1358100519,), (1358100536,), (1358100539,), (1358100542,), (1358100545,), (1358100566,), (1358100569,), (1358100572,), (1358100575,), (1358100578,), (1358100580,), (1358100598,), (1358100602,), (1358100605,), (1358100608,), (1358100612,), (1358100616,), (1358100632,), (1358100634,), (1358100637,), (1358100640,), (1358100666,), (1358100671,), (1358100675,), (1358100683,), (1358100685,), (1358100703,), (1358100706,), (1358100710,), (1358100712,), (1358100715,), (1358100759,), (1358100762,), (1358100765,), (1358100807,), (1358100810,), (1358100813,), (1358100816,), (1358100818,), (1358100878,), (1358100881,), (1358100903,), (1358100933,), (1358100949,), (1358100958,), (1358100994,), (1358100997,), (1358101000,), (1358101107,), (1358101135,), (1358101161,), (1358101186,), (1358101233,), (1358101243,), (1358101403,), (1358101325,), (1358101350,), (1358101377,), (1358101388,), (1358101399,), (1358101482,), (1358101485,), (1358101488,), (1358101609,), (1358101611,), (1358101614,), (1358101620,), (1358101623,), (1358101627,), (1358101645,), (1358101651,), (1358101670,), (1358101690,), (1358101701,), (1358101749,), (1358101753,), (1358101757,), (1358101965,), (1358101968,), (1358102011,), (1358102659,), (1358102667,), (1358102676,), (1358102731,), (1358102763,), (1358102765,), (1358102768,), (1358102771,), (1358102790,), (1358102792,), (1358102794,), (1358102809,), (1358102810,), (1358102859,), (1358102887,), (1358102889,), (1358102892,), (1358102936,), (1358102926,), (1358102929,), (1358102931,), (1358102932,), (1358102934,), (1358102963,), (1358102964,), (1358102966,), (1358102970,), (1358102973,), (1358103004,), (1358103006,), (1358103033,), (1358103035,), (1358103038,), (1358103057,), (1358103071,), (1358103078,), (1358103081,), (1358103083,), (1358103100,), (1358103103,), (1358103106,), (1358103107,), (1358103108,), (1358103127,), (1358103131,), (1358103134,), (1358103136,), (1358103137,), (1358103154,), (1358103155,), (1358103157,), (1358103178,), (1358103181,), (1358103183,), (1358103188,), (1358103194,), (1358103195,), (1358103219,), (1358103222,), (1358103224,), (1358103225,), (1358103256,), (1358103258,), (1358103292,), (1358103300,), (1358103303,), (1358103314,), (1358103317,), (1358103319,), (1358103356,), (1358103358,), (1358103360,), (1358103362,), (1358103363,), (1358103386,), (1358103390,), (1358103392,), (1358103396,), (1358103421,), (1358103423,), (1358103426,), (1358103428,), (1358103431,), (1358103535,), (1358103483,), (1358103509,), (1358104934,), (1358105497,), (1358106222,), (1358106255,), (1358106259,), (1358106263,), (1358106267,), (1358106301,), (1358106304,), (1358106307,), (1358106311,), (1358106492,), (1358106495,), (1358106498,), (1358106501,), (1358106505,), (1358106857,), (1358106885,), (1358106934,), (1358106982,), (1358107013,), (1358107041,), (1358107425,), (1358112171,), (1358112175,), (1358112179,), (1358112182,), (1358112208,), (1358112210,), (1358112212,), (1358112215,), (1358112217,), (1358112222,), (1358112246,), (1358112250,), (1358112286,), (1358112290,), (1358112293,), (1358112296,), (1358112298,), (1358112300,), (1358112324,), (1358112326,), (1358112329,), (1358112332,), (1358112335,), (1358112344,), (1358112396,), (1358112400,), (1358112404,), (1358112447,), (1358112450,), (1358112453,), (1358112456,), (1358112493,), (1358112497,), (1358112501,), (1358112508,), (1358112516,), (1358112551,), (1358112555,), (1358112825,), (1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,), (1358115602,), (1358115647,), (1358115677,), (1358115707,), (1358115938,), (1358115948,), (1358115951,), (1358115976,), (1358116005,), (1358116032,), (1358116390,), (1358116463,), (1358117961,), (1358118689,), (1358118693,), (1358118705,), (1358118736,), (1358118788,), (1358119180,), (1358120295,), (1358120471,), (1358120512,), (1358120516,), (1358120521,), (1358120551,), (1358120585,), (1358120820,), (1358120846,), (1358121050,), (1358121054,), (1358121058,), (1358121067,), (1358121097,), (1358121332,), (1358121335,), (1358121339,), (1358121342,), (1358121346,), (1358121453,), (1358122047,), (1358121714,), (1358121797,), (1358121857,), (1358121956,), (1358122641,), (1358122674,), (1358122705,), (1358122731,), (1358122759,), (1358123299,), (1358123366,), (1358123434,), (1358123486,), (1358123520,), (1358123650,), (1358123672,), (1358123697,), (1358124046,), (1358124098,), (1358124173,), (1358124235,), (1358124305,), (1358124908,), (1358124960,), (1358125014,), (1358125061,), (1358125075,), (1358125092,), (1358125317,), (1358125320,), (1358125324,), (1358126021,), (1358126117,), (1358126179,), (1358126229,), (1358126891,), (1358126966,), (1358127041,), (1358127099,), (1358127147,), (1358127204,), (1358127525,), (1358127623,), (1358127662,), (1358127942,), (1358127990,), (1358128018,), (1358128074,), (1358128100,), (1358128129,), (1358128654,), (1358128709,), (1358128759,), (1358128797,), (1358128838,), (1358128883,), (1358129198,), (1358129227,), (1358129685,), (1358129761,), (1358129807,), (1358129833,), (1358129859,), (1358130104,), (1358130132,), (1358130159,), (1358130183,), (1358130212,), (1358130415,), (1358130403,), (1358130410,), (1358130739,), (1358130768,), (1358130774,), (1358130786,), (1358130795,), (1358131153,), (1358131157,), (1358131160,), (1358131163,), (1358131188,), (1358131358,), (1358131381,), (1358131410,), (1358131439,), (1358131461,), (1358131571,), (1358131579,), (1358131607,), (1358131720,), (1358131723,), (1358131726,), (1358131729,), (1358131733,), (1358131736,), (1358131768,), (1358131774,), (1358131777,), (1358131780,), (1358131785,), (1358132019,), (1358132022,), (1358132024,), (1358132028,), (1358132386,), (1358132389,), (1358132392,), (1358132395,), (1358132408,), (1358132434,), (1358132715,), (1358132720,), (1358132725,), (1358132889,), (1358132894,), (1358132898,), (1358132915,), (1358132919,), (1358133027,), (1358133035,), (1358133065,), (1358133092,), (1358133106,), (1358133118,), (1358133186,), (1358133192,), (1358133196,), (1358133443,), (1358133485,), (1358133536,), (1358133589,), (1358133643,), (1358133929,), (1358133935,), (1358133965,), (1358133992,), (1358134002,), (1358134005,), (1358134255,), (1358134203,), (1358134229,), (1358134466,), (1358134492,), (1358134502,), (1358134512,), (1358134852,), (1358134877,), (1358134905,), (1358134930,), (1358134957,), (1358134985,), (1358135103,), (1358135127,), (1358135154,), (1358135181,), (1358135331,), (1358135365,), (1358135407,), (1358135435,), (1358135467,), (1358135651,), (1358135653,), (1358135667,), (1358135697,), (1358135804,), (1358135843,), (1358135872,), (1358135874,), (1358136094,), (1358136131,), (1358136154,), (1358136164,), (1358136172,), (1358136193,), (1358136244,), (1358136248,), (1358136251,), (1358136253,), (1358136255,), (1358136264,), (1358136278,), (1358136286,), (1358136359,), (1358136387,), (1358136411,), (1358136435,), (1358136443,), (1358136447,), (1358136682,), (1358136739,), (1358136754,), (1358136759,), (1358136769,), (1358136806,), (1358137552,), (1358137624,), (1358137710,), (1358137761,), (1358137764,), (1358138328,), (1358138415,), (1358138510,), (1358138560,), (1358138579,), (1358138832,), (1358138648,), (1358138660,), (1358138687,), (1358138759,), (1358139111,), (1358139114,), (1358139152,), (1358139197,), (1358139228,), (1358139472,), (1358139485,), (1358139488,), (1358139496,), (1358139524,), (1358139576,), (1358139580,), (1358139582,), (1358139584,), (1358139587,), (1358139591,), (1358139688,), (1358139712,), (1358139733,), (1358139747,), (1358139756,), (1358139822,), (1358139826,), (1358139829,), (1358139946,), (1358139979,), (1358139999,), (1358140065,), (1358140143,), (1358140434,), (1358140437,), (1358140505,), (1358140509,), (1358140511,), (1358140514,), (1358140711,), (1358140738,), (1358140749,), (1358140753,), (1358140756,), (1358140906,), (1358140909,), (1358140911,), (1358140913,), (1358140914,), (1358141130,), (1358141157,), (1358141174,), (1358141181,), (1358141427,), (1358141431,), (1358141433,), (1358141434,), (1358141439,), (1358141465,), (1358141545,), (1358141548,), (1358141551,), (1358141554,), (1358142139,), (1358142170,), (1358142199,), (1358142228,), (1358142253,), (1358142283,), (1358142370,), (1358142372,), (1358142389,), (1358142419,), (1358142446,), (1358142474,), (1358142667,), (1358142657,), (1358142660,), (1358142663,), (1358142665,), (1358142865,), (1358142868,), (1358142869,), (1358142870,), (1358142871,), (1358142976,), (1358143003,), (1358143027,), (1358143060,), (1358143110,), (1358143545,), (1358143571,), (1358143603,), (1358143675,), (1358143755,), (1358144442,), (1358144496,), (1358144552,), (1358144624,), (1358144700,), (1358144749,), (1358145051,), (1358145160,), (1358145258,), (1358145365,), (1358145455,), (1358146027,), (1358146080,), (1358146151,), (1358146218,), (1358146289,), (1358147241,), (1358147294,), (1358147330,), (1358147375,), (1358147399,), (1358147502,), (1358147982,), (1358148008,), (1358148057,), (1358148104,), (1358148775,), (1358148841,), (1358148911,), (1358148998,), (1358149073,), (1358149155,), (1358149658,), (1358149706,), (1358149739,), (1358149763,), (1358150214,), (1358150249,), (1358150317,), (1358150386,), (1358150485,), (1358150581,), (1358150990,), (1358151057,), (1358151126,), (1358151186,), (1358151566,), (1358151581,), (1358151607,), (1358151633,), (1358151668,), (1358151718,), (1358151923,), (1358151925,), (1358151928,), (1358152253,), (1358151981,), (1358152028,), (1358152103,), (1358152176,), (1358152806,), (1358152808,), (1358152810,), (1358152812,), (1358153318,), (1358153377,), (1358153434,), (1358153486,), (1358153542,), (1358153618,), (1358153979,), (1358154024,), (1358154074,), (1358154131,), (1358154222,), (1358155013,), (1358155035,), (1358155060,), (1358155085,), (1358155109,), (1358155585,), (1358155634,), (1358155681,), (1358155706,), (1358155732,), (1358155767,), (1358155926,), (1358155929,), (1358155932,), (1358155935,), (1358156383,), (1358156418,), (1358156480,), (1358156540,), (1358156592,), (1358156641,), (1358156995,), (1358157028,), (1358157052,), (1358157092,), (1358157119,), (1358157146,), (1358157609,), (1358157633,), (1358157654,), (1358157990,), (1358158035,), (1358158088,), (1358158139,), (1358158189,), (1358158252,), (1358158585,), (1358158624,), (1358158682,), (1358158722,), (1358158747,), (1358158781,), (1358158806,), (1358158832,), (1358158856,), (1358159060,), (1358159062,), (1358159064,), (1358159066,), (1358159067,), (1358159086,), (1358159434,), (1358159447,), (1358159521,), (1358159889,), (1358159837,), (1358159863,), (1358159881,), (1358159884,), (1358159886,), (1358160287,), (1358160327,), (1358160362,), (1358160390,), (1358160419,), (1358160488,), (1358160489,), (1358160491,), (1358160493,), (1358160494,), (1358160498,), (1358160534,), (1358160537,), (1358160540,), (1358160543,), (1358160630,), (1358160633,), (1358160636,), (1358160639,), (1358160641,), (1358160645,), (1358160683,), (1358160687,), (1358160691,), (1358160695,), (1358160698,), (1358160724,), (1358160729,), (1358160733,), (1358160736,), (1358160741,), (1358160744,), (1358160768,), (1358160774,), (1358160779,), (1358160783,), (1358160817,), (1358160820,), (1358160823,), (1358160826,), (1358160828,), (1358160832,), (1358160866,), (1358160869,), (1358160875,), (1358161139,), (1358161196,), (1358161227,), (1358161257,), (1358161286,), (1358161314,), (1358161520,), (1358161621,), (1358161649,), (1358161678,), (1358161708,), (1358161848,), (1358161874,), (1358161900,), (1358161929,), (1358161955,), (1358162828,), (1358162907,), (1358162992,), (1358163067,), (1358163126,), (1358163182,), (1358163958,), (1358163794,), (1358163826,), (1358163857,), (1358163900,), (1358164259,), (1358164355,), (1358164458,), (1358164556,), (1358165236,), (1358165254,), (1358165268,), (1358165271,), (1358165273,), (1358165276,), (1358165543,), (1358165570,), (1358165617,), (1358165667,), (1358166116,), (1358166125,), (1358166151,), (1358166178,), (1358166182,), (1358166186,), (1358166518,), (1358166531,), (1358166535,), (1358166539,), (1358166918,), (1358166958,), (1358167007,), (1358167074,), (1358167126,), (1358167178,), (1358167303,), (1358167307,), (1358167316,), (1358167331,), (1358167333,), (1358167579,), (1358167583,), (1358167587,), (1358167591,), (1358167604,), (1358167755,), (1358167784,), (1358167791,), (1358167796,), (1358167800,), (1358167930,), (1358167953,), (1358167957,), (1358167961,), (1358168263,), (1358169478,), (1358200905,), (1358200950,), (1358200982,), (1358201030,), (1358201615,), (1358201655,), (1358201669,), (1358201720,), (1358202005,), (1358202611,), (1358202655,), (1358202725,), (1358203202,), (1358203214,), (1358203220,), (1358212799,), (1358213094,), (1358213098,), (1358213101,), (1358213103,), (1358213446,), (1358213475,), (1358213509,), (1358213662,), (1358213690,), (1358213719,), (1358213750,), (1358213779,), (1358214185,), (1358214281,), (1358215139,), (1358215181,), (1358215236,), (1358215326,), (1358215426,), (1358215520,), (1358216063,), (1358216091,), (1358216144,), (1358216638,), (1358216665,), (1358216722,), (1358216745,), (1358217112,), (1358217146,), (1358217173,), (1358217327,), (1358217355,), (1358217385,), (1358217414,), (1358217448,), (1358217475,), (1358217661,), (1358217668,), (1358217685,), (1358217697,), (1358217717,), (1358217720,), (1358217861,), (1358217890,), (1358217932,), (1358217946,), (1358218175,), (1358218180,), (1358218181,), (1358218187,), (1358218191,), (1358218315,), (1358218335,), (1358218338,), (1358218341,), (1358218353,), (1358218423,), (1358218427,), (1358218433,), (1358218582,), (1358218564,), (1358218568,), (1358218573,), (1358218577,), (1358218673,), (1358218706,), (1358218735,), (1358218764,), (1358218979,), (1358219008,), (1358219035,), (1358219061,), (1358219278,), (1358219297,), (1358219454,), (1358219459,), (1358219463,), (1358219466,), (1358219794,), (1358219804,), (1358219841,), (1358219873,), (1358219922,), (1358220036,), (1358220041,), (1358220046,), (1358220051,), (1358220272,), (1358220349,), (1358220426,), (1358220471,), (1358220480,), (1358220680,), (1358220710,), (1358220742,), (1358220772,), (1358221043,), (1358221066,), (1358221119,), (1358221166,), (1358221606,), (1358221638,), (1358221670,), (1358221725,), (1358221763,), (1358221985,), (1358222188,), (1358222192,), (1358222197,), (1358222201,), (1358222205,), (1358222211,), (1358222245,), (1358222250,), (1358222277,), (1358222309,), (1358222340,), (1358222596,), (1358222600,), (1358222605,), (1358222610,), (1358222687,), (1358222670,), (1358222674,), (1358222680,), (1358222684,), (1358222909,), (1358222952,), (1358222976,), (1358222982,), (1358223004,), (1358223016,), (1358223388,), (1358223468,), (1358223488,), (1358223491,), (1358223634,), (1358223638,), (1358223641,), (1358223645,), (1358223648,), (1358223693,), (1358223707,), (1358223762,), (1358223808,), (1358223832,), (1358223863,), (1358224075,), (1358224099,), (1358224111,), (1358224113,), (1358224446,), (1358224450,), (1358224498,), (1358224518,), (1358224543,), (1358224562,), (1358224637,), (1358224641,), (1358224644,), (1358224648,), (1358224652,), (1358224807,), (1358224834,), (1358224863,), (1358224889,), (1358225061,), (1358225086,), (1358225113,), (1358225140,), (1358225278,), (1358225302,), (1358225331,), (1358225357,), (1358225382,), (1358225558,), (1358225645,), (1358225671,), (1358225679,), (1358225721,), (1358227170,), (1358227247,), (1358227362,), (1358227404,), (1358227493,), (1358227496,), (1358227532,), (1358227538,), (1358227541,), (1358227543,), (1358227585,), (1358227573,), (1358227576,), (1358227581,), (1358227837,), (1358227866,), (1358227899,), (1358227969,), (1358228273,), (1358228280,), (1358228284,), (1358228288,), (1358228291,), (1358228398,), (1358228426,), (1358228453,), (1358228479,), (1358228506,), (1358228833,), (1358228870,), (1358228909,), (1358228938,), (1358228955,), (1358229109,), (1358229115,), (1358229120,), (1358229178,), (1358229236,), (1358229265,), (1358229772,), (1358229778,), (1358229783,), (1358229786,), (1358229934,), (1358229936,), (1358229939,), (1358229941,), (1358229943,), (1358229948,), (1358229983,), (1358229987,), (1358229991,), (1358229995,), (1358229999,), (1358230007,), (1358230070,), (1358230073,), (1358230076,), (1358230487,), (1358230549,), (1358230599,), (1358230650,), (1358230706,), (1358230764,), (1358231313,), (1358231405,), (1358231483,), (1358231537,), (1358231606,), (1358232138,), (1358232205,), (1358232262,), (1358232319,), (1358232862,), (1358232895,), (1358232962,), (1358233016,), (1358233094,), (1358233529,), (1358233558,), (1358233582,), (1358233588,), (1358233940,), (1358234271,), (1358234299,), (1358234462,), (1358234467,), (1358234471,), (1358234473,), (1358234478,), (1358234483,), (1358234514,), (1358234519,), (1358234522,), (1358234525,), (1358234683,), (1358234713,), (1358234740,), (1358234791,), (1358235293,), (1358235323,), (1358235370,), (1358235413,), (1358235446,), (1358235479,), (1358235552,), (1358235584,), (1358235619,), (1358235674,), (1358236141,), (1358236167,), (1358236197,), (1358236242,), (1358236288,), (1358236349,), (1358236358,), (1358236367,), (1358236396,), (1358236423,), (1358236778,), (1358236807,), (1358236825,), (1358236947,), (1358236966,), (1358236970,), (1358236977,), (1358237007,), (1358237024,), (1358237121,), (1358237129,), (1358237132,), (1358237136,), (1358237170,), (1358237174,), (1358237328,), (1358237338,), (1358237346,), (1358237426,), (1358237455,), (1358237483,), (1358237522,), (1358238003,), (1358237842,), (1358237873,), (1358237905,), (1358237938,), (1358237973,), (1358238231,), (1358238263,), (1358238293,), (1358238320,), (1358239056,), (1358239095,), (1358239125,), (1358239167,), (1358239231,), (1358239573,), (1358239577,), (1358239580,), (1358239601,), (1358239700,), (1358240162,), (1358240165,), (1358240170,), (1358240200,), (1358240349,), (1358240353,), (1358240357,), (1358240394,), (1358240398,), (1358240424,), (1358240902,), (1358240946,), (1358240977,), (1358241004,), (1358241037,), (1358241074,), (1358241416,), (1358241450,), (1358241500,), (1358241548,), (1358242271,), (1358242324,), (1358242384,), (1358242426,), (1358242474,), (1358242530,), (1358242914,), (1358242963,), (1358243676,), (1358244828,), (1358245326,), (1358245357,), (1358245391,), (1358246684,), (1358246988,), (1358247095,), (1358247223,), (1358247361,), (1358247644,), (1358247696,), (1358247729,), (1358248097,), (1358247975,), (1358247988,), (1358247992,), (1358248003,), (1358248048,), (1358248351,), (1358248370,), (1358248374,), (1358248378,), (1358248418,), (1358248422,), (1358248425,), (1358248470,), (1358248474,), (1358248479,), (1358248483,), (1358248489,), (1358248493,), (1358248520,), (1358248528,), (1358248531,), (1358248538,), (1358248545,), (1358248551,), (1358248616,), (1358248620,), (1358248623,), (1358248627,), (1358248671,), (1358248673,), (1358248677,), (1358248680,), (1358248686,), (1358248691,), (1358248966,), (1358249021,), (1358249107,), (1358249113,), (1358249117,), (1358249251,), (1358249261,), (1358249280,), (1358249285,), (1358249290,), (1358249309,), (1358249394,), (1358249423,), (1358249455,), (1358249483,), (1358249494,), (1358249530,), (1358249534,), (1358249538,), (1358249542,), (1358249570,), (1358249574,), (1358249641,), (1358250226,), (1358250282,), (1358250400,), (1358250444,), (1358250501,), (1358250801,), (1358250796,), (1358251006,), (1358251036,), (1358251086,), (1358251090,), (1358251094,), (1358251177,), (1358251181,), (1358251185,), (1358251189,), (1358251221,), (1358251231,), (1358251232,), (1358251237,), (1358251383,), (1358251416,), (1358252204,), (1358253389,), (1358253393,), (1358253397,), (1358253631,), (1358253635,), (1358253638,), (1358253674,), (1358253679,), (1358253688,), (1358253698,), (1358253702,), (1358253705,), (1358253732,), (1358253737,), (1358253745,), (1358253749,), (1358253787,), (1358253791,), (1358253848,), (1358253877,), (1358253907,), (1358253937,), (1358253964,), (1358254427,), (1358254273,), (1358254302,), (1358254332,), (1358254361,), (1358254397,), (1358254704,), (1358254736,), (1358254766,), (1358254791,), (1358254834,), (1358254839,), (1358254845,), (1358254945,), (1358255151,), (1358255206,), (1358255236,), (1358255259,), (1358255322,), (1358255352,), (1358255384,), (1358255865,), (1358255893,), (1358255920,), (1358255948,), (1358256002,), (1358256037,), (1358256066,), (1358256095,), (1358256125,), (1358256323,), (1358256326,), (1358256329,), (1358256332,), (1358256335,), (1358256370,), (1358256373,), (1358256375,), (1358256377,), (1358256410,), (1358256416,), (1358256420,), (1358256423,), (1358256479,), (1358256482,), (1358256486,), (1358256489,), (1358256492,), (1358256495,), (1358256531,), (1358256534,), (1358256536,), (1358256538,), (1358256539,), (1358256542,), (1358256591,), (1358256596,), (1358256601,), (1358256636,), (1358256640,), (1358256643,), (1358256645,), (1358256649,), (1358256683,), (1358256686,), (1358256688,), (1358256690,), (1358256693,), (1358256732,), (1358256729,), (1358256766,), (1358256769,), (1358256774,), (1358256777,), (1358256809,), (1358256813,), (1358256815,), (1358256816,), (1358256818,), (1358256850,), (1358256853,), (1358256855,), (1358256856,), (1358256887,), (1358256977,), (1358256980,), (1358256984,), (1358256988,), (1358257020,), (1358257022,), (1358257025,), (1358257028,), (1358257030,), (1358257065,), (1358257067,), (1358257069,), (1358257071,), (1358257072,), (1358257127,), (1358257130,), (1358257133,), (1358257140,), (1358257144,), (1358257165,), (1358257168,), (1358257171,), (1358257174,), (1358257205,), (1358257207,), (1358257209,), (1358257211,), (1358257213,), (1358257242,), (1358257246,), (1358257249,), (1358257252,), (1358257256,), (1358257260,), (1358257282,), (1358257286,), (1358257290,), (1358257296,), (1358257299,), (1358257351,), (1358257356,), (1358257399,), (1358257404,), (1358257409,), (1358257413,), (1358257422,), (1358257794,), (1358257797,), (1358257802,), (1358257806,), (1358257810,), (1358257842,), (1358257833,), (1358257837,), (1358257876,), (1358257881,), (1358257885,), (1358257889,), (1358257893,), (1358257923,), (1358257928,), (1358257933,), (1358257938,), (1358257970,), (1358257974,), (1358257977,), (1358257980,), (1358257983,), (1358258009,), (1358258014,), (1358258019,), (1358258058,), (1358258063,), (1358258068,), (1358258073,), (1358258113,), (1358258116,), (1358258118,), (1358258121,), (1358258127,), (1358258177,), (1358258182,), (1358258224,), (1358258228,), (1358258232,), (1358258236,), (1358258240,), (1358258244,), (1358258277,), (1358258282,), (1358258287,), (1358258291,), (1358258296,), (1358258302,), (1358258335,), (1358258340,), (1358258344,), (1358258347,), (1358258383,), (1358258387,), (1358258393,), (1358258395,), (1358258399,), (1358258402,), (1358258466,), (1358258471,), (1358258517,), (1358258524,), (1358258533,), (1358258540,), (1358258546,), (1358258551,), (1358258583,), (1358258912,), (1358258917,), (1358259121,), (1358259150,), (1358259177,), (1358259207,), (1358259234,), (1358259567,), (1358259597,), (1358259627,), (1358259657,), (1358259800,), (1358259803,), (1358259806,), (1358260098,), (1358260102,), (1358260123,), (1358260292,), (1358260297,), (1358260301,), (1358260305,), (1358260336,), (1358260338,), (1358260342,), (1358260345,), (1358260347,), (1358260351,), (1358260629,), (1358260515,), (1358260542,), (1358260569,), (1358260600,), (1358261013,), (1358261045,), (1358261529,), (1358261556,), (1358261581,), (1358261606,), (1358261644,), (1358261742,), (1358261745,), (1358261748,), (1358261773,), (1358261802,), (1358261830,), (1358262035,), (1358262040,), (1358262043,), (1358262048,), (1358262148,), (1358262151,), (1358262154,), (1358262168,), (1358262196,), (1358262215,), (1358262238,), (1358262243,), (1358262249,), (1358262254,), (1358262257,), (1358262262,), (1358262539,), (1358262548,), (1358262553,), (1358262724,), (1358262729,), (1358262733,), (1358262737,), (1358262740,), (1358262744,), (1358262765,), (1358262771,), (1358262780,), (1358262786,), (1358262790,), (1358262844,), (1358262848,), (1358262852,), (1358262856,), (1358262858,), (1358262901,), (1358262904,), (1358262908,), (1358262911,), (1358262914,), (1358262917,), (1358262942,), (1358262945,), (1358262951,), (1358262957,), (1358262964,), (1358263005,), (1358263347,), (1358263373,), (1358263413,), (1358264053,), (1358264109,), (1358264154,), (1358264182,), (1358264210,), (1358264234,), (1358264663,), (1358275226,), (1358275243,), (1358275246,), (1358275248,), (1358275284,), (1358275287,), (1358275290,), (1358275292,), (1358275296,), (1358275327,), (1358275330,), (1358275564,), (1358275577,), (1358275611,), (1358275641,), (1358275671,), (1358276023,), (1358276050,), (1358276077,), (1358276110,), (1358276139,), (1358276634,), (1358276708,), (1358276750,), (1358276779,), (1358276826,), (1358277124,), (1358277161,), (1358277209,), (1358277259,), (1358277273,), (1358277426,), (1358277442,), (1358277444,), (1358277445,), (1358277584,), (1358277641,), (1358277678,), (1358277705,), (1358277750,), (1358278012,), (1358278090,), (1358278102,), (1358278127,), (1358278131,), (1358278156,), (1358278199,), (1358278203,), (1358278206,), (1358278208,), (1358278211,), (1358278319,), (1358278330,), (1358278344,), (1358278433,), (1358278436,), (1358278437,), (1358278439,), (1358278441,), (1358278482,), (1358282961,), (1358283164,), (1358283168,), (1358283195,), (1358283207,), (1358283210,), (1358283213,), (1358283353,), (1358283357,), (1358283396,), (1358283401,), (1358283405,), (1358283409,), (1358283414,), (1358283589,), (1358283619,), (1358283650,), (1358284160,), (1358284212,), (1358284270,), (1358284322,), (1358284379,), (1358285011,), (1358285086,), (1358285138,), (1358285760,), (1358285766,), (1358285772,), (1358285778,), (1358285781,), (1358285784,), (1358286007,), (1358286359,), (1358286391,), (1358286420,), (1358286554,), (1358286576,), (1358287084,), (1358287143,), (1358287196,), (1358287245,), (1358287659,), (1358287688,), (1358287716,), (1358288095,), (1358288144,), (1358288203,), (1358288264,), (1358288318,), (1358288358,), (1358289084,), (1358289138,), (1358289188,), (1358289263,), (1358289340,), (1358289400,), (1358290055,), (1358289947,), (1358290444,), (1358290447,), (1358290450,), (1358290452,), (1358290468,), (1358290884,), (1358290914,), (1358290960,), (1358291451,), (1358291495,), (1358291522,), (1358291552,), (1358291986,), (1358292014,), (1358292064,), (1358292097,), (1358292168,), (1358292185,), (1358292444,), (1358292472,), (1358292502,), (1358292534,), (1358292591,), (1358293002,), (1358293016,), (1358293031,), (1358293034,), (1358293036,), (1358293398,), (1358293558,), (1358293567,), (1358293572,), (1358293738,), (1358293764,), (1358293790,), (1358293819,), (1358293918,), (1358293921,), (1358293925,), (1358293929,), (1358293932,), (1358293936,), (1358293971,), (1358293978,), (1358293983,), (1358293987,), (1358294000,), (1358294073,), (1358294109,), (1358294159,), (1358294220,), (1358294270,), (1358295478,), (1358295539,), (1358295603,), (1358295674,), (1358295764,), (1358295856,), (1358296047,), (1358296117,), (1358296198,), (1358296259,), (1358296322,), (1358296620,), (1358296485,), (1358296552,), (1358296990,), (1358297072,), (1358297129,), (1358297192,), (1358297301,), (1358297363,), (1358297505,), (1358297555,), (1358297589,), (1358297618,), (1358297860,), (1358297891,), (1358297907,), (1358298023,), (1358298026,), (1358298029,), (1358298031,), (1358298033,), (1358298069,), (1358298072,), (1358298074,), (1358298077,), (1358298080,), (1358298082,), (1358298423,), (1358298434,), (1358298497,), (1358298500,), (1358298503,), (1358298507,), (1358298510,), (1358298514,), (1358298543,), (1358298546,), (1358298549,), (1358298554,), (1358298561,), (1358298581,), (1358298591,), (1358298596,), (1358298603,), (1358298606,), (1358298621,), (1358298625,), (1358299365,), (1358299242,), (1358299338,), (1358299700,), (1358299727,), (1358300085,), (1358300090,), (1358300093,), (1358300560,), (1358301099,), (1358301107,), (1358301122,), (1358301124,), (1358301196,), (1358301201,), (1358301202,), (1358301209,), (1358301230,), (1358301236,), (1358301240,), (1358301245,), (1358301277,), (1358301279,), (1358301280,), (1358301314,), (1358301317,), (1358301320,), (1358301323,), (1358301325,), (1358301328,), (1358301367,), (1358301370,), (1358301372,), (1358301374,), (1358301377,), (1358301490,), (1358301511,), (1358301514,), (1358301517,), (1358301520,), (1358301545,), (1358301548,), (1358301553,), (1358301613,), (1358301620,), (1358301697,), (1358301686,), (1358301689,), (1358301692,), (1358301695,), (1358301725,), (1358301727,), (1358301730,), (1358301733,), (1358301735,), (1358301784,), (1358301786,), (1358301788,), (1358301824,), (1358301827,), (1358301829,), (1358301854,), (1358301857,), (1358301866,), (1358301871,), (1358301875,), (1358301899,), (1358301905,), (1358301907,), (1358301911,), (1358301914,), (1358301954,), (1358301958,), (1358301962,), (1358302000,), (1358302010,), (1358302013,), (1358302015,), (1358302018,), (1358302022,), (1358302050,), (1358302054,), (1358302057,), (1358302058,), (1358302061,), (1358302064,), (1358302097,), (1358302099,), (1358302101,), (1358302143,), (1358302147,), (1358302151,), (1358302155,), (1358302281,), (1358302320,), (1358302351,), (1358302550,), (1358302562,), (1358302652,), (1358302683,), (1358303014,), (1358303029,), (1358303040,), (1358303235,), (1358303137,), (1358303160,), (1358303186,), (1358303212,), (1358303378,), (1358303383,), (1358303411,), (1358303421,), (1358303430,), (1358303449,), (1358303496,), (1358303499,), (1358303503,), (1358303505,), (1358303508,), (1358303512,), (1358303689,), (1358303719,), (1358304011,), (1358304013,), (1358304439,), (1358304470,), (1358304509,), (1358304558,), (1358304581,), (1358304921,), (1358304930,), (1358304942,), (1358304965,), (1358305003,), (1358305008,), (1358305010,), (1358305092,), (1358305121,), (1358305147,), (1358305421,), (1358305451,), (1358305482,), (1358305510,), (1358305523,), (1358305528,), (1358305692,), (1358305719,), (1358305724,), (1358305728,), (1358305732,), (1358305736,), (1358306020,), (1358306068,), (1358306107,), (1358306136,), (1358306656,), (1358306710,), (1358306766,), (1358306853,), (1358306931,), (1358307006,), (1358308289,), (1358308321,), (1358308370,), (1358308407,), (1358308667,), (1358308669,), (1358308749,), (1358308769,), (1358308809,), (1358308828,), (1358308875,), (1358308884,), (1358308923,), (1358308929,), (1358309270,), (1358309087,), (1358309120,), (1358309196,), (1358309759,), (1358309816,), (1358309882,), (1358309911,), (1358309945,), (1358309988,), (1358310469,), (1358310474,), (1358310477,), (1358310480,), (1358310500,), (1358310849,), (1358310904,), (1358310964,), (1358311026,), (1358311378,), (1358311435,), (1358311491,), (1358311539,), (1358311568,), (1358311733,), (1358311746,), (1358311751,), (1358311785,), (1358311790,), (1358311794,), (1358311798,), (1358311806,), (1358311814,), (1358311912,), (1358311930,), (1358311933,), (1358311952,), (1358311996,), (1358312159,), (1358312164,), (1358312167,), (1358312170,), (1358312204,), (1358312210,), (1358312215,), (1358312220,), (1358312274,), (1358312354,), (1358312387,), (1358312431,), (1358312475,), (1358312500,), (1358312616,), (1358312626,), (1358312659,), (1358312677,), (1358312681,), (1358313335,), (1358313421,), (1358313448,), (1358313482,), (1358313721,), (1358313766,), (1358313815,), (1358313854,), (1358313881,), (1358313908,), (1358314186,), (1358314195,), (1358314214,), (1358314262,), (1358314276,), (1358314374,), (1358314356,), (1358314360,), (1358314364,), (1358314369,), (1358314406,), (1358314411,), (1358314414,), (1358314416,), (1358314419,), (1358314423,), (1358314595,), (1358314624,), (1358314652,), (1358314681,), (1358314885,), (1358314889,), (1358314893,), (1358314990,), (1358315003,), (1358315005,), (1358315009,), (1358315013,), (1358315017,), (1358315042,), (1358315047,), (1358315052,), (1358315056,), (1358315060,), (1358315061,), (1358315093,), (1358315096,), (1358315099,), (1358315126,), (1358315159,), (1358315229,), (1358315283,), (1358315346,), (1358315403,), (1358315528,), (1358315560,), (1358315589,), (1358315617,), (1358315645,), (1358315913,), (1358315923,), (1358315926,), (1358316079,), (1358316105,), (1358316130,), (1358316151,), (1358316172,), (1358316265,), (1358316291,), (1358316317,), (1358316328,), (1358316377,), (1358316389,), (1358316416,), (1358316446,), (1358316473,), (1358316498,), (1358316700,), (1358316703,), (1358316706,), (1358316708,), (1358316712,), (1358316714,), (1358316762,), (1358316767,), (1358316769,), (1358316810,), (1358316806,), (1358316841,), (1358316843,), (1358316845,), (1358316847,), (1358316849,), (1358316875,), (1358316877,), (1358316880,), (1358316883,), (1358316887,), (1358316934,), (1358316936,), (1358316938,), (1358316940,), (1358316943,), (1358317046,), (1358317074,), (1358317080,), (1358317271,), (1358317314,), (1358317321,), (1358317325,), (1358317328,), (1358317332,), (1358317363,), (1358317367,), (1358317370,), (1358317372,), (1358317373,), (1358317377,), (1358317414,), (1358317428,), (1358317547,), (1358317551,), (1358317572,), (1358317601,), (1358321868,), (1358321809,), (1358322535,), (1358322613,), (1358323248,), (1358323659,), (1358323687,), (1358324071,), (1358324100,), (1358324130,), (1358324158,), (1358324478,), (1358324483,), (1358324488,), (1358324492,), (1358324512,), (1358324584,), (1358324615,), (1358324649,), (1358324681,), (1358324921,), (1358324932,), (1358324964,), (1358325144,), (1358325150,), (1358325156,), (1358325160,), (1358325193,), (1358325197,), (1358325203,), (1358325208,), (1358325213,), (1358325218,), (1358325537,), (1358325560,), (1358325569,), (1358325574,), (1358325580,), (1358325585,), (1358325813,), (1358325834,), (1358325838,), (1358325842,), (1358325980,), (1358325958,), (1358325961,), (1358325965,), (1358325970,), (1358325975,), (1358326093,), (1358326098,), (1358326103,), (1358326167,), (1358326184,), (1358326192,), (1358326195,), (1358326230,), (1358326234,), (1358326239,), (1358326244,), (1358326248,), (1358326281,), (1358326285,), (1358326288,), (1358326332,), (1358326337,), (1358326341,), (1358326344,), (1358326349,), (1358326384,), (1358326392,), (1358326396,), (1358326400,), (1358326404,), (1358326408,), (1358326452,), (1358326454,), (1358326456,), (1358326527,), (1358326531,), (1358326535,), (1358326539,), (1358326676,), (1358326689,), (1358326715,), (1358326719,), (1358326737,), (1358326743,), (1358326777,), (1358326781,), (1358326820,), (1358326825,), (1358326828,), (1358326924,), (1358327010,), (1358327142,), (1358327105,), (1358327122,), (1358327125,), (1358327174,), (1358327177,), (1358327179,), (1358327180,), (1358327183,), (1358327186,), (1358327221,), (1358327224,), (1358327230,), (1358327234,), (1358327265,), (1358327269,), (1358327273,), (1358327276,), (1358327277,), (1358327305,), (1358327308,), (1358327311,), (1358327314,), (1358327317,), (1358327319,), (1358327361,), (1358327368,), (1358327371,), (1358327455,), (1358327459,), (1358327468,), (1358327473,), (1358327477,), (1358327479,), (1358327503,), (1358327507,), (1358327510,), (1358327513,), (1358327516,), (1358327553,), (1358327556,), (1358327558,), (1358327591,), (1358327596,), (1358327600,), (1358327603,), (1358327605,), (1358327608,), (1358327894,), (1358327924,), (1358327976,), (1358328354,), (1358328356,), (1358328357,), (1358328359,), (1358328362,), (1358328365,), (1358328848,), (1358328878,), (1358328906,), (1358328923,), (1358328931,), (1358329087,), (1358329097,), (1358329102,), (1358329708,), (1358329714,), (1358329718,), (1358329724,), (1358329727,), (1358329731,), (1358329866,), (1358329839,), (1358329848,), (1358329852,), (1358329857,), (1358329861,), (1358329976,), (1358330006,), (1358330013,), (1358330164,), (1358330168,), (1358330170,), (1358330198,), (1358330249,), (1358330254,), (1358330260,), (1358330280,), (1358330282,), (1358330287,), (1358330292,), (1358330296,), (1358330299,), (1358330324,), (1358330338,), (1358330343,), (1358330347,), (1358330350,), (1358330390,), (1358330395,), (1358330401,), (1358330405,), (1358330410,), (1358330436,), (1358330476,), (1358330480,), (1358330484,), (1358330488,), (1358330515,), (1358330519,), (1358330523,), (1358330526,), (1358330529,), (1358330579,), (1358330582,), (1358330587,), (1358330592,), (1358330597,), (1358330619,), (1358330625,), (1358330629,), (1358330633,), (1358330647,), (1358330651,), (1358330718,), (1358330723,), (1358330726,), (1358330728,), (1358331533,), (1358331600,), (1358331665,), (1358331722,), (1358331777,), (1358331841,), (1358332833,), (1358332580,), (1358332656,), (1358332747,), (1358333568,), (1358333668,), (1358334358,), (1358334426,), (1358334498,), (1358334551,), (1358334604,), (1358335035,), (1358335040,), (1358335065,), (1358335070,), (1358335121,), (1358335125,), (1358335128,), (1358335131,), (1358335147,), (1358335180,), (1358335327,), (1358335358,), (1358335364,), (1358335379,), (1358335381,), (1358335447,), (1358335450,), (1358335453,), (1358335457,), (1358335460,), (1358335488,), (1358335773,), (1358335795,), (1358335799,), (1358336013,), (1358336066,), (1358336387,), (1358336419,), (1358336432,), (1358336436,), (1358336464,), (1358336473,), (1358336562,), (1358336566,), (1358336569,), (1358336572,), (1358336575,), (1358336577,), (1358336686,), (1358336725,), (1358336776,), (1358336841,), (1358337333,), (1358337361,), (1358337390,), (1358337428,), (1358337472,), (1358337505,), (1358337790,), (1358337841,), (1358337856,), (1358337866,), (1358338060,), (1358338066,), (1358338070,), (1358338074,), (1358338080,), (1358338084,), (1358338114,), (1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14052025': {'nb_upload': 29, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22983615]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] map_info['map_portfolio_photo'] : {22983615: [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111]} final : True mtd_id 4302 list_pids : [1358341555, 1358341530, 1358341029, 1358339247, 1358339245, 1358339242, 1358339214, 1358339211, 1358339207, 1358339203, 1358339199, 1358339195, 1358339155, 1358338973, 1358338948, 1358338921, 1358338901, 1358338663, 1358338630, 1358338601, 1358338558, 1358338511, 1358338508, 1358338506, 1358338503, 1358338494, 1358338466, 1358338339, 1358338111] Looping around the photos to save general results len do output : 1 /22983615Didn'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, '2857573') ('4302', '22983615', '1358341555', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573') ('4302', None, None, None, None, None, None, None, '2857573') ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573') 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', None, '22983615', 'None', None, None, None, None, '2857573'), ('4302', '22983615', '1358341555', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358341530', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358341029', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339247', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339245', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339242', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339214', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339211', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339207', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339203', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339199', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339195', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358339155', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338973', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338948', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338921', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338901', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338663', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338630', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338601', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338558', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338511', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338508', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338506', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338503', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338494', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338466', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338339', None, None, None, None, None, '2857573'), ('4302', '22983615', '1358338111', None, None, None, None, None, '2857573')] time used for this insertion : 0.19859623908996582 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.524764537811279 time spend to save output : 0.19893860816955566 total time spend for step 5 : 4.723703145980835 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 (2857573) 2.97user 2.54system 0:18.21elapsed 30%CPU (0avgtext+0avgdata 166784maxresident)k 848inputs+24992outputs (40major+81100minor)pagefaults 0swaps