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 : 4193133 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 (2572360) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2572360) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19780895 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2572360'] with mtr_portfolio_ids : ['19780895'] and first list_photo_ids : [] new path : /proc/4193133/ Name: python3 Umask: 0002 State: R (running) Tgid: 4193133 Ngid: 0 Pid: 4193133 PPid: 4193132 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4193133 NSpid: 4193133 NSpgid: 4192348 NSsid: 4192348 VmPeak: 1106588 kB VmSize: 1106572 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97552 kB VmRSS: 97552 kB RssAnon: 59740 kB RssFile: 37812 kB RssShmem: 0 kB VmData: 865324 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 43 nonvoluntary_ctxt_switches: 171 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4193133', 'Ngid': '0', 'Pid': '4193133', 'PPid': '4193132', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4193133', 'NSpid': '4193133', 'NSpgid': '4192348', 'NSsid': '4192348', 'VmPeak': '1106588 kB', 'VmSize': '1106572 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97552 kB', 'VmRSS': '97552 kB', 'RssAnon': '59740 kB', 'RssFile': '37812 kB', 'RssShmem': '0 kB', 'VmData': '865324 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '43', 'nonvoluntary_ctxt_switches': '171'} ('datou_batch_current', '4193133', '1106588', '0', '1106572', '865324', '97552', b'', 'marlene', '2572360') 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 (19780895) 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 (2572360 ) ) 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 (19780895) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1330235313, 'portfolio_id': 19780895}, {'photo_id': 1330235274, 'portfolio_id': 19780895}, {'photo_id': 1330235272, 'portfolio_id': 19780895}, {'photo_id': 1330235224, 'portfolio_id': 19780895}, {'photo_id': 1330235220, 'portfolio_id': 19780895}, {'photo_id': 1330235215, 'portfolio_id': 19780895}, {'photo_id': 1330235190, 'portfolio_id': 19780895}, {'photo_id': 1330235184, 'portfolio_id': 19780895}, {'photo_id': 1330235179, 'portfolio_id': 19780895}, {'photo_id': 1330235175, 'portfolio_id': 19780895}, {'photo_id': 1330235094, 'portfolio_id': 19780895}, {'photo_id': 1330235087, 'portfolio_id': 19780895}, {'photo_id': 1330235072, 'portfolio_id': 19780895}, {'photo_id': 1330235017, 'portfolio_id': 19780895}, {'photo_id': 1330235010, 'portfolio_id': 19780895}, {'photo_id': 1330235004, 'portfolio_id': 19780895}, {'photo_id': 1330234999, 'portfolio_id': 19780895}, {'photo_id': 1330234967, 'portfolio_id': 19780895}, {'photo_id': 1330234965, 'portfolio_id': 19780895}, {'photo_id': 1330234960, 'portfolio_id': 19780895}, {'photo_id': 1330234936, 'portfolio_id': 19780895}, {'photo_id': 1330234930, 'portfolio_id': 19780895}, {'photo_id': 1330234924, 'portfolio_id': 19780895}, {'photo_id': 1330234880, 'portfolio_id': 19780895}, {'photo_id': 1330234878, 'portfolio_id': 19780895}, {'photo_id': 1330234855, 'portfolio_id': 19780895}, {'photo_id': 1330234854, 'portfolio_id': 19780895}, {'photo_id': 1330234851, 'portfolio_id': 19780895}, {'photo_id': 1330234849, 'portfolio_id': 19780895}, {'photo_id': 1330234846, 'portfolio_id': 19780895}] map_portfolio_id_photo_id: {19780895: [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846]} ##### 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.025101661682128906 #### 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 Mon Feb 10 21:50:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19780895) 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 : 19780895 get user id for portfolio 19780895 get sub ptf for main ptf 19780895, type 3726 and hashtags ['kraft', 'environnement', 'cartonnette', 'papier', 'flou', 'Teint_Dans_La_Masse', 'autre_refus', 'metal', 'mal_croppe', 'plastique', 'Carton_gris', '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`=19780895 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','papier','flou','Teint_Dans_La_Masse','autre_refus','metal','mal_croppe','plastique','Carton_gris','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`=19780895 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','papier','flou','Teint_Dans_La_Masse','autre_refus','metal','mal_croppe','plastique','Carton_gris','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 19780895, 'sub_port_id': 19781228, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544687, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'papier': {'main_port_id': 19780895, 'sub_port_id': 19781229, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544688, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'plastique': {'main_port_id': 19780895, 'sub_port_id': 19781230, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544689, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'environnement': {'main_port_id': 19780895, 'sub_port_id': 19781231, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544690, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'Carton_gris': {'main_port_id': 19780895, 'sub_port_id': 19781232, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544691, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 19780895, 'sub_port_id': 19781233, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544692, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'cartonnette': {'main_port_id': 19780895, 'sub_port_id': 19781234, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544693, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'flou': {'main_port_id': 19780895, 'sub_port_id': 19781235, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544694, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'autre_refus': {'main_port_id': 19780895, 'sub_port_id': 19781236, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544695, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'Carton_brun': {'main_port_id': 19780895, 'sub_port_id': 19781237, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544696, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'mal_croppe': {'main_port_id': 19780895, 'sub_port_id': 19781238, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544697, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}, 'kraft': {'main_port_id': 19780895, 'sub_port_id': 19781239, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544698, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19781228 , 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=19780895 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 (19781228) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781229 , 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=19780895 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 (19781229) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781230 , 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=19780895 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 (19781230) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781231 , 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=19780895 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 (19781231) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781232 , 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=19780895 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 (19781232) result : ((1335980805,), (1335980806,), (1335980807,), (1335980808,), (1335980809,), (1335980810,), (1335980811,), (1335980812,), (1335985141,), (1335985142,), (1335985143,), (1335985144,), (1335985145,), (1335985146,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781233 , 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=19780895 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 (19781233) result : ((1335980712,), (1335980713,), (1335980714,), (1335980715,), (1335980716,), (1335980717,), (1335980718,), (1335980719,), (1335980720,), (1335980721,), (1335980722,), (1335980723,), (1335980724,), (1335980725,), (1335980726,), (1335980727,), (1335980728,), (1335980729,), (1335980730,), (1335980731,), (1335980732,), (1335980734,), (1335980736,), (1335985128,), (1335985129,), (1335985130,), (1335985131,), (1335985132,), (1335985133,), (1335985134,), (1335985135,), (1335985136,), (1335985137,), (1335985138,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781234 , 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=19780895 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 (19781234) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781235 , 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=19780895 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 (19781235) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781236 , 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=19780895 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 (19781236) result : ((1335980756,), (1335980757,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781237 , 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=19780895 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 (19781237) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781238 , 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=19780895 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 (19781238) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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 19781239 , 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=19780895 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 (19781239) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19780895) result : ((1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,)) 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`=19780895 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','papier','flou','Teint_Dans_La_Masse','autre_refus','metal','mal_croppe','plastique','Carton_gris','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`=19780895 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','cartonnette','papier','flou','Teint_Dans_La_Masse','autre_refus','metal','mal_croppe','plastique','Carton_gris','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 19780895, 'sub_port_id': 19781240, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544699, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'papier': {'main_port_id': 19780895, 'sub_port_id': 19781241, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544700, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'plastique': {'main_port_id': 19780895, 'sub_port_id': 19781242, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544701, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'environnement': {'main_port_id': 19780895, 'sub_port_id': 19781243, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544702, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'Carton_gris': {'main_port_id': 19780895, 'sub_port_id': 19781244, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544703, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 19780895, 'sub_port_id': 19781245, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544704, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'cartonnette': {'main_port_id': 19780895, 'sub_port_id': 19781246, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544705, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'flou': {'main_port_id': 19780895, 'sub_port_id': 19781247, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544706, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'autre_refus': {'main_port_id': 19780895, 'sub_port_id': 19781248, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544707, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'Carton_brun': {'main_port_id': 19780895, 'sub_port_id': 19781249, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544708, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'mal_croppe': {'main_port_id': 19780895, 'sub_port_id': 19781250, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544709, 'last_updated_at': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_desc': datetime.datetime(2025, 1, 21, 2, 28, 30), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}, 'kraft': {'main_port_id': 19780895, 'sub_port_id': 19781251, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12544710, 'last_updated_at': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 9, 1, 18, 42), 'last_updated_at_asc': datetime.datetime(2025, 1, 21, 2, 28, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781240,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781228 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781241,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781229 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781242,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781230 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781243,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781231 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781244,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781232 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781245,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781233 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781246,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781234 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781247,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781235 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781248,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781236 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781249,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781237 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781250,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781238 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19781251,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19781239 lien utilise dans velours : https://www.fotonower.com/velours/19781240,19781241,19781242,19781243,19781244,19781245,19781246,19781247,19781248,19781249,19781250,19781251?tags=metal,papier,plastique,environnement,Carton_gris,Teint_Dans_La_Masse,cartonnette,flou,autre_refus,Carton_brun,mal_croppe,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19780895]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] map_info['map_portfolio_photo'] : {19780895: [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846]} final : False mtd_id 4302 list_pids : [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] Looping around the photos to save general results len do output : 1 /19780895. 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, '2572360') ('4302', '19780895', '1330235313', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '19780895', "{'metal': 19781228, 'papier': 19781229, 'plastique': 19781230, 'environnement': 19781231, 'Carton_gris': 19781232, 'Teint_Dans_La_Masse': 19781233, 'cartonnette': 19781234, 'flou': 19781235, 'autre_refus': 19781236, 'Carton_brun': 19781237, 'mal_croppe': 19781238, 'kraft': 19781239}", None, None, None, None, '2572360'), ('4302', '19780895', '1330235313', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360')] time used for this insertion : 0.023567676544189453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5981338024139404 time spend to save output : 0.02423262596130371 total time spend for step 1 : 1.6223664283752441 step2:final Mon Feb 10 21:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (19780895) 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 19780895 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1330234855,1330234854,1330234851,1330234849,1330234846,1330234880,1330234936,1330234878,1330234930,1330234924,1330234967,1330234965,1330234960,1330235017,1330235010,1330235004,1330234999,1330235072,1330235094,1330235190,1330235087,1330235184,1330235179,1330235175,1330235224,1330235220,1330235215,1330235274,1330235272,1330235313); 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([19780895]) Inside saveOutput : final : False verbose : True original output for save of step final : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} new output for save of step final : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] map_info['map_portfolio_photo'] : {19780895: [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846]} final : False mtd_id 4302 list_pids : [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] Looping around the photos to save general results len do output : 30 /1330235313.Didn't retrieve data . /1330235274.Didn't retrieve data . /1330235272.Didn't retrieve data . /1330235224.Didn't retrieve data . /1330235220.Didn't retrieve data . /1330235215.Didn't retrieve data . /1330235190.Didn't retrieve data . /1330235184.Didn't retrieve data . /1330235179.Didn't retrieve data . /1330235175.Didn't retrieve data . /1330235094.Didn't retrieve data . /1330235087.Didn't retrieve data . /1330235072.Didn't retrieve data . /1330235017.Didn't retrieve data . /1330235010.Didn't retrieve data . /1330235004.Didn't retrieve data . /1330234999.Didn't retrieve data . /1330234967.Didn't retrieve data . /1330234965.Didn't retrieve data . /1330234960.Didn't retrieve data . /1330234936.Didn't retrieve data . /1330234930.Didn't retrieve data . /1330234924.Didn't retrieve data . /1330234880.Didn't retrieve data . /1330234878.Didn't retrieve data . /1330234855.Didn't retrieve data . /1330234854.Didn't retrieve data . /1330234851.Didn't retrieve data . /1330234849.Didn't retrieve data . /1330234846.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, '2572360') ('4302', '19780895', '1330235313', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '19780895', '1330235313', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235274', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235272', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235224', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235220', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235215', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235190', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235184', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235179', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235175', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235094', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235087', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235072', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235017', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235010', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330235004', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234999', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234967', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234965', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234960', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234936', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234930', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234924', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234880', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234878', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234855', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234854', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234851', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234849', '0.060084694781915145', None, None, None, None, '2572360'), ('4302', '19780895', '1330234846', '0.060084694781915145', None, None, None, None, '2572360')] time used for this insertion : 0.017388343811035156 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07070684432983398 time spend to save output : 0.024361133575439453 total time spend for step 2 : 0.09506797790527344 step3:velours_tree Mon Feb 10 21:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {19780895: [{'metal': 19781228, 'papier': 19781229, 'plastique': 19781230, 'environnement': 19781231, 'Carton_gris': 19781232, 'Teint_Dans_La_Masse': 19781233, 'cartonnette': 19781234, 'flou': 19781235, 'autre_refus': 19781236, 'Carton_brun': 19781237, 'mal_croppe': 19781238, 'kraft': 19781239}]} input_args_next_step : {19780895: ()} output_args : {19780895: [{'metal': 19781228, 'papier': 19781229, 'plastique': 19781230, 'environnement': 19781231, 'Carton_gris': 19781232, 'Teint_Dans_La_Masse': 19781233, 'cartonnette': 19781234, 'flou': 19781235, 'autre_refus': 19781236, 'Carton_brun': 19781237, 'mal_croppe': 19781238, 'kraft': 19781239}]} args : 19780895 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': 19781228, 'papier': 19781229, 'plastique': 19781230, 'environnement': 19781231, 'Carton_gris': 19781232, 'Teint_Dans_La_Masse': 19781233, 'cartonnette': 19781234, 'flou': 19781235, 'autre_refus': 19781236, 'Carton_brun': 19781237, 'mal_croppe': 19781238, 'kraft': 19781239},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19780895) 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([19780895]) 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.3505539894104004 time spend to save output : 4.9591064453125e-05 total time spend for step 3 : 0.3506035804748535 step4:send_mail_cod Mon Feb 10 21:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} input_args_next_step : {1330235313: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235313 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235274 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235272 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235224 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235220 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235215 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235190 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235184 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235179 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235175 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235094 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235087 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235072 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235017 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235010 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330235004 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234999 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234967 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234965 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234960 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234936 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234930 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234924 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234880 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234878 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234855 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234854 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234851 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234849 depend.output_id : 0 input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ()} output_args : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',)} args : 1330234846 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 : {19780895: [{'metal': 19781228, 'papier': 19781229, 'plastique': 19781230, 'environnement': 19781231, 'Carton_gris': 19781232, 'Teint_Dans_La_Masse': 19781233, 'cartonnette': 19781234, 'flou': 19781235, 'autre_refus': 19781236, 'Carton_brun': 19781237, 'mal_croppe': 19781238, 'kraft': 19781239}]} input_args_next_step : {1330235313: ('0.060084694781915145',), 1330235274: ('0.060084694781915145',), 1330235272: ('0.060084694781915145',), 1330235224: ('0.060084694781915145',), 1330235220: ('0.060084694781915145',), 1330235215: ('0.060084694781915145',), 1330235190: ('0.060084694781915145',), 1330235184: ('0.060084694781915145',), 1330235179: ('0.060084694781915145',), 1330235175: ('0.060084694781915145',), 1330235094: ('0.060084694781915145',), 1330235087: ('0.060084694781915145',), 1330235072: ('0.060084694781915145',), 1330235017: ('0.060084694781915145',), 1330235010: ('0.060084694781915145',), 1330235004: ('0.060084694781915145',), 1330234999: ('0.060084694781915145',), 1330234967: ('0.060084694781915145',), 1330234965: ('0.060084694781915145',), 1330234960: ('0.060084694781915145',), 1330234936: ('0.060084694781915145',), 1330234930: ('0.060084694781915145',), 1330234924: ('0.060084694781915145',), 1330234880: ('0.060084694781915145',), 1330234878: ('0.060084694781915145',), 1330234855: ('0.060084694781915145',), 1330234854: ('0.060084694781915145',), 1330234851: ('0.060084694781915145',), 1330234849: ('0.060084694781915145',), 1330234846: ('0.060084694781915145',), 19780895: ()} output_args : {19780895: [{'metal': 19781228, 'papier': 19781229, 'plastique': 19781230, 'environnement': 19781231, 'Carton_gris': 19781232, 'Teint_Dans_La_Masse': 19781233, 'cartonnette': 19781234, 'flou': 19781235, 'autre_refus': 19781236, 'Carton_brun': 19781237, 'mal_croppe': 19781238, 'kraft': 19781239}]} args : 19780895 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :31, first value : ('0.060084694781915145',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19780895) 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 (1330235313,1330235274,1330235272,1330235224,1330235220,1330235215,1330235190,1330235184,1330235179,1330235175,1330235094,1330235087,1330235072,1330235017,1330235010,1330235004,1330234999,1330234967,1330234965,1330234960,1330234936,1330234930,1330234924,1330234880,1330234878,1330234855,1330234854,1330234851,1330234849,1330234846) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1330234846 begin to download photo : 1330234924 begin to download photo : 1330235004 begin to download photo : 1330235179 begin to download photo : 1330235274 download finish for photo 1330234846 begin to download photo : 1330234849 download finish for photo 1330235179 begin to download photo : 1330235184 download finish for photo 1330235004 begin to download photo : 1330235010 download finish for photo 1330235274 begin to download photo : 1330235313 download finish for photo 1330234924 begin to download photo : 1330234930 download finish for photo 1330234849 begin to download photo : 1330234851 download finish for photo 1330235010 begin to download photo : 1330235017 download finish for photo 1330234930 begin to download photo : 1330234936 download finish for photo 1330235184 begin to download photo : 1330235190 download finish for photo 1330235313 download finish for photo 1330234851 begin to download photo : 1330234854 download finish for photo 1330235017 begin to download photo : 1330235072 download finish for photo 1330234936 begin to download photo : 1330234960 download finish for photo 1330235190 begin to download photo : 1330235215 download finish for photo 1330234854 begin to download photo : 1330234855 download finish for photo 1330234960 begin to download photo : 1330234965 download finish for photo 1330235072 begin to download photo : 1330235087 download finish for photo 1330235215 begin to download photo : 1330235220 download finish for photo 1330234855 begin to download photo : 1330234878 download finish for photo 1330235087 begin to download photo : 1330235094 download finish for photo 1330234965 begin to download photo : 1330234967 download finish for photo 1330235220 begin to download photo : 1330235224 download finish for photo 1330235094 begin to download photo : 1330235175 download finish for photo 1330234967 begin to download photo : 1330234999 download finish for photo 1330234878 begin to download photo : 1330234880 download finish for photo 1330235224 begin to download photo : 1330235272 download finish for photo 1330234999 download finish for photo 1330235175 download finish for photo 1330234880 download finish for photo 1330235272 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette197812281739220631/ imagette197812301739220631/ imagette197812341739220631/ imagette197812351739220631/ length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P19780895_10-02-2025_21_50_31.pdf 19781228 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=19781228 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812281739220631 19781230 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=19781230 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812301739220631 19781234 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=19781234 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812341739220631 19781235 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=19781235 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812351739220631 19781236 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=19781236 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335980756: '1739059033_412533_1330235190_55382f084b8c187341d3a62921413766_rle_crop_3664032111_0.png', 1335980757: '1739059033_412533_1330235094_fdb7a4845df6aa7ad58865c37b799825_rle_crop_3664032351_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/63d2babc0c23683101f91499d6218fba_3271261.png change filename to text .imagette197812361739220631/ imagette197812361739220631/1739059033_412533_1330235094_fdb7a4845df6aa7ad58865c37b799825_rle_crop_3664032351_0.png.png imagette197812361739220631/1739059033_412533_1330235190_55382f084b8c187341d3a62921413766_rle_crop_3664032111_0.png.png imagette197812381739220631/ imagette197812391739220631/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/63d2babc0c23683101f91499d6218fba_15135339.png imagette197812361739220631 19781238 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=19781238 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812381739220631 19781239 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=19781239 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812391739220631 19781232 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=19781232 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335980805: '1739059033_412533_1330235220_f0b97a82f7aa42d77ce0a2be8dad3690_rle_crop_3664031932_0.png', 1335980806: '1739059033_412533_1330235190_55382f084b8c187341d3a62921413766_rle_crop_3664032114_0.png', 1335980807: '1739059033_412533_1330235179_72a820cf864eb485137533c5339cf17a_rle_crop_3664032208_0.png', 1335980808: '1739059033_412533_1330235175_3fcb18534fce9ffd5baad1cb7db7a8fe_rle_crop_3664032265_0.png', 1335980809: '1739059033_412533_1330235094_fdb7a4845df6aa7ad58865c37b799825_rle_crop_3664032354_0.png', 1335980810: '1739059033_412533_1330235072_47902e4e84e3c9ea00a8fc24e35eb8ba_rle_crop_3664032495_0.png', 1335980811: '1739059033_412533_1330235004_1178741ac774226398a96cc776ea55ec_rle_crop_3664032619_0.png', 1335980812: '1739059033_412533_1330234967_f0fcf910195e57d0c45ad95bd1f42efc_rle_crop_3664032683_0.png', 1335985141: '1739060193_466936_1330234930_7efb682cf4ddd6cfbc2b822d0dfb2126_rle_crop_3664059820_0.png', 1335985142: '1739060193_466936_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6_rle_crop_3664059829_0.png', 1335985143: '1739060193_466936_1330234878_2eb03d3ac0f38051ed086f0b9200a010_rle_crop_3664061333_0.png', 1335985144: '1739060193_466936_1330234855_20f465fa0661c3bdd790965f2a53da1a_rle_crop_3664061342_0.png', 1335985145: '1739060193_466936_1330234851_408ad6767ded9016c5d23a825d662b6c_rle_crop_3664061360_0.png', 1335985146: '1739060193_466936_1330234849_10207ec210aaa604585cf77b413743b9_rle_crop_3664061368_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/5e6380818b38101d9ccd8348d4de8ffb_92477301.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/1b6c767343daac4147df9f47ef6d0620_11377164.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/13b1febdb86260229f61a0e81ffb8d35_34488159.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/fa06d6b5ccfc92de370c0a9b1719a57c_16060566.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/1b6c767343daac4147df9f47ef6d0620_83458296.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/c67299eab295d2eacb1faaa5ba7ec855_94411485.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/829850c7bf721f3c1ff8798146a4a5d8_47468234.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/640d1192c524ed809583ed6cfe701603_77914824.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/2457b7c93a8e9acf919ca538452a9891_24996954.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/586eb72db2016ce0cbfd2100c22806a9_97985706.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/2457b7c93a8e9acf919ca538452a9891_68793513.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/1909cb01d28850ac1838f7404a827e5d_17774891.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/f23ca93c638c642f984ff8ff76f17976_74936476.png change filename to text .imagette197812321739220631/ imagette197812321739220631/1739060193_466936_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6_rle_crop_3664059829_0.png.png imagette197812321739220631/1739059033_412533_1330235220_f0b97a82f7aa42d77ce0a2be8dad3690_rle_crop_3664031932_0.png.png imagette197812321739220631/1739059033_412533_1330235179_72a820cf864eb485137533c5339cf17a_rle_crop_3664032208_0.png.png imagette197812321739220631/1739059033_412533_1330235175_3fcb18534fce9ffd5baad1cb7db7a8fe_rle_crop_3664032265_0.png.png imagette197812321739220631/1739060193_466936_1330234930_7efb682cf4ddd6cfbc2b822d0dfb2126_rle_crop_3664059820_0.png.png imagette197812321739220631/1739059033_412533_1330235004_1178741ac774226398a96cc776ea55ec_rle_crop_3664032619_0.png.png imagette197812321739220631/1739060193_466936_1330234851_408ad6767ded9016c5d23a825d662b6c_rle_crop_3664061360_0.png.png imagette197812321739220631/1739059033_412533_1330235190_55382f084b8c187341d3a62921413766_rle_crop_3664032114_0.png.png imagette197812321739220631/1739060193_466936_1330234849_10207ec210aaa604585cf77b413743b9_rle_crop_3664061368_0.png.png imagette197812321739220631/1739060193_466936_1330234855_20f465fa0661c3bdd790965f2a53da1a_rle_crop_3664061342_0.png.png imagette197812321739220631/1739060193_466936_1330234878_2eb03d3ac0f38051ed086f0b9200a010_rle_crop_3664061333_0.png.png imagette197812321739220631/1739059033_412533_1330234967_f0fcf910195e57d0c45ad95bd1f42efc_rle_crop_3664032683_0.png.png imagette197812321739220631/1739059033_412533_1330235072_47902e4e84e3c9ea00a8fc24e35eb8ba_rle_crop_3664032495_0.png.png imagette197812321739220631/1739059033_412533_1330235094_fdb7a4845df6aa7ad58865c37b799825_rle_crop_3664032354_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/c8a224bbb3203d9cf613641a5632443a_88899065.png imagette197812321739220631 19781233 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=19781233 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335985131: '1739060193_466936_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6_rle_crop_3664059827_0.png', 1335980730: '1739059033_412533_1330234999_b466cb1e3fc3fddcedba1eb758daf72f_rle_crop_3664032677_0.png', 1335980731: '1739059033_412533_1330234967_f0fcf910195e57d0c45ad95bd1f42efc_rle_crop_3664032686_0.png', 1335980732: '1739059033_412533_1330234965_d4b8608c3ba015c86d9676cad6fc7ea1_rle_crop_3664032742_0.png', 1335980734: '1739059033_412533_1330234960_aad87cb3407eb7314e5510170d653c3f_rle_crop_3664032771_0.png', 1335980736: '1739059033_412533_1330234960_aad87cb3407eb7314e5510170d653c3f_rle_crop_3664032766_0.png', 1335985128: '1739060193_466936_1330234936_5eb2078ea316aeda7d9bcb91c38adc53_rle_crop_3664059813_0.png', 1335985129: '1739060193_466936_1330234930_7efb682cf4ddd6cfbc2b822d0dfb2126_rle_crop_3664059824_0.png', 1335985130: '1739060193_466936_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6_rle_crop_3664059833_0.png', 1335980729: '1739059033_412533_1330235004_1178741ac774226398a96cc776ea55ec_rle_crop_3664032621_0.png', 1335985132: '1739060193_466936_1330234880_61cf9a1ada523ea7627590ec5a2388cc_rle_crop_3664061326_0.png', 1335985133: '1739060193_466936_1330234878_2eb03d3ac0f38051ed086f0b9200a010_rle_crop_3664061337_0.png', 1335985134: '1739060193_466936_1330234855_20f465fa0661c3bdd790965f2a53da1a_rle_crop_3664061345_0.png', 1335985135: '1739060193_466936_1330234854_d52748cb0d4ac0c9a2f43f267db14405_rle_crop_3664061354_0.png', 1335985136: '1739060193_466936_1330234851_408ad6767ded9016c5d23a825d662b6c_rle_crop_3664061363_0.png', 1335985137: '1739060193_466936_1330234849_10207ec210aaa604585cf77b413743b9_rle_crop_3664061372_0.png', 1335985138: '1739060193_466936_1330234846_99905df453217ab0c2833d411d1057b8_rle_crop_3664061380_0.png', 1335980721: '1739059033_412533_1330235179_72a820cf864eb485137533c5339cf17a_rle_crop_3664032211_0.png', 1335980713: '1739059033_412533_1330235274_df5c733a753afc21c52280768066986d_rle_crop_3664031774_0.png', 1335980714: '1739059033_412533_1330235272_60ff216f1b54ea052fc057149f9fc0c9_rle_crop_3664031818_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/d638252a6b4064d77f7002a339f0a0d2_29202347.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/dd61123cd844c5205851316641712ef0_89301863.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/599528de1593b47e3af3428a17137fe6_38253785.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/4fff466e5f7ad5e9b541b45e5930b9d1_39593321.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/c81215db96dda10e9339a3f1ad115162_21413493.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/c954d295c7490e4287fd7c220c8b3af0_99855990.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/888dd3f82d224b857b9f9fc45526af18_48337632.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/a65121b365ffb480929439ead4b0c6ad_90746246.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/1c6334f611f5da4d5edbcf5a7d249bea_78451390.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/f9e858ea853e6eef62bd884056fa0b67_94184831.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/888dd3f82d224b857b9f9fc45526af18_40070682.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/a65121b365ffb480929439ead4b0c6ad_53040506.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/fb455d9a8ef473a104c7c47a6724ec02_2262036.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/6fd8de6dfa62b612ca1ba128fec7496d_70421918.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/8bbd6ec3095f473267751697aec85fcf_66352091.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/bbebc92adca2cba3a0c4d243cf26cf74_30108877.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/ae34aa4b1aedeecd2c40c5918c353c11_50618142.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/1f1204db3c2e2e534690bbee5d4f15a6_53448887.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/0a6100468b03d5d7048fb83924aa1ae0_34090784.png change filename to text .imagette197812331739220633/ imagette197812331739220633/1739060193_466936_1330234851_408ad6767ded9016c5d23a825d662b6c_rle_crop_3664061363_0.png.png imagette197812331739220633/1739059033_412533_1330235179_72a820cf864eb485137533c5339cf17a_rle_crop_3664032211_0.png.png imagette197812331739220633/1739060193_466936_1330234849_10207ec210aaa604585cf77b413743b9_rle_crop_3664061372_0.png.png imagette197812331739220633/1739059033_412533_1330234967_f0fcf910195e57d0c45ad95bd1f42efc_rle_crop_3664032686_0.png.png imagette197812331739220633/1739060193_466936_1330234855_20f465fa0661c3bdd790965f2a53da1a_rle_crop_3664061345_0.png.png imagette197812331739220633/1739059033_412533_1330235274_df5c733a753afc21c52280768066986d_rle_crop_3664031774_0.png.png imagette197812331739220633/1739060193_466936_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6_rle_crop_3664059833_0.png.png imagette197812331739220633/1739060193_466936_1330234878_2eb03d3ac0f38051ed086f0b9200a010_rle_crop_3664061337_0.png.png imagette197812331739220633/1739060193_466936_1330234854_d52748cb0d4ac0c9a2f43f267db14405_rle_crop_3664061354_0.png.png imagette197812331739220633/1739059033_412533_1330234965_d4b8608c3ba015c86d9676cad6fc7ea1_rle_crop_3664032742_0.png.png imagette197812331739220633/1739059033_412533_1330234999_b466cb1e3fc3fddcedba1eb758daf72f_rle_crop_3664032677_0.png.png imagette197812331739220633/1739059033_412533_1330235004_1178741ac774226398a96cc776ea55ec_rle_crop_3664032621_0.png.png imagette197812331739220633/1739060193_466936_1330234880_61cf9a1ada523ea7627590ec5a2388cc_rle_crop_3664061326_0.png.png imagette197812331739220633/1739059033_412533_1330235272_60ff216f1b54ea052fc057149f9fc0c9_rle_crop_3664031818_0.png.png imagette197812331739220633/1739060193_466936_1330234846_99905df453217ab0c2833d411d1057b8_rle_crop_3664061380_0.png.png imagette197812331739220633/1739059033_412533_1330234960_aad87cb3407eb7314e5510170d653c3f_rle_crop_3664032771_0.png.png imagette197812331739220633/1739060193_466936_1330234930_7efb682cf4ddd6cfbc2b822d0dfb2126_rle_crop_3664059824_0.png.png imagette197812331739220633/1739059033_412533_1330234960_aad87cb3407eb7314e5510170d653c3f_rle_crop_3664032766_0.png.png imagette197812331739220633/1739060193_466936_1330234936_5eb2078ea316aeda7d9bcb91c38adc53_rle_crop_3664059813_0.png.png imagette197812331739220633/1739060193_466936_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6_rle_crop_3664059827_0.png.png imagette197812371739220635/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/9/32d4aed18ce19ea5236a2d1e88a1e1ab_24993793.png imagette197812331739220633 19781237 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=19781237 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette197812371739220635 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19780895 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/19781240,19781241,19781242,19781243,19781244,19781245,19781246,19781247,19781248,19781249,19781250,19781251?tags=metal,papier,plastique,environnement,Carton_gris,Teint_Dans_La_Masse,cartonnette,flou,autre_refus,Carton_brun,mal_croppe,kraft your option no_mail is active, we will not send the real mail to your client args[1330235313] : ('0.060084694781915145',) no score found for photo 1330235313 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235274] : ('0.060084694781915145',) no score found for photo 1330235274 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235272] : ('0.060084694781915145',) no score found for photo 1330235272 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235224] : ('0.060084694781915145',) no score found for photo 1330235224 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235220] : ('0.060084694781915145',) no score found for photo 1330235220 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235215] : ('0.060084694781915145',) no score found for photo 1330235215 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235190] : ('0.060084694781915145',) no score found for photo 1330235190 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235184] : ('0.060084694781915145',) no score found for photo 1330235184 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235179] : ('0.060084694781915145',) no score found for photo 1330235179 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235175] : ('0.060084694781915145',) no score found for photo 1330235175 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235094] : ('0.060084694781915145',) no score found for photo 1330235094 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235087] : ('0.060084694781915145',) no score found for photo 1330235087 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235072] : ('0.060084694781915145',) no score found for photo 1330235072 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235017] : ('0.060084694781915145',) no score found for photo 1330235017 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235010] : ('0.060084694781915145',) no score found for photo 1330235010 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330235004] : ('0.060084694781915145',) no score found for photo 1330235004 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234999] : ('0.060084694781915145',) no score found for photo 1330234999 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234967] : ('0.060084694781915145',) no score found for photo 1330234967 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234965] : ('0.060084694781915145',) no score found for photo 1330234965 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234960] : ('0.060084694781915145',) no score found for photo 1330234960 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234936] : ('0.060084694781915145',) no score found for photo 1330234936 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234930] : ('0.060084694781915145',) no score found for photo 1330234930 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234924] : ('0.060084694781915145',) no score found for photo 1330234924 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234880] : ('0.060084694781915145',) no score found for photo 1330234880 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234878] : ('0.060084694781915145',) no score found for photo 1330234878 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234855] : ('0.060084694781915145',) no score found for photo 1330234855 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234854] : ('0.060084694781915145',) no score found for photo 1330234854 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234851] : ('0.060084694781915145',) no score found for photo 1330234851 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234849] : ('0.060084694781915145',) no score found for photo 1330234849 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com args[1330234846] : ('0.060084694781915145',) no score found for photo 1330234846 apple ('0.060084694781915145',) We are sending mail with results at report@fotonower.com refus_total : 0.060084694781915145 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=19780895 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_P19780895_10-02-2025_21_50_31.pdf results_Auto_P19780895_10-02-2025_21_50_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780895_10-02-2025_21_50_31.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','19780895','results_Auto_P19780895_10-02-2025_21_50_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780895_10-02-2025_21_50_31.pdf','pdf','','0.35','0.060084694781915145') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19780895]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] map_info['map_portfolio_photo'] : {19780895: [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846]} final : False mtd_id 4302 list_pids : [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] 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, '2572360') ('4302', '19780895', '1330235313', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360') 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', '19780895', '1330235313', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360')] time used for this insertion : 0.01565241813659668 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.803859233856201 time spend to save output : 0.016044139862060547 total time spend for step 4 : 6.819903373718262 step5:split_time_score Mon Feb 10 21:50:37 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 : ['19780895'] 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 : [('19780895',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19780895) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1330235274: {'path': 'temp/1739220630_4193133_1330235274_df5c733a753afc21c52280768066986d.jpg', 'extension': 'jpg'}, 1330235313: {'path': 'temp/1739220630_4193133_1330235313_b734856bcb0340b2cb0b210ae6ada133.jpg', 'extension': 'jpg'}, 1330234924: {'path': 'temp/1739220630_4193133_1330234924_26f152ba9aa7e26a04e0c1267c5aa0c6.jpg', 'extension': 'jpg'}, 1330234930: {'path': 'temp/1739220630_4193133_1330234930_7efb682cf4ddd6cfbc2b822d0dfb2126.jpg', 'extension': 'jpg'}, 1330234936: {'path': 'temp/1739220630_4193133_1330234936_5eb2078ea316aeda7d9bcb91c38adc53.jpg', 'extension': 'jpg'}, 1330234960: {'path': 'temp/1739220630_4193133_1330234960_aad87cb3407eb7314e5510170d653c3f.jpg', 'extension': 'jpg'}, 1330234965: {'path': 'temp/1739220630_4193133_1330234965_d4b8608c3ba015c86d9676cad6fc7ea1.jpg', 'extension': 'jpg'}, 1330234967: {'path': 'temp/1739220630_4193133_1330234967_f0fcf910195e57d0c45ad95bd1f42efc.jpg', 'extension': 'jpg'}, 1330234999: {'path': 'temp/1739220630_4193133_1330234999_b466cb1e3fc3fddcedba1eb758daf72f.jpg', 'extension': 'jpg'}, 1330235004: {'path': 'temp/1739220630_4193133_1330235004_1178741ac774226398a96cc776ea55ec.jpg', 'extension': 'jpg'}, 1330235010: {'path': 'temp/1739220630_4193133_1330235010_a1843ef0c554ebc50e0f7781254c6819.jpg', 'extension': 'jpg'}, 1330235017: {'path': 'temp/1739220630_4193133_1330235017_6b6813a77a02351fb9e87d222a159f0d.jpg', 'extension': 'jpg'}, 1330235072: {'path': 'temp/1739220630_4193133_1330235072_47902e4e84e3c9ea00a8fc24e35eb8ba.jpg', 'extension': 'jpg'}, 1330235087: {'path': 'temp/1739220630_4193133_1330235087_0deeeb3e8a2233d6a23bb0899b2c41b2.jpg', 'extension': 'jpg'}, 1330235094: {'path': 'temp/1739220630_4193133_1330235094_fdb7a4845df6aa7ad58865c37b799825.jpg', 'extension': 'jpg'}, 1330235175: {'path': 'temp/1739220630_4193133_1330235175_3fcb18534fce9ffd5baad1cb7db7a8fe.jpg', 'extension': 'jpg'}, 1330234846: {'path': 'temp/1739220630_4193133_1330234846_99905df453217ab0c2833d411d1057b8.jpg', 'extension': 'jpg'}, 1330234849: {'path': 'temp/1739220630_4193133_1330234849_10207ec210aaa604585cf77b413743b9.jpg', 'extension': 'jpg'}, 1330234851: {'path': 'temp/1739220630_4193133_1330234851_408ad6767ded9016c5d23a825d662b6c.jpg', 'extension': 'jpg'}, 1330234854: {'path': 'temp/1739220630_4193133_1330234854_d52748cb0d4ac0c9a2f43f267db14405.jpg', 'extension': 'jpg'}, 1330234855: {'path': 'temp/1739220630_4193133_1330234855_20f465fa0661c3bdd790965f2a53da1a.jpg', 'extension': 'jpg'}, 1330234878: {'path': 'temp/1739220630_4193133_1330234878_2eb03d3ac0f38051ed086f0b9200a010.jpg', 'extension': 'jpg'}, 1330234880: {'path': 'temp/1739220630_4193133_1330234880_61cf9a1ada523ea7627590ec5a2388cc.jpg', 'extension': 'jpg'}, 1330235179: {'path': 'temp/1739220630_4193133_1330235179_72a820cf864eb485137533c5339cf17a.jpg', 'extension': 'jpg'}, 1330235184: {'path': 'temp/1739220630_4193133_1330235184_52350aafd78a77b2330c07ffeac990e9.jpg', 'extension': 'jpg'}, 1330235190: {'path': 'temp/1739220630_4193133_1330235190_55382f084b8c187341d3a62921413766.jpg', 'extension': 'jpg'}, 1330235215: {'path': 'temp/1739220630_4193133_1330235215_e2f0a888c515a4f9f14fac7aecfee189.jpg', 'extension': 'jpg'}, 1330235220: {'path': 'temp/1739220630_4193133_1330235220_f0b97a82f7aa42d77ce0a2be8dad3690.jpg', 'extension': 'jpg'}, 1330235224: {'path': 'temp/1739220630_4193133_1330235224_65e05f420f6bd1f73fbdb82c37f0f91a.jpg', 'extension': 'jpg'}, 1330235272: {'path': 'temp/1739220630_4193133_1330235272_60ff216f1b54ea052fc057149f9fc0c9.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 = 19780895; (('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 = 19780895 group by h (('12', 30),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=19780895 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 (19780895) 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 (19780895) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20012025 19780895 Nombre de photos uploadées : 30 / 23040 (0%) 20012025 19780895 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 20012025 19780895 Nombre de photos taguées (volume) : 0 / 30 (0%) [{'photo_id': 1330234855, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/20/20f465fa0661c3bdd790965f2a53da1a.jpg', 'username': None, 'uploaded_at': 1737372902, 'text': 'image_20012025_12_30_05_10468.jpg'}, {'photo_id': 1330234854, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/20/d52748cb0d4ac0c9a2f43f267db14405.jpg', 'username': None, 'uploaded_at': 1737372902, 'text': 'image_20012025_12_30_55_10433.jpg'}, {'photo_id': 1330234851, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/20/408ad6767ded9016c5d23a825d662b6c.jpg', 'username': None, 'uploaded_at': 1737372902, 'text': 'image_20012025_12_31_15_10428.jpg'}, {'photo_id': 1330234849, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/20/10207ec210aaa604585cf77b413743b9.jpg', 'username': None, 'uploaded_at': 1737372902, 'text': 'image_20012025_12_32_14_9394.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014903545379638672 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 19780895, '2025-01-20' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1540685,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02550506591796875 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= 1540685 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19751035, 'dashboard_result_id': 8418207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751035_21-01-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751047, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19751252, 'dashboard_result_id': 8418208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751252_21-01-2025_05_35_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751280, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19751671, 'dashboard_result_id': 8418209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751671_21-01-2025_05_36_19.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751772, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19752417, 'dashboard_result_id': 8418210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752417_21-01-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19752452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19752453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19752454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19752455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19752456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19752457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19752458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19752459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19752460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19752461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19752462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19752463, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19752934, 'dashboard_result_id': 8418211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752934_21-01-2025_05_37_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19752938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19752939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19752940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19752941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19752942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19752943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19752944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19752945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19752946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19752947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19752948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19752949, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19753416, 'dashboard_result_id': 8418212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19753416_21-01-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19753459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19753460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19753461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19753462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19753463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19753464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19753465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19753466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19753467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19753468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19753469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19753470, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19754344, 'dashboard_result_id': 8418213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19754344_21-01-2025_05_39_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19754416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19754417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19754418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19754419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19754420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19754421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19754422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19754423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19754424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19754425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19754426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19754427, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19755029, 'dashboard_result_id': 8418214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755029_21-01-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19755085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19755086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19755087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19755088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19755089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19755090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19755091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19755092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19755093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19755094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19755095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19755096, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19755922, 'dashboard_result_id': 8418215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755922_21-01-2025_07_01_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19755951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19755952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19755953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19755954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19755955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19755956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19755957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19755958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19755959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19755960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19755961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19755962, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780893, 'dashboard_result_id': 8418216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780893_10-02-2025_21_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781267, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780894, 'dashboard_result_id': 8418217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780894_10-02-2025_21_50_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781291, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780895, 'dashboard_result_id': 8418218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780895_21-01-2025_05_42_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781239, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780896, 'dashboard_result_id': 8418219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780896_21-01-2025_05_42_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19781204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781215, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780897, 'dashboard_result_id': 8418220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780897_21-01-2025_05_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781190, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780898, 'dashboard_result_id': 8418221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780898_21-01-2025_05_44_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781111, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781118, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780899, 'dashboard_result_id': 8418222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780899_21-01-2025_05_45_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781142, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780900, 'dashboard_result_id': 8418223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780900_21-01-2025_05_46_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781161, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781166, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780901, 'dashboard_result_id': 8418224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780901_21-01-2025_05_48_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19781083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781094, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780902, 'dashboard_result_id': 8418225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780902_21-01-2025_05_48_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19781058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781069, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19780903, 'dashboard_result_id': 8418226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780903_21-01-2025_05_49_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781045, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19756597, 'dashboard_result_id': 8418227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756597_21-01-2025_05_49_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19756687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756698, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19756600, 'dashboard_result_id': 8418228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756600_21-01-2025_05_50_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756653, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19756603, 'dashboard_result_id': 8418229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756603_21-01-2025_05_50_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756628, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19756734, 'dashboard_result_id': 8418230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756734_21-01-2025_05_51_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756779, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19757645, 'dashboard_result_id': 8418231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19757645_21-01-2025_05_52_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19757772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19757773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19757774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19757775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19757776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19757777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19757778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19757779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19757780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19757781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19757782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19757783, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19758305, 'dashboard_result_id': 8418232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19758305_21-01-2025_05_52_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19758314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19758315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19758316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19758317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19758318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19758319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19758320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19758321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19758322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19758323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19758325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19758326, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19759105, 'dashboard_result_id': 8418233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759105_21-01-2025_05_53_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19759114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19759115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19759116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19759117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19759118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19759119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19759120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19759121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19759122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19759123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19759124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19759125, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19759902, 'dashboard_result_id': 8418234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759902_21-01-2025_05_54_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19759906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19759907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19759908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19759909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19759910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19759911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19759912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19759913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19759914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19759915, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19759916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19759917, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19760613, 'dashboard_result_id': 8418235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760613_21-01-2025_05_55_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19760618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19760619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19760620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19760621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19760622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19760623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19760624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19760625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19760626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19760627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19760628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19760629, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19760955, 'dashboard_result_id': 8418236, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760955_21-01-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19761046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19761047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19761048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19761049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19761050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19761051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19761052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19761053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19761054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19761055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19761056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19761057, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19761702, 'dashboard_result_id': 8418237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19761702_21-01-2025_05_56_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19761731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19761732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19761733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19761734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19761735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19761736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19761737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19761738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19761739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19761740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19761741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19761742, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19763021, 'dashboard_result_id': 8418238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763021_21-01-2025_05_57_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19763028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19763029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19763030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19763031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19763032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19763033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19763034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19763035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19763036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19763037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19763038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19763039, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19763653, 'dashboard_result_id': 8418239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763653_21-01-2025_05_58_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19763660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19763661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19763662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19763663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19763664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19763665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19763666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19763667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19763668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19763669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19763670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19763671, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19764353, 'dashboard_result_id': 8418240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19764353_21-01-2025_05_58_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19764404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19764405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19764406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19764407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19764408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19764409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19764410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19764411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19764412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19764413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19764414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19764415, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19765090, 'dashboard_result_id': 8418241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765090_21-01-2025_05_59_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19765139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19765140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19765141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19765142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19765143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19765144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19765145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19765146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19765147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19765148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19765149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19765150, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19765770, 'dashboard_result_id': 8418242, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765770_21-01-2025_06_00_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19765807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19765808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19765809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19765810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19765811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19765812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19765813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19765814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19765815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19765816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19765817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19765818, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19766453, 'dashboard_result_id': 8418243, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19766453_21-01-2025_06_00_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19766487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19766488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19766489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19766490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19766491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19766492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19766493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19766494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19766495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19766496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19766497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19766498, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19767305, 'dashboard_result_id': 8418244, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19767305_21-01-2025_06_01_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19767314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19767315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19767316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19767317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19767318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19767319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19767320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19767321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19767322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19767323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19767324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19767325, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19768081, 'dashboard_result_id': 8418245, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768081_21-01-2025_06_02_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19768089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19768090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19768091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19768092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19768093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19768094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19768095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19768096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19768097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19768098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19768099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19768100, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19768631, 'dashboard_result_id': 8418246, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768631_21-01-2025_06_02_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19768663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19768664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19768665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19768666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19768667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19768668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19768669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19768670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19768671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19768672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19768673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19768674, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19769472, 'dashboard_result_id': 8418247, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19769472_21-01-2025_06_03_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19769502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19769503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19769504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19769505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19769506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19769507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19769508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19769509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19769510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19769511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19769512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19769513, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19770178, 'dashboard_result_id': 8418248, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19770178_21-01-2025_06_04_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19770186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19770187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19770188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19770189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19770190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19770191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19770192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19770193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19770194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19770195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19770196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19770197, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19771210, 'dashboard_result_id': 8418249, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771210_21-01-2025_06_04_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19771217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19771219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19771221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19771223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19771225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19771227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19771229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19771231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19771234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19771236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19771238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19771240, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19771599, 'dashboard_result_id': 8418250, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771599_21-01-2025_06_06_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19771604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19771605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19771606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19771607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19771608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19771609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19771610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19771611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19771612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19771613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19771614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19771615, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19772288, 'dashboard_result_id': 8418251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772288_21-01-2025_06_06_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19772377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19772378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19772379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19772380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19772381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19772382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19772383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19772384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19772385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19772386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19772387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19772388, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19772776, 'dashboard_result_id': 8418252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772776_21-01-2025_06_08_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19772812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19772813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19772814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19772815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19772816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19772817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19772818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19772819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19772820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19772821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19772822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19772823, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19773125, 'dashboard_result_id': 8418253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773125_21-01-2025_06_08_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19773133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19773134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19773135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19773136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19773137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19773138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19773139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19773140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19773141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19773142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19773143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19773144, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19773661, 'dashboard_result_id': 8418254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773661_21-01-2025_06_10_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19773668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19773669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19773670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19773671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19773672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19773673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19773674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19773675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19773676, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19773677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19773678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19773679, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19774308, 'dashboard_result_id': 8418255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774308_21-01-2025_06_10_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19774313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19774314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19774315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19774316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19774317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19774318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19774319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19774320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19774321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19774322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19774323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19774324, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19774898, 'dashboard_result_id': 8418256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774898_21-01-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19774901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19774902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19774903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19774904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19774905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19774906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19774907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19774908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19774909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19774910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19774911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19774912, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19775223, 'dashboard_result_id': 8418257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775223_21-01-2025_06_12_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19775230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19775231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19775232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19775233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19775234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19775235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19775236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19775237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19775238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19775239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19775240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19775241, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19775641, 'dashboard_result_id': 8418258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775641_21-01-2025_06_12_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19775672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19775673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19775674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19775675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19775676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19775677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19775678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19775679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19775680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19775681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19775682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19775683, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19776262, 'dashboard_result_id': 8418259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776262_21-01-2025_06_13_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19776295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19776296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19776297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19776298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19776299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19776300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19776301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19776302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19776303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19776304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19776305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19776306, 'pht': 3726}}"}, {'dashboat_entry_day': 1540685, 'dashboard_run_id': 1552386, 'mtr_portfolio_id': 19776986, 'dashboard_result_id': 8418260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776986_21-01-2025_06_14_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19777026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19777027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19777028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19777029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19777030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19777031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19777032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19777033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19777034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19777035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19777036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19777037, '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 = 19751035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499389, 'mtr_portfolio_id': 19751035, 'created_at': datetime.datetime(2025, 1, 21, 5, 34, 33), 'result': '0.0752991034549938', 'result_long': None, 'result_double': None}] Qualite : 0.0752991034549938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19751035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751035_21-01-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19751035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751035_21-01-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751047, 'pht': 3726}}" where mtr_portfolio_id = 19751035 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19751035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418207, 0.0752991034549938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751035_21-01-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751047, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19751252 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499390, 'mtr_portfolio_id': 19751252, 'created_at': datetime.datetime(2025, 1, 21, 5, 35, 34), 'result': '0.07611914720959753', 'result_long': None, 'result_double': None}] Qualite : 0.07611914720959753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19751252 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751252_21-01-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19751252 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751252_21-01-2025_05_35_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751280, 'pht': 3726}}" where mtr_portfolio_id = 19751252 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19751252 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418208, 0.07611914720959753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751252_21-01-2025_05_35_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19751671 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499391, 'mtr_portfolio_id': 19751671, 'created_at': datetime.datetime(2025, 1, 21, 5, 36, 16), 'result': '0.0741249620873565', 'result_long': None, 'result_double': None}] Qualite : 0.0741249620873565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19751671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751671_21-01-2025_05_36_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19751671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751671_21-01-2025_05_36_19.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751772, 'pht': 3726}}" where mtr_portfolio_id = 19751671 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19751671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418209, 0.0741249620873565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19751671_21-01-2025_05_36_19.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19751749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19751750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19751751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19751752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19751753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19751754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19751756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19751762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19751766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19751770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19751771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19751772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19752417 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499392, 'mtr_portfolio_id': 19752417, 'created_at': datetime.datetime(2025, 1, 21, 5, 36, 59), 'result': '0.061702225989042556', 'result_long': None, 'result_double': None}] Qualite : 0.061702225989042556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19752417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752417_21-01-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19752417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752417_21-01-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19752452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19752453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19752454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19752455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19752456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19752457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19752458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19752459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19752460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19752461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19752462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19752463, 'pht': 3726}}" where mtr_portfolio_id = 19752417 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19752417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418210, 0.061702225989042556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752417_21-01-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19752452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19752453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19752454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19752455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19752456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19752457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19752458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19752459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19752460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19752461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19752462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19752463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19752934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499393, 'mtr_portfolio_id': 19752934, 'created_at': datetime.datetime(2025, 1, 21, 5, 37, 33), 'result': '0.08174814323156056', 'result_long': None, 'result_double': None}] Qualite : 0.08174814323156056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19752934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752934_21-01-2025_05_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19752934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752934_21-01-2025_05_37_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19752938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19752939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19752940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19752941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19752942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19752943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19752944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19752945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19752946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19752947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19752948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19752949, 'pht': 3726}}" where mtr_portfolio_id = 19752934 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19752934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418211, 0.08174814323156056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19752934_21-01-2025_05_37_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19752938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19752939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19752940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19752941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19752942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19752943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19752944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19752945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19752946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19752947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19752948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19752949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19753416 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499394, 'mtr_portfolio_id': 19753416, 'created_at': datetime.datetime(2025, 1, 21, 5, 38, 1), 'result': '0.0684291568814865', 'result_long': None, 'result_double': None}] Qualite : 0.0684291568814865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19753416 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19753416_21-01-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19753416 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19753416_21-01-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19753459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19753460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19753461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19753462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19753463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19753464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19753465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19753466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19753467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19753468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19753469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19753470, 'pht': 3726}}" where mtr_portfolio_id = 19753416 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19753416 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418212, 0.0684291568814865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19753416_21-01-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19753459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19753460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19753461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19753462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19753463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19753464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19753465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19753466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19753467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19753468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19753469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19753470, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19754344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499395, 'mtr_portfolio_id': 19754344, 'created_at': datetime.datetime(2025, 1, 21, 5, 38, 59), 'result': '0.05653295903272673', 'result_long': None, 'result_double': None}] Qualite : 0.05653295903272673 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19754344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19754344_21-01-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19754344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19754344_21-01-2025_05_39_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19754416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19754417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19754418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19754419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19754420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19754421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19754422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19754423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19754424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19754425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19754426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19754427, 'pht': 3726}}" where mtr_portfolio_id = 19754344 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19754344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418213, 0.05653295903272673, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19754344_21-01-2025_05_39_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19754416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19754417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19754418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19754419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19754420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19754421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19754422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19754423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19754424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19754425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19754426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19754427, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19755029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499396, 'mtr_portfolio_id': 19755029, 'created_at': datetime.datetime(2025, 1, 21, 5, 39, 29), 'result': '0.07467872325695873', 'result_long': None, 'result_double': None}] Qualite : 0.07467872325695873 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19755029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755029_21-01-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19755029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755029_21-01-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19755085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19755086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19755087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19755088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19755089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19755090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19755091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19755092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19755093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19755094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19755095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19755096, 'pht': 3726}}" where mtr_portfolio_id = 19755029 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19755029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418214, 0.07467872325695873, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755029_21-01-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19755085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19755086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19755087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19755088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19755089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19755090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19755091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19755092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19755093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19755094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19755095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19755096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19755922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499397, 'mtr_portfolio_id': 19755922, 'created_at': datetime.datetime(2025, 1, 21, 7, 1), 'result': '0.05076164338165012', 'result_long': None, 'result_double': None}] Qualite : 0.05076164338165012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19755922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755922_21-01-2025_07_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19755922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755922_21-01-2025_07_01_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19755951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19755952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19755953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19755954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19755955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19755956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19755957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19755958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19755959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19755960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19755961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19755962, 'pht': 3726}}" where mtr_portfolio_id = 19755922 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19755922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418215, 0.05076164338165012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19755922_21-01-2025_07_01_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19755951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19755952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19755953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19755954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19755955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19755956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19755957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19755958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19755959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19755960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19755961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19755962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572358, 'mtr_portfolio_id': 19780893, 'created_at': datetime.datetime(2025, 2, 10, 21, 49, 28), 'result': '0.06886566920911369', 'result_long': None, 'result_double': None}] Qualite : 0.06886566920911369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19780893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780893_10-02-2025_21_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780893_10-02-2025_21_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781267, 'pht': 3726}}" where mtr_portfolio_id = 19780893 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19780893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418216, 0.06886566920911369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780893_10-02-2025_21_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781267, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780894 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572359, 'mtr_portfolio_id': 19780894, 'created_at': datetime.datetime(2025, 2, 10, 21, 50, 4), 'result': '0.0534803063178052', 'result_long': None, 'result_double': None}] Qualite : 0.0534803063178052 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19780894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780894_10-02-2025_21_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780894 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780894_10-02-2025_21_50_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781291, 'pht': 3726}}" where mtr_portfolio_id = 19780894 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19780894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418217, 0.0534803063178052, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780894_10-02-2025_21_50_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781291, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780895 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572360, 'mtr_portfolio_id': 19780895, 'created_at': datetime.datetime(2025, 2, 10, 21, 50, 30), 'result': '0.060084694781915145', 'result_long': None, 'result_double': None}] Qualite : 0.060084694781915145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19780895 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780895_10-02-2025_21_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780895 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780895_10-02-2025_21_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781239, 'pht': 3726}}" where mtr_portfolio_id = 19780895 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19780895 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418218, 0.060084694781915145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780895_10-02-2025_21_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781236, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780896 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 = 19780896 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 = 19780896 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780896 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 = 19780896 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 = 19780896 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780896_21-01-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780896 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780896_21-01-2025_05_42_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19781204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781215, 'pht': 3726}}" where mtr_portfolio_id = 19780896 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780897 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 = 19780897 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 = 19780897 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780897 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 = 19780897 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 = 19780897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780897_21-01-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780897_21-01-2025_05_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781190, 'pht': 3726}}" where mtr_portfolio_id = 19780897 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780898 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 = 19780898 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 = 19780898 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780898 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 = 19780898 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 = 19780898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780898_21-01-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780898 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780898_21-01-2025_05_44_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781111, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781118, 'pht': 3726}}" where mtr_portfolio_id = 19780898 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780899 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 = 19780899 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 = 19780899 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780899 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 = 19780899 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 = 19780899 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780899_21-01-2025_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780899 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780899_21-01-2025_05_45_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781142, 'pht': 3726}}" where mtr_portfolio_id = 19780899 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780900 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 = 19780900 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 = 19780900 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780900 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 = 19780900 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 = 19780900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780900_21-01-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780900_21-01-2025_05_46_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19781155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781161, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781166, 'pht': 3726}}" where mtr_portfolio_id = 19780900 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780901 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 = 19780901 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 = 19780901 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780901 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 = 19780901 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 = 19780901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780901_21-01-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780901_21-01-2025_05_48_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19781083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781088, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781094, 'pht': 3726}}" where mtr_portfolio_id = 19780901 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780902 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 = 19780902 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 = 19780902 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780902 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 = 19780902 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 = 19780902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780902_21-01-2025_05_48_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780902_21-01-2025_05_48_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19781058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781069, 'pht': 3726}}" where mtr_portfolio_id = 19780902 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19780903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499408, 'mtr_portfolio_id': 19780903, 'created_at': datetime.datetime(2025, 1, 21, 5, 49, 3), 'result': '0.031955810009069927', 'result_long': None, 'result_double': None}] Qualite : 0.031955810009069927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19780903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780903_21-01-2025_05_49_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19780903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780903_21-01-2025_05_49_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781045, 'pht': 3726}}" where mtr_portfolio_id = 19780903 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19780903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418226, 0.031955810009069927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19780903_21-01-2025_05_49_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19781034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19781035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19781036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19781037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19781038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19781039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19781040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19781041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19781042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19781043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19781044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19781045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19756597 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 = 19756597 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 = 19756597 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19756597 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 = 19756597 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 = 19756597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756597_21-01-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19756597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756597_21-01-2025_05_49_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19756687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756698, 'pht': 3726}}" where mtr_portfolio_id = 19756597 and dashboard_run_id = 1552386 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19756600 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499410, 'mtr_portfolio_id': 19756600, 'created_at': datetime.datetime(2025, 1, 21, 5, 49, 59), 'result': '0.06980581709724885', 'result_long': None, 'result_double': None}] Qualite : 0.06980581709724885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19756600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756600_21-01-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19756600 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756600_21-01-2025_05_50_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756653, 'pht': 3726}}" where mtr_portfolio_id = 19756600 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19756600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418228, 0.06980581709724885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756600_21-01-2025_05_50_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756653, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19756603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499411, 'mtr_portfolio_id': 19756603, 'created_at': datetime.datetime(2025, 1, 21, 5, 50, 29), 'result': '0.04756873050693685', 'result_long': None, 'result_double': None}] Qualite : 0.04756873050693685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19756603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756603_21-01-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19756603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756603_21-01-2025_05_50_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756628, 'pht': 3726}}" where mtr_portfolio_id = 19756603 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19756603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418229, 0.04756873050693685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756603_21-01-2025_05_50_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19756734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499412, 'mtr_portfolio_id': 19756734, 'created_at': datetime.datetime(2025, 1, 21, 5, 51, 30), 'result': '0.024041642579381677', 'result_long': None, 'result_double': None}] Qualite : 0.024041642579381677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19756734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756734_21-01-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19756734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756734_21-01-2025_05_51_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756779, 'pht': 3726}}" where mtr_portfolio_id = 19756734 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19756734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418230, 0.024041642579381677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19756734_21-01-2025_05_51_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19756768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19756769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19756770, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19756771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19756772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19756773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19756774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19756775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19756776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19756777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19756778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19756779, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19757645 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499413, 'mtr_portfolio_id': 19757645, 'created_at': datetime.datetime(2025, 1, 21, 5, 52, 10), 'result': '0.04036508005442735', 'result_long': None, 'result_double': None}] Qualite : 0.04036508005442735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19757645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19757645_21-01-2025_05_52_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19757645 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19757645_21-01-2025_05_52_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19757772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19757773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19757774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19757775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19757776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19757777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19757778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19757779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19757780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19757781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19757782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19757783, 'pht': 3726}}" where mtr_portfolio_id = 19757645 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19757645 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418231, 0.04036508005442735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19757645_21-01-2025_05_52_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19757772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19757773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19757774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19757775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19757776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19757777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19757778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19757779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19757780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19757781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19757782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19757783, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19758305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499414, 'mtr_portfolio_id': 19758305, 'created_at': datetime.datetime(2025, 1, 21, 5, 52, 31), 'result': '0.03639828244923599', 'result_long': None, 'result_double': None}] Qualite : 0.03639828244923599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19758305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19758305_21-01-2025_05_52_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19758305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19758305_21-01-2025_05_52_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19758314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19758315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19758316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19758317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19758318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19758319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19758320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19758321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19758322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19758323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19758325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19758326, 'pht': 3726}}" where mtr_portfolio_id = 19758305 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19758305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418232, 0.03639828244923599, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19758305_21-01-2025_05_52_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19758314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19758315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19758316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19758317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19758318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19758319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19758320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19758321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19758322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19758323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19758325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19758326, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19759105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499415, 'mtr_portfolio_id': 19759105, 'created_at': datetime.datetime(2025, 1, 21, 5, 53, 29), 'result': '0.03652562035832716', 'result_long': None, 'result_double': None}] Qualite : 0.03652562035832716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19759105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759105_21-01-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19759105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759105_21-01-2025_05_53_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19759114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19759115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19759116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19759117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19759118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19759119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19759120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19759121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19759122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19759123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19759124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19759125, 'pht': 3726}}" where mtr_portfolio_id = 19759105 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19759105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418233, 0.03652562035832716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759105_21-01-2025_05_53_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19759114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19759115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19759116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19759117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19759118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19759119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19759120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19759121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19759122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19759123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19759124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19759125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19759902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499416, 'mtr_portfolio_id': 19759902, 'created_at': datetime.datetime(2025, 1, 21, 5, 54, 29), 'result': '0.04306586162862758', 'result_long': None, 'result_double': None}] Qualite : 0.04306586162862758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19759902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759902_21-01-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19759902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759902_21-01-2025_05_54_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19759906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19759907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19759908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19759909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19759910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19759911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19759912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19759913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19759914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19759915, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19759916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19759917, 'pht': 3726}}" where mtr_portfolio_id = 19759902 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19759902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418234, 0.04306586162862758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19759902_21-01-2025_05_54_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19759906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19759907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19759908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19759909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19759910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19759911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19759912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19759913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19759914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19759915, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19759916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19759917, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19760613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499417, 'mtr_portfolio_id': 19760613, 'created_at': datetime.datetime(2025, 1, 21, 5, 55, 30), 'result': '0.05392899898172408', 'result_long': None, 'result_double': None}] Qualite : 0.05392899898172408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19760613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760613_21-01-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19760613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760613_21-01-2025_05_55_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19760618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19760619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19760620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19760621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19760622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19760623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19760624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19760625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19760626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19760627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19760628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19760629, 'pht': 3726}}" where mtr_portfolio_id = 19760613 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19760613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418235, 0.05392899898172408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760613_21-01-2025_05_55_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19760618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19760619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19760620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19760621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19760622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19760623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19760624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19760625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19760626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19760627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19760628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19760629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19760955 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499418, 'mtr_portfolio_id': 19760955, 'created_at': datetime.datetime(2025, 1, 21, 5, 55, 57), 'result': '0.04461867890204102', 'result_long': None, 'result_double': None}] Qualite : 0.04461867890204102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19760955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760955_21-01-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19760955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760955_21-01-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19761046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19761047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19761048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19761049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19761050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19761051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19761052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19761053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19761054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19761055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19761056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19761057, 'pht': 3726}}" where mtr_portfolio_id = 19760955 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19760955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418236, 0.04461867890204102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19760955_21-01-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19761046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19761047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19761048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19761049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19761050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19761051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19761052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19761053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19761054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19761055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19761056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19761057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19761702 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499419, 'mtr_portfolio_id': 19761702, 'created_at': datetime.datetime(2025, 1, 21, 5, 56, 29), 'result': '0.04221125927928463', 'result_long': None, 'result_double': None}] Qualite : 0.04221125927928463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19761702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19761702_21-01-2025_05_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19761702 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19761702_21-01-2025_05_56_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19761731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19761732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19761733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19761734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19761735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19761736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19761737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19761738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19761739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19761740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19761741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19761742, 'pht': 3726}}" where mtr_portfolio_id = 19761702 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19761702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418237, 0.04221125927928463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19761702_21-01-2025_05_56_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19761731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19761732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19761733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19761734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19761735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19761736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19761737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19761738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19761739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19761740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19761741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19761742, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19763021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499420, 'mtr_portfolio_id': 19763021, 'created_at': datetime.datetime(2025, 1, 21, 5, 57, 36), 'result': '0.04374840993223996', 'result_long': None, 'result_double': None}] Qualite : 0.04374840993223996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19763021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763021_21-01-2025_05_57_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19763021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763021_21-01-2025_05_57_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19763028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19763029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19763030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19763031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19763032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19763033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19763034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19763035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19763036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19763037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19763038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19763039, 'pht': 3726}}" where mtr_portfolio_id = 19763021 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19763021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418238, 0.04374840993223996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763021_21-01-2025_05_57_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19763028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19763029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19763030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19763031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19763032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19763033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19763034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19763035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19763036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19763037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19763038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19763039, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19763653 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499421, 'mtr_portfolio_id': 19763653, 'created_at': datetime.datetime(2025, 1, 21, 5, 58, 1), 'result': '0.04829979461755589', 'result_long': None, 'result_double': None}] Qualite : 0.04829979461755589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19763653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763653_21-01-2025_05_58_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19763653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763653_21-01-2025_05_58_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19763660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19763661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19763662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19763663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19763664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19763665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19763666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19763667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19763668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19763669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19763670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19763671, 'pht': 3726}}" where mtr_portfolio_id = 19763653 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19763653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418239, 0.04829979461755589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19763653_21-01-2025_05_58_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19763660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19763661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19763662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19763663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19763664, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19763665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19763666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19763667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19763668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19763669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19763670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19763671, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19764353 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499422, 'mtr_portfolio_id': 19764353, 'created_at': datetime.datetime(2025, 1, 21, 5, 58, 29), 'result': '0.04271166509791971', 'result_long': None, 'result_double': None}] Qualite : 0.04271166509791971 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19764353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19764353_21-01-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19764353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19764353_21-01-2025_05_58_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19764404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19764405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19764406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19764407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19764408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19764409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19764410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19764411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19764412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19764413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19764414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19764415, 'pht': 3726}}" where mtr_portfolio_id = 19764353 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19764353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418240, 0.04271166509791971, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19764353_21-01-2025_05_58_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19764404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19764405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19764406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19764407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19764408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19764409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19764410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19764411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19764412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19764413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19764414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19764415, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19765090 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499423, 'mtr_portfolio_id': 19765090, 'created_at': datetime.datetime(2025, 1, 21, 5, 59, 32), 'result': '0.04310583089432179', 'result_long': None, 'result_double': None}] Qualite : 0.04310583089432179 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19765090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765090_21-01-2025_05_59_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19765090 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765090_21-01-2025_05_59_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19765139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19765140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19765141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19765142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19765143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19765144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19765145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19765146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19765147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19765148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19765149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19765150, 'pht': 3726}}" where mtr_portfolio_id = 19765090 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19765090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418241, 0.04310583089432179, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765090_21-01-2025_05_59_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19765139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19765140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19765141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19765142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19765143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19765144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19765145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19765146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19765147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19765148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19765149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19765150, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19765770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499424, 'mtr_portfolio_id': 19765770, 'created_at': datetime.datetime(2025, 1, 21, 6, 0), 'result': '0.043136615647321505', 'result_long': None, 'result_double': None}] Qualite : 0.043136615647321505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19765770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765770_21-01-2025_06_00_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19765770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765770_21-01-2025_06_00_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19765807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19765808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19765809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19765810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19765811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19765812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19765813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19765814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19765815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19765816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19765817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19765818, 'pht': 3726}}" where mtr_portfolio_id = 19765770 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19765770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418242, 0.043136615647321505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19765770_21-01-2025_06_00_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19765807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19765808, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19765809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19765810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19765811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19765812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19765813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19765814, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19765815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19765816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19765817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19765818, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19766453 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499425, 'mtr_portfolio_id': 19766453, 'created_at': datetime.datetime(2025, 1, 21, 6, 0, 30), 'result': '0.050029575565017595', 'result_long': None, 'result_double': None}] Qualite : 0.050029575565017595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19766453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19766453_21-01-2025_06_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19766453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19766453_21-01-2025_06_00_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19766487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19766488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19766489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19766490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19766491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19766492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19766493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19766494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19766495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19766496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19766497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19766498, 'pht': 3726}}" where mtr_portfolio_id = 19766453 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19766453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418243, 0.050029575565017595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19766453_21-01-2025_06_00_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19766487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19766488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19766489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19766490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19766491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19766492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19766493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19766494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19766495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19766496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19766497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19766498, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19767305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499426, 'mtr_portfolio_id': 19767305, 'created_at': datetime.datetime(2025, 1, 21, 6, 1, 31), 'result': '0.04606632447584784', 'result_long': None, 'result_double': None}] Qualite : 0.04606632447584784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19767305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19767305_21-01-2025_06_01_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19767305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19767305_21-01-2025_06_01_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19767314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19767315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19767316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19767317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19767318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19767319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19767320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19767321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19767322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19767323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19767324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19767325, 'pht': 3726}}" where mtr_portfolio_id = 19767305 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19767305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418244, 0.04606632447584784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19767305_21-01-2025_06_01_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19767314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19767315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19767316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19767317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19767318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19767319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19767320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19767321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19767322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19767323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19767324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19767325, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19768081 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499427, 'mtr_portfolio_id': 19768081, 'created_at': datetime.datetime(2025, 1, 21, 6, 1, 58), 'result': '0.03716966626430811', 'result_long': None, 'result_double': None}] Qualite : 0.03716966626430811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19768081 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768081_21-01-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19768081 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768081_21-01-2025_06_02_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19768089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19768090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19768091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19768092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19768093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19768094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19768095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19768096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19768097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19768098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19768099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19768100, 'pht': 3726}}" where mtr_portfolio_id = 19768081 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19768081 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418245, 0.03716966626430811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768081_21-01-2025_06_02_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19768089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19768090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19768091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19768092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19768093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19768094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19768095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19768096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19768097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19768098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19768099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19768100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19768631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499428, 'mtr_portfolio_id': 19768631, 'created_at': datetime.datetime(2025, 1, 21, 6, 2, 33), 'result': '0.034933681258886407', 'result_long': None, 'result_double': None}] Qualite : 0.034933681258886407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19768631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768631_21-01-2025_06_02_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19768631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768631_21-01-2025_06_02_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19768663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19768664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19768665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19768666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19768667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19768668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19768669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19768670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19768671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19768672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19768673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19768674, 'pht': 3726}}" where mtr_portfolio_id = 19768631 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19768631 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418246, 0.034933681258886407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19768631_21-01-2025_06_02_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19768663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19768664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19768665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19768666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19768667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19768668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19768669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19768670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19768671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19768672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19768673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19768674, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19769472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499429, 'mtr_portfolio_id': 19769472, 'created_at': datetime.datetime(2025, 1, 21, 6, 3, 29), 'result': '0.03732088613656948', 'result_long': None, 'result_double': None}] Qualite : 0.03732088613656948 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19769472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19769472_21-01-2025_06_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19769472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19769472_21-01-2025_06_03_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19769502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19769503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19769504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19769505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19769506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19769507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19769508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19769509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19769510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19769511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19769512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19769513, 'pht': 3726}}" where mtr_portfolio_id = 19769472 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19769472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418247, 0.03732088613656948, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19769472_21-01-2025_06_03_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19769502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19769503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19769504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19769505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19769506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19769507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19769508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19769509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19769510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19769511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19769512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19769513, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19770178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499430, 'mtr_portfolio_id': 19770178, 'created_at': datetime.datetime(2025, 1, 21, 6, 4, 2), 'result': '0.05466311210449188', 'result_long': None, 'result_double': None}] Qualite : 0.05466311210449188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19770178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19770178_21-01-2025_06_04_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19770178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19770178_21-01-2025_06_04_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19770186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19770187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19770188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19770189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19770190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19770191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19770192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19770193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19770194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19770195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19770196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19770197, 'pht': 3726}}" where mtr_portfolio_id = 19770178 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19770178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418248, 0.05466311210449188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19770178_21-01-2025_06_04_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19770186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19770187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19770188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19770189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19770190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19770191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19770192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19770193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19770194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19770195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19770196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19770197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19771210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499431, 'mtr_portfolio_id': 19771210, 'created_at': datetime.datetime(2025, 1, 21, 6, 4, 31), 'result': '0.04172083834842176', 'result_long': None, 'result_double': None}] Qualite : 0.04172083834842176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19771210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771210_21-01-2025_06_04_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19771210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771210_21-01-2025_06_04_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19771217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19771219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19771221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19771223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19771225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19771227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19771229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19771231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19771234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19771236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19771238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19771240, 'pht': 3726}}" where mtr_portfolio_id = 19771210 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19771210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418249, 0.04172083834842176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771210_21-01-2025_06_04_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19771217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19771219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19771221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19771223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19771225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19771227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19771229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19771231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19771234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19771236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19771238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19771240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19771599 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499432, 'mtr_portfolio_id': 19771599, 'created_at': datetime.datetime(2025, 1, 21, 6, 5, 58), 'result': '0.040088195770444354', 'result_long': None, 'result_double': None}] Qualite : 0.040088195770444354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19771599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771599_21-01-2025_06_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19771599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771599_21-01-2025_06_06_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19771604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19771605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19771606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19771607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19771608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19771609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19771610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19771611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19771612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19771613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19771614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19771615, 'pht': 3726}}" where mtr_portfolio_id = 19771599 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19771599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418250, 0.040088195770444354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19771599_21-01-2025_06_06_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 19771604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19771605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19771606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19771607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19771608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19771609, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19771610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19771611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19771612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19771613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19771614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19771615, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19772288 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499433, 'mtr_portfolio_id': 19772288, 'created_at': datetime.datetime(2025, 1, 21, 6, 6, 32), 'result': '0.06205333638257147', 'result_long': None, 'result_double': None}] Qualite : 0.06205333638257147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19772288 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772288_21-01-2025_06_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19772288 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772288_21-01-2025_06_06_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19772377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19772378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19772379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19772380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19772381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19772382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19772383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19772384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19772385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19772386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19772387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19772388, 'pht': 3726}}" where mtr_portfolio_id = 19772288 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19772288 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418251, 0.06205333638257147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772288_21-01-2025_06_06_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19772377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19772378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19772379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19772380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19772381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19772382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19772383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19772384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19772385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19772386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19772387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19772388, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19772776 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499434, 'mtr_portfolio_id': 19772776, 'created_at': datetime.datetime(2025, 1, 21, 6, 8, 2), 'result': '0.04980667066683365', 'result_long': None, 'result_double': None}] Qualite : 0.04980667066683365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19772776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772776_21-01-2025_06_08_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19772776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772776_21-01-2025_06_08_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19772812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19772813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19772814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19772815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19772816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19772817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19772818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19772819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19772820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19772821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19772822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19772823, 'pht': 3726}}" where mtr_portfolio_id = 19772776 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19772776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418252, 0.04980667066683365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19772776_21-01-2025_06_08_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19772812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19772813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19772814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19772815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19772816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19772817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19772818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19772819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19772820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19772821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19772822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19772823, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19773125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499435, 'mtr_portfolio_id': 19773125, 'created_at': datetime.datetime(2025, 1, 21, 6, 8, 31), 'result': '0.07967215467527708', 'result_long': None, 'result_double': None}] Qualite : 0.07967215467527708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19773125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773125_21-01-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19773125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773125_21-01-2025_06_08_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19773133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19773134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19773135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19773136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19773137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19773138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19773139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19773140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19773141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19773142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19773143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19773144, 'pht': 3726}}" where mtr_portfolio_id = 19773125 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19773125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418253, 0.07967215467527708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773125_21-01-2025_06_08_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19773133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19773134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19773135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19773136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19773137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19773138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19773139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19773140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19773141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19773142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19773143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19773144, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19773661 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499436, 'mtr_portfolio_id': 19773661, 'created_at': datetime.datetime(2025, 1, 21, 6, 10), 'result': '0.07179944588519428', 'result_long': None, 'result_double': None}] Qualite : 0.07179944588519428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19773661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773661_21-01-2025_06_10_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19773661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773661_21-01-2025_06_10_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19773668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19773669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19773670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19773671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19773672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19773673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19773674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19773675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19773676, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19773677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19773678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19773679, 'pht': 3726}}" where mtr_portfolio_id = 19773661 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19773661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418254, 0.07179944588519428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19773661_21-01-2025_06_10_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19773668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19773669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19773670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19773671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19773672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19773673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19773674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19773675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19773676, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19773677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19773678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19773679, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19774308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499437, 'mtr_portfolio_id': 19774308, 'created_at': datetime.datetime(2025, 1, 21, 6, 10, 29), 'result': '0.08440179909051196', 'result_long': None, 'result_double': None}] Qualite : 0.08440179909051196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19774308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774308_21-01-2025_06_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19774308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774308_21-01-2025_06_10_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19774313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19774314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19774315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19774316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19774317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19774318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19774319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19774320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19774321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19774322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19774323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19774324, 'pht': 3726}}" where mtr_portfolio_id = 19774308 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19774308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418255, 0.08440179909051196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774308_21-01-2025_06_10_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19774313, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19774314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19774315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19774316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19774317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19774318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19774319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19774320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19774321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19774322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19774323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19774324, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19774898 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499438, 'mtr_portfolio_id': 19774898, 'created_at': datetime.datetime(2025, 1, 21, 6, 11, 28), 'result': '0.10384412580877928', 'result_long': None, 'result_double': None}] Qualite : 0.10384412580877928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19774898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774898_21-01-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19774898 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774898_21-01-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19774901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19774902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19774903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19774904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19774905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19774906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19774907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19774908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19774909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19774910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19774911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19774912, 'pht': 3726}}" where mtr_portfolio_id = 19774898 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19774898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418256, 0.10384412580877928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19774898_21-01-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19774901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19774902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19774903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19774904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19774905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19774906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19774907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19774908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19774909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19774910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19774911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19774912, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19775223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499439, 'mtr_portfolio_id': 19775223, 'created_at': datetime.datetime(2025, 1, 21, 6, 12, 1), 'result': '0.04512387574051833', 'result_long': None, 'result_double': None}] Qualite : 0.04512387574051833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19775223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775223_21-01-2025_06_12_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19775223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775223_21-01-2025_06_12_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19775230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19775231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19775232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19775233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19775234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19775235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19775236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19775237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19775238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19775239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19775240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19775241, 'pht': 3726}}" where mtr_portfolio_id = 19775223 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19775223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418257, 0.04512387574051833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775223_21-01-2025_06_12_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19775230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19775231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19775232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19775233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19775234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19775235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19775236, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19775237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19775238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19775239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19775240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19775241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19775641 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499440, 'mtr_portfolio_id': 19775641, 'created_at': datetime.datetime(2025, 1, 21, 6, 12, 28), 'result': '0.06535301274616437', 'result_long': None, 'result_double': None}] Qualite : 0.06535301274616437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19775641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775641_21-01-2025_06_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19775641 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775641_21-01-2025_06_12_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19775672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19775673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19775674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19775675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19775676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19775677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19775678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19775679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19775680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19775681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19775682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19775683, 'pht': 3726}}" where mtr_portfolio_id = 19775641 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19775641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418258, 0.06535301274616437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19775641_21-01-2025_06_12_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 19775672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19775673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19775674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19775675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19775676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19775677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19775678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19775679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19775680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19775681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19775682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19775683, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19776262 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499441, 'mtr_portfolio_id': 19776262, 'created_at': datetime.datetime(2025, 1, 21, 6, 13, 31), 'result': '0.07279356288117562', 'result_long': None, 'result_double': None}] Qualite : 0.07279356288117562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19776262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776262_21-01-2025_06_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19776262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776262_21-01-2025_06_13_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19776295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19776296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19776297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19776298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19776299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19776300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19776301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19776302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19776303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19776304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19776305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19776306, 'pht': 3726}}" where mtr_portfolio_id = 19776262 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19776262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418259, 0.07279356288117562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776262_21-01-2025_06_13_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 19776295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19776296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19776297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19776298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19776299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19776300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19776301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19776302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19776303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19776304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19776305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19776306, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19776986 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2499442, 'mtr_portfolio_id': 19776986, 'created_at': datetime.datetime(2025, 1, 21, 6, 13, 59), 'result': '0.07497756012878092', 'result_long': None, 'result_double': None}] Qualite : 0.07497756012878092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19776986 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776986_21-01-2025_06_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19776986 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776986_21-01-2025_06_14_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19777026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19777027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19777028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19777029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19777030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19777031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19777032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19777033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19777034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19777035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19777036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19777037, 'pht': 3726}}" where mtr_portfolio_id = 19776986 and dashboard_run_id = 1552386 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19776986 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8418260, 0.07497756012878092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19776986_21-01-2025_06_14_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19777026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19777027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19777028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19777029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19777030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19777031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19777032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19777033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19777034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19777035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19777036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19777037, '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 (19751035,19751252,19751671,19752417,19752934,19753416,19754344,19755029,19755922,19780893,19780894,19780895,19780896,19780897,19780898,19780899,19780900,19780901,19780902,19780903,19756597,19756600,19756603,19756734,19757645,19758305,19759105,19759902,19760613,19760955,19761702,19763021,19763653,19764353,19765090,19765770,19766453,19767305,19768081,19768631,19769472,19770178,19771210,19771599,19772288,19772776,19773125,19773661,19774308,19774898,19775223,19775641,19776262,19776986) result : ((1330211668,), (1330212275,), (1330212342,), (1330212494,), (1330212499,), (1330212560,), (1330212564,), (1330212568,), (1330212571,), (1330212575,), (1330212856,), (1330212881,), (1330212886,), (1330212893,), (1330212897,), (1330212903,), (1330212964,), (1330213242,), (1330213309,), (1330213314,), (1330213413,), (1330213424,), (1330213492,), (1330213623,), (1330213649,), (1330213653,), (1330213655,), (1330213659,), (1330213660,), (1330213662,), (1330213717,), (1330213719,), (1330220026,), (1330220029,), (1330220033,), (1330220057,), (1330212942,), (1330212946,), (1330212950,), (1330212955,), (1330212959,), (1330213082,), (1330213233,), (1330213238,), (1330213374,), (1330213378,), (1330213383,), (1330213404,), (1330213470,), (1330213475,), (1330213482,), (1330213486,), (1330213489,), (1330213565,), (1330213568,), (1330213571,), (1330213572,), (1330213602,), (1330213703,), (1330213710,), (1330213714,), (1330213715,), (1330213774,), (1330213779,), (1330213781,), (1330213783,), (1330213785,), (1330213787,), (1330213846,), (1330213862,), (1330213873,), (1330213876,), (1330213879,), (1330213884,), (1330213966,), (1330213970,), (1330213973,), (1330213975,), (1330213978,), (1330213982,), (1330214072,), (1330214075,), (1330214077,), (1330214079,), (1330214082,), (1330214086,), (1330214159,), (1330214167,), (1330214174,), (1330214192,), (1330214194,), (1330214197,), (1330214260,), (1330214266,), (1330214271,), (1330214273,), (1330214278,), (1330214280,), (1330214328,), (1330214337,), (1330214342,), (1330214455,), (1330214512,), (1330214716,), (1330214729,), (1330214734,), (1330219988,), (1330219994,), (1330219998,), (1330220003,), (1330220008,), (1330220022,), (1330214311,), (1330214318,), (1330214322,), (1330214437,), (1330214440,), (1330214445,), (1330214448,), (1330214451,), (1330214479,), (1330214487,), (1330214502,), (1330214505,), (1330214509,), (1330214560,), (1330214563,), (1330214565,), (1330214568,), (1330214586,), (1330214595,), (1330214690,), (1330214694,), (1330214701,), (1330215318,), (1330215511,), (1330215540,), (1330215706,), (1330215835,), (1330215939,), (1330216318,), (1330216322,), (1330216325,), (1330216328,), (1330216443,), (1330216447,), (1330216583,), (1330216587,), (1330216590,), (1330216593,), (1330216596,), (1330216602,), (1330216717,), (1330216754,), (1330216841,), (1330216849,), (1330216855,), (1330216863,), (1330217267,), (1330217274,), (1330217307,), (1330217312,), (1330217315,), (1330217352,), (1330217373,), (1330217390,), (1330217399,), (1330217403,), (1330217408,), (1330217428,), (1330217518,), (1330217522,), (1330217524,), (1330217528,), (1330217531,), (1330217533,), (1330217590,), (1330218121,), (1330218271,), (1330218301,), (1330218304,), (1330218307,), (1330218781,), (1330219175,), (1330219296,), (1330219299,), (1330219885,), (1330219916,), (1330219923,), (1330219928,), (1330219931,), (1330219952,), (1330219956,), (1330219980,), (1330217560,), (1330217564,), (1330217569,), (1330217572,), (1330217580,), (1330217839,), (1330217888,), (1330217892,), (1330217896,), (1330217899,), (1330217904,), (1330218081,), (1330218521,), (1330218527,), (1330218531,), (1330218536,), (1330218585,), (1330218643,), (1330218750,), (1330218753,), (1330218759,), (1330218770,), (1330218776,), (1330219084,), (1330219108,), (1330219134,), (1330219135,), (1330219136,), (1330219138,), (1330219165,), (1330219167,), (1330219168,), (1330219170,), (1330219172,), (1330219196,), (1330219200,), (1330219202,), (1330219206,), (1330219213,), (1330219216,), (1330219256,), (1330219267,), (1330219272,), (1330219273,), (1330219377,), (1330219380,), (1330219383,), (1330219386,), (1330219390,), (1330219400,), (1330219649,), (1330219689,), (1330219734,), (1330219743,), (1330219745,), (1330219768,), (1330219861,), (1330219866,), (1330219870,), (1330219874,), (1330219883,), (1330220247,), (1330220434,), (1330220438,), (1330220441,), (1330220466,), (1330220489,), (1330220498,), (1330220551,), (1330220554,), (1330220555,), (1330220558,), (1330220561,), (1330220624,), (1330220644,), (1330220699,), (1330220756,), (1330220766,), (1330220771,), (1330221010,), (1330221015,), (1330221016,), (1330221033,), (1330221106,), (1330221171,), (1330221625,), (1330221701,), (1330221786,), (1330221857,), (1330221933,), (1330221969,), (1330222412,), (1330222418,), (1330222434,), (1330222440,), (1330222447,), (1330222482,), (1330223076,), (1330223155,), (1330223165,), (1330223215,), (1330223240,), (1330223243,), (1330223316,), (1330223342,), (1330223393,), (1330223411,), (1330223484,), (1330223513,), (1330223731,), (1330223738,), (1330223744,), (1330223754,), (1330223759,), (1330223766,), (1330224009,), (1330224224,), (1330224229,), (1330224232,), (1330224691,), (1330224695,), (1330224712,), (1330224744,), (1330225851,), (1330225854,), (1330225879,), (1330226051,), (1330226054,), (1330226059,), (1330226069,), (1330226072,), (1330226785,), (1330226786,), (1330226805,), (1330226866,), (1330227036,), (1330227047,), (1330227058,), (1330227061,), (1330227089,), (1330227095,), (1330227101,), (1330227105,), (1330227110,), (1330227112,), (1330227295,), (1330227375,), (1330227402,), (1330227406,), (1330227437,), (1330227484,), (1330227485,), (1330227489,), (1330227607,), (1330235652,), (1330235654,), (1330235656,), (1330223848,), (1330223852,), (1330223856,), (1330223861,), (1330223939,), (1330224107,), (1330224159,), (1330224163,), (1330224169,), (1330224172,), (1330224175,), (1330224213,), (1330224215,), (1330224219,), (1330224679,), (1330224686,), (1330224911,), (1330224937,), (1330224940,), (1330224942,), (1330224955,), (1330224959,), (1330225204,), (1330225208,), (1330225210,), (1330225214,), (1330225218,), (1330225228,), (1330225288,), (1330225291,), (1330225293,), (1330225296,), (1330225299,), (1330225302,), (1330225315,), (1330225320,), (1330225322,), (1330225328,), (1330225335,), (1330225336,), (1330225403,), (1330225407,), (1330225410,), (1330225412,), (1330225415,), (1330225434,), (1330225514,), (1330225611,), (1330225644,), (1330225662,), (1330225677,), (1330225697,), (1330225745,), (1330225748,), (1330225752,), (1330225756,), (1330225759,), (1330225763,), (1330225839,), (1330225843,), (1330225847,), (1330226045,), (1330226137,), (1330226139,), (1330226141,), (1330226144,), (1330226146,), (1330226148,), (1330226385,), (1330226341,), (1330226343,), (1330226380,), (1330226382,), (1330226383,), (1330226783,), (1330226784,), (1330227031,), (1330227033,), (1330227266,), (1330227468,), (1330227478,), (1330227483,), (1330227557,), (1330227563,), (1330227567,), (1330227571,), (1330227572,), (1330227574,), (1330227597,), (1330227599,), (1330227602,), (1330227603,), (1330227605,), (1330227735,), (1330227785,), (1330227788,), (1330227858,), (1330227903,), (1330227957,), (1330228067,), (1330228068,), (1330228070,), (1330228090,), (1330228103,), (1330228107,), (1330228193,), (1330228201,), (1330228209,), (1330228243,), (1330228259,), (1330228266,), (1330228312,), (1330228315,), (1330228320,), (1330228325,), (1330228328,), (1330228331,), (1330228422,), (1330228936,), (1330228995,), (1330229051,), (1330229265,), (1330229295,), (1330230009,), (1330230011,), (1330230030,), (1330230064,), (1330235423,), (1330235427,), (1330235429,), (1330235466,), (1330235468,), (1330235471,), (1330235480,), (1330235485,), (1330235489,), (1330235491,), (1330235496,), (1330235500,), (1330235541,), (1330235543,), (1330235546,), (1330235548,), (1330235549,), (1330235580,), (1330235582,), (1330235584,), (1330235586,), (1330235588,), (1330235614,), (1330235616,), (1330235619,), (1330235621,), (1330235623,), (1330235625,), (1330228411,), (1330228413,), (1330228419,), (1330228420,), (1330228421,), (1330228768,), (1330228832,), (1330228834,), (1330228836,), (1330228872,), (1330228880,), (1330228893,), (1330229688,), (1330229691,), (1330229692,), (1330229694,), (1330229695,), (1330229697,), (1330229723,), (1330229726,), (1330229727,), (1330229728,), (1330229730,), (1330229733,), (1330229957,), (1330229985,), (1330230152,), (1330230156,), (1330230163,), (1330230168,), (1330230169,), (1330230194,), (1330230302,), (1330230305,), (1330230309,), (1330230313,), (1330230316,), (1330230328,), (1330230405,), (1330230429,), (1330230431,), (1330230432,), (1330230434,), (1330230437,), (1330230472,), (1330230473,), (1330230474,), (1330230475,), (1330230476,), (1330230482,), (1330230944,), (1330231005,), (1330231056,), (1330231074,), (1330231083,), (1330231140,), (1330231277,), (1330231279,), (1330231282,), (1330231285,), (1330231288,), (1330231292,), (1330231336,), (1330231353,), (1330231361,), (1330231363,), (1330231366,), (1330231370,), (1330234228,), (1330234230,), (1330234255,), (1330234256,), (1330234257,), (1330234258,), (1330234260,), (1330234283,), (1330234284,), (1330234286,), (1330234302,), (1330234303,), (1330234304,), (1330234305,), (1330234308,), (1330234323,), (1330234324,), (1330234328,), (1330234331,), (1330234371,), (1330234390,), (1330234394,), (1330234396,), (1330234399,), (1330234430,), (1330234431,), (1330234432,), (1330234434,), (1330234466,), (1330234468,), (1330234472,), (1330235319,), (1330235322,), (1330235353,), (1330235357,), (1330235359,), (1330235360,), (1330235362,), (1330235364,), (1330235419,), (1330235464,), (1330231849,), (1330231863,), (1330231867,), (1330231872,), (1330231946,), (1330231948,), (1330232083,), (1330232088,), (1330232090,), (1330232092,), (1330232093,), (1330232097,), (1330232161,), (1330232204,), (1330232300,), (1330232331,), (1330232336,), (1330232345,), (1330232391,), (1330232403,), (1330232406,), (1330232420,), (1330232422,), (1330232424,), (1330232693,), (1330232789,), (1330232870,), (1330232873,), (1330232875,), (1330232881,), (1330233055,), (1330233118,), (1330233120,), (1330233121,), (1330233126,), (1330233138,), (1330233165,), (1330233166,), (1330233170,), (1330233173,), (1330233176,), (1330233179,), (1330233214,), (1330233217,), (1330233219,), (1330233221,), (1330233222,), (1330233223,), (1330233422,), (1330233423,), (1330233425,), (1330233427,), (1330233429,), (1330233431,), (1330233509,), (1330233527,), (1330233539,), (1330233540,), (1330233547,), (1330233570,), (1330233613,), (1330233618,), (1330233623,), (1330233627,), (1330233633,), (1330233671,), (1330233806,), (1330233810,), (1330233813,), (1330233852,), (1330233854,), (1330234048,), (1330234112,), (1330234140,), (1330234141,), (1330234143,), (1330234144,), (1330234148,), (1330234195,), (1330234196,), (1330234197,), (1330234199,), (1330234202,), (1330234222,), (1330234225,), (1330234226,), (1330234227,), (1330239860,), (1330239863,), (1330239892,), (1330239895,), (1330239897,), (1330239898,), (1330239901,), (1330239924,), (1330239926,), (1330239928,), (1330239929,), (1330239931,), (1330239932,), (1330239959,), (1330239961,), (1330239962,), (1330239988,), (1330239990,), (1330239991,), (1330239992,), (1330239993,), (1330239996,), (1330240034,), (1330240038,), (1330240042,), (1330240047,), (1330240051,), (1330240054,), (1330240066,), (1330240071,), (1330240076,), (1330240080,), (1330240082,), (1330240084,), (1330240098,), (1330240102,), (1330240105,), (1330240109,), (1330240114,), (1330240117,), (1330240152,), (1330240155,), (1330240158,), (1330240160,), (1330240162,), (1330240166,), (1330240213,), (1330240216,), (1330240218,), (1330240221,), (1330240222,), (1330240224,), (1330240253,), (1330240257,), (1330240261,), (1330240266,), (1330240272,), (1330240277,), (1330240307,), (1330240309,), (1330240313,), (1330240316,), (1330240321,), (1330240327,), (1330240359,), (1330240364,), (1330240370,), (1330240412,), (1330240481,), (1330240483,), (1330240487,), (1330240510,), (1330240512,), (1330240516,), (1330240519,), (1330240521,), (1330240526,), (1330240564,), (1330240566,), (1330240570,), (1330240571,), (1330240572,), (1330240573,), (1330240574,), (1330240576,), (1330240591,), (1330240593,), (1330240594,), (1330240595,), (1330240597,), (1330240598,), (1330240645,), (1330240647,), (1330240648,), (1330240649,), (1330240651,), (1330240684,), (1330240685,), (1330240686,), (1330240687,), (1330240689,), (1330240691,), (1330240720,), (1330240721,), (1330240772,), (1330240775,), (1330240351,), (1330240353,), (1330240357,), (1330240396,), (1330240399,), (1330240403,), (1330240407,), (1330240409,), (1330240437,), (1330240441,), (1330240445,), (1330240447,), (1330240450,), (1330240454,), (1330240473,), (1330240477,), (1330240479,), (1330240549,), (1330240554,), (1330240556,), (1330240560,), (1330240643,), (1330240657,), (1330240662,), (1330240666,), (1330240670,), (1330240676,), (1330240680,), (1330240714,), (1330240716,), (1330240717,), (1330240718,), (1330240756,), (1330240760,), (1330240763,), (1330240768,), (1330240936,), (1330244498,), (1330240983,), (1330240989,), (1330240992,), (1330240997,), (1330241002,), (1330241008,), (1330241056,), (1330241060,), (1330241062,), (1330241064,), (1330241065,), (1330241067,), (1330241075,), (1330241080,), (1330241084,), (1330241090,), (1330241095,), (1330241098,), (1330241161,), (1330241170,), (1330241176,), (1330241181,), (1330241186,), (1330241190,), (1330241206,), (1330241211,), (1330241216,), (1330241222,), (1330241226,), (1330241229,), (1330241244,), (1330241250,), (1330241254,), (1330241260,), (1330241263,), (1330241272,), (1330241303,), (1330241306,), (1330241309,), (1330241311,), (1330241314,), (1330241317,), (1330241357,), (1330241365,), (1330241370,), (1330241375,), (1330241381,), (1330241384,), (1330241456,), (1330243139,), (1330243145,), (1330243149,), (1330243217,), (1330243457,), (1330243465,), (1330243906,), (1330243919,), (1330243922,), (1330243923,), (1330243926,), (1330243929,), (1330243932,), (1330244048,), (1330244052,), (1330244073,), (1330244085,), (1330244091,), (1330244095,), (1330244097,), (1330244100,), (1330244104,), (1330244106,), (1330244108,), (1330244110,), (1330244112,), (1330244115,), (1330244347,), (1330244349,), (1330244351,), (1330244354,), (1330244357,), (1330244360,), (1330244420,), (1330244421,), (1330244493,), (1330244495,), (1330244496,), (1330241441,), (1330241445,), (1330241448,), (1330241451,), (1330241453,), (1330241518,), (1330241525,), (1330241531,), (1330241536,), (1330241542,), (1330241546,), (1330241586,), (1330241597,), (1330241600,), (1330241604,), (1330241607,), (1330241609,), (1330241666,), (1330241667,), (1330241670,), (1330241672,), (1330241684,), (1330241695,), (1330241913,), (1330241926,), (1330241979,), (1330241982,), (1330242004,), (1330242006,), (1330242111,), (1330242116,), (1330242121,), (1330242127,), (1330242131,), (1330242136,), (1330242210,), (1330242214,), (1330242218,), (1330242221,), (1330242225,), (1330242229,), (1330242300,), (1330242304,), (1330242308,), (1330242327,), (1330242329,), (1330242331,), (1330242371,), (1330242373,), (1330242375,), (1330242377,), (1330242386,), (1330242390,), (1330242498,), (1330242521,), (1330242567,), (1330242628,), (1330242690,), (1330242783,), (1330243037,), (1330243043,), (1330243107,), (1330243189,), (1330243198,), (1330243205,), (1330243207,), (1330243212,), (1330243246,), (1330243252,), (1330243261,), (1330243263,), (1330243268,), (1330243273,), (1330243322,), (1330243303,), (1330243308,), (1330243317,), (1330243880,), (1330243886,), (1330243890,), (1330243896,), (1330243902,), (1330244005,), (1330244011,), (1330244015,), (1330244018,), (1330244389,), (1330244390,), (1330244410,), (1330244413,), (1330244483,), (1330244491,), (1330244529,), (1330244530,), (1330244531,), (1330244533,), (1330244535,), (1330244591,), (1330244594,), (1330244600,), (1330244611,), (1330244618,), (1330244620,), (1330244630,), (1330244635,), (1330244640,), (1330244645,), (1330244651,), (1330244657,), (1330245412,), (1330245417,), (1330245426,), (1330245435,), (1330245443,), (1330245454,), (1330245582,), (1330245588,), (1330245591,), (1330245598,), (1330245603,), (1330245642,), (1330269151,), (1330269163,), (1330269165,), (1330269244,), (1330269248,), (1330269253,), (1330269302,), (1330269309,), (1330269319,), (1330269345,), (1330269349,), (1330269354,), (1330269362,), (1330269369,), (1330269375,), (1330306076,), (1330306086,), (1330306092,), (1330306359,), (1330306363,), (1330306493,), (1330306498,), (1330306527,), (1330306530,), (1330306534,), (1330306539,), (1330245890,), (1330245895,), (1330245899,), (1330245903,), (1330245908,), (1330245910,), (1330245967,), (1330245971,), (1330245976,), (1330245981,), (1330245985,), (1330245989,), (1330246741,), (1330246748,), (1330246749,), (1330246795,), (1330246799,), (1330246801,), (1330247201,), (1330247204,), (1330247207,), (1330247209,), (1330247212,), (1330247215,), (1330247222,), (1330247227,), (1330247232,), (1330247249,), (1330247256,), (1330247259,), (1330247789,), (1330247848,), (1330247851,), (1330247855,), (1330247859,), (1330247867,), (1330248006,), (1330248010,), (1330248015,), (1330248020,), (1330248023,), (1330248027,), (1330248103,), (1330248108,), (1330248112,), (1330248115,), (1330248119,), (1330248123,), (1330248190,), (1330248195,), (1330248200,), (1330248204,), (1330248209,), (1330248213,), (1330248440,), (1330248444,), (1330248447,), (1330248451,), (1330248455,), (1330248459,), (1330248476,), (1330248480,), (1330248484,), (1330248490,), (1330248500,), (1330248503,), (1330248509,), (1330248513,), (1330248516,), (1330248520,), (1330248522,), (1330248526,), (1330249538,), (1330249596,), (1330250055,), (1330250059,), (1330250070,), (1330267576,), (1330267579,), (1330267583,), (1330268046,), (1330268053,), (1330268196,), (1330268206,), (1330268344,), (1330268349,), (1330268353,), (1330268379,), (1330268406,), (1330268409,), (1330268578,), (1330268586,), (1330268593,), (1330268596,), (1330268600,), (1330268604,), (1330268634,), (1330268656,), (1330268674,), (1330268682,), (1330268685,), (1330268702,), (1330268857,), (1330268860,), (1330268865,), (1330268869,), (1330268872,), (1330268876,), (1330268932,), (1330268935,), (1330268941,), (1330268946,), (1330268950,), (1330269061,), (1330269066,), (1330269069,), (1330269073,), (1330269076,), (1330269079,), (1330269096,), (1330269100,), (1330269104,), (1330269107,), (1330269111,), (1330269115,), (1330269137,), (1330269142,), (1330269145,), (1330249474,), (1330249526,), (1330249530,), (1330249534,), (1330250033,), (1330250048,), (1330250052,), (1330250272,), (1330250283,), (1330250286,), (1330250369,), (1330250728,), (1330250931,), (1330250993,), (1330250994,), (1330250999,), (1330251003,), (1330251113,), (1330251142,), (1330251480,), (1330251492,), (1330251496,), (1330251547,), (1330251562,), (1330251564,), (1330251642,), (1330251649,), (1330251653,), (1330251656,), (1330251661,), (1330251666,), (1330251763,), (1330251768,), (1330251783,), (1330251790,), (1330251795,), (1330251799,), (1330251869,), (1330251873,), (1330251876,), (1330251878,), (1330251881,), (1330251884,), (1330251924,), (1330251926,), (1330251930,), (1330251933,), (1330251938,), (1330251943,), (1330251968,), (1330251972,), (1330251976,), (1330251979,), (1330251984,), (1330251991,), (1330252136,), (1330252140,), (1330252144,), (1330252146,), (1330252149,), (1330252152,), (1330252196,), (1330252199,), (1330252202,), (1330252207,), (1330252211,), (1330252219,), (1330252341,), (1330266986,), (1330266988,), (1330266990,), (1330266993,), (1330266994,), (1330266997,), (1330267039,), (1330267043,), (1330267058,), (1330267065,), (1330267069,), (1330267101,), (1330267195,), (1330267201,), (1330267226,), (1330267242,), (1330267252,), (1330267255,), (1330267563,), (1330267567,), (1330267571,), (1330267984,), (1330267991,), (1330268035,), (1330268177,), (1330268179,), (1330268182,), (1330252314,), (1330252321,), (1330252326,), (1330252332,), (1330252337,), (1330252417,), (1330252420,), (1330252424,), (1330252430,), (1330252433,), (1330252436,), (1330252564,), (1330252568,), (1330252595,), (1330252599,), (1330252604,), (1330252607,), (1330252793,), (1330252796,), (1330252799,), (1330252801,), (1330252804,), (1330252808,), (1330253600,), (1330253609,), (1330253613,), (1330253617,), (1330253620,), (1330253624,), (1330253939,), (1330254028,), (1330254042,), (1330254046,), (1330254064,), (1330254105,), (1330254223,), (1330254227,), (1330254232,), (1330254237,), (1330254242,), (1330254246,), (1330254388,), (1330254399,), (1330254403,), (1330254407,), (1330254410,), (1330254414,), (1330254494,), (1330254497,), (1330254502,), (1330254506,), (1330254510,), (1330254645,), (1330254710,), (1330254718,), (1330254728,), (1330254733,), (1330254739,), (1330254742,), (1330254800,), (1330254818,), (1330254822,), (1330254840,), (1330254845,), (1330254851,), (1330254878,), (1330254884,), (1330254926,), (1330254962,), (1330254997,), (1330255010,), (1330255144,), (1330255154,), (1330255183,), (1330255187,), (1330256873,), (1330257073,), (1330257147,), (1330257212,), (1330257482,), (1330257485,), (1330257490,), (1330257492,), (1330257600,), (1330257604,), (1330257608,), (1330257610,), (1330257613,), (1330257619,), (1330257654,), (1330257658,), (1330257665,), (1330257678,), (1330257681,), (1330257685,), (1330258642,), (1330258647,), (1330258651,), (1330258654,), (1330259265,), (1330259271,), (1330259276,), (1330266148,), (1330266398,), (1330266419,), (1330266472,), (1330266523,), (1330266562,), (1330266566,), (1330266608,), (1330266611,), (1330266613,), (1330266616,), (1330266619,), (1330266622,), (1330266930,), (1330266936,), (1330266939,), (1330266943,), (1330266946,), (1330266950,), (1330255127,), (1330255131,), (1330255307,), (1330255363,), (1330255387,), (1330255394,), (1330255398,), (1330255404,), (1330255613,), (1330255615,), (1330255621,), (1330255625,), (1330255629,), (1330255635,), (1330255703,), (1330255710,), (1330255715,), (1330255751,), (1330255762,), (1330255769,), (1330256508,), (1330256592,), (1330256699,), (1330256797,), (1330256814,), (1330256821,), (1330256859,), (1330256865,), (1330257470,), (1330257476,), (1330258624,), (1330258637,), (1330259018,), (1330259032,), (1330259042,), (1330259084,), (1330259105,), (1330259119,), (1330259175,), (1330259178,), (1330259201,), (1330259207,), (1330259213,), (1330259221,), (1330259260,), (1330259251,), (1330259255,), (1330259296,), (1330259302,), (1330259306,), (1330259309,), (1330259313,), (1330259317,), (1330259516,), (1330259521,), (1330259524,), (1330259527,), (1330259529,), (1330259531,), (1330260242,), (1330260244,), (1330260247,), (1330260251,), (1330260255,), (1330260259,), (1330260558,), (1330260564,), (1330260594,), (1330260609,), (1330260612,), (1330260616,), (1330260678,), (1330260698,), (1330260704,), (1330260727,), (1330260736,), (1330260743,), (1330260964,), (1330260968,), (1330260972,), (1330260977,), (1330260982,), (1330260983,), (1330261036,), (1330261040,), (1330261044,), (1330261049,), (1330261052,), (1330261063,), (1330261234,), (1330261295,), (1330261300,), (1330261303,), (1330261306,), (1330261310,), (1330261447,), (1330261452,), (1330261456,), (1330261459,), (1330261462,), (1330261465,), (1330261532,), (1330261541,), (1330261544,), (1330261547,), (1330261550,), (1330261554,), (1330261631,), (1330261635,), (1330261636,), (1330261643,), (1330261648,), (1330261656,), (1330263493,), (1330263498,), (1330263583,), (1330263639,), (1330263645,), (1330263845,), (1330263848,), (1330264530,), (1330264533,), (1330264535,), (1330264538,), (1330264582,), (1330264585,), (1330264588,), (1330264590,), (1330264594,), (1330264597,), (1330264624,), (1330264626,), (1330264628,), (1330264630,), (1330264632,), (1330264635,), (1330265456,), (1330265607,), (1330265764,), (1330265768,), (1330265771,), (1330265774,), (1330265893,), (1330265903,), (1330265905,), (1330265933,), (1330265998,), (1330261800,), (1330261803,), (1330261807,), (1330261811,), (1330261815,), (1330261820,), (1330261853,), (1330261857,), (1330261860,), (1330261871,), (1330261877,), (1330261888,), (1330261992,), (1330261995,), (1330261997,), (1330262002,), (1330262005,), (1330262008,), (1330262041,), (1330262042,), (1330262048,), (1330262053,), (1330262056,), (1330262065,), (1330262963,), (1330262969,), (1330262972,), (1330262976,), (1330262979,), (1330262984,), (1330263291,), (1330263294,), (1330263298,), (1330263359,), (1330263366,), (1330263371,), (1330263438,), (1330263440,), (1330263443,), (1330263446,), (1330263449,), (1330263451,), (1330263462,), (1330263467,), (1330263471,), (1330263481,), (1330263552,), (1330263557,), (1330263564,), (1330263572,), (1330263578,), (1330263616,), (1330263620,), (1330263622,), (1330263627,), (1330263713,), (1330263723,), (1330263735,), (1330263740,), (1330263745,), (1330263748,), (1330263816,), (1330263823,), (1330263829,), (1330263841,), (1330264015,), (1330264017,), (1330264022,), (1330264059,), (1330264091,), (1330264094,), (1330264135,), (1330264141,), (1330264147,), (1330264152,), (1330264157,), (1330264163,), (1330264212,), (1330264216,), (1330264219,), (1330264221,), (1330264230,), (1330264241,), (1330264367,), (1330264370,), (1330264373,), (1330264377,), (1330264380,), (1330264383,), (1330264525,), (1330264527,), (1330269702,), (1330269942,), (1330270137,), (1330270224,), (1330270226,), (1330270229,), (1330270431,), (1330270460,), (1330270504,), (1330270681,), (1330270692,), (1330270696,), (1330271186,), (1330271385,), (1330271643,), (1330271742,), (1330271754,), (1330271759,), (1330272029,), (1330272037,), (1330272042,), (1330272047,), (1330272049,), (1330272061,), (1330272123,), (1330272128,), (1330272158,), (1330272202,), (1330272207,), (1330272210,), (1330272271,), (1330272273,), (1330272275,), (1330272277,), (1330272280,), (1330272283,), (1330272313,), (1330272315,), (1330272325,), (1330272326,), (1330272327,), (1330272330,), (1330272395,), (1330272421,), (1330272427,), (1330272434,), (1330272439,), (1330272444,), (1330272509,), (1330272539,), (1330272560,), (1330272573,), (1330272578,), (1330272583,), (1330272709,), (1330272715,), (1330272716,), (1330272718,), (1330272719,), (1330272721,), (1330272748,), (1330272753,), (1330272757,), (1330272760,), (1330272774,), (1330272778,), (1330272951,), (1330272954,), (1330281904,), (1330281955,), (1330281959,), (1330299174,), (1330299453,), (1330299456,), (1330299460,), (1330299463,), (1330299467,), (1330299616,), (1330299620,), (1330299625,), (1330299630,), (1330299636,), (1330299715,), (1330299717,), (1330299867,), (1330300880,), (1330300888,), (1330301153,), (1330301396,), (1330301457,), (1330301461,), (1330301465,), (1330301476,), (1330303730,), (1330304014,), (1330304020,), (1330304023,), (1330304075,), (1330304080,), (1330304085,), (1330304160,), (1330304168,), (1330304195,), (1330304200,), (1330304396,), (1330304403,), (1330304409,), (1330304412,), (1330304415,), (1330304418,), (1330304528,), (1330304531,), (1330304536,), (1330304542,), (1330304581,), (1330304582,), (1330304693,), (1330304971,), (1330305060,), (1330305086,), (1330305497,), (1330305504,), (1330305509,), (1330305514,), (1330305654,), (1330305659,), (1330305835,), (1330305846,), (1330305850,), (1330305855,), (1330305895,), (1330305898,), (1330305900,), (1330305904,), (1330305939,), (1330305948,), (1330305961,), (1330305965,), (1330306054,), (1330306294,), (1330272870,), (1330272874,), (1330272902,), (1330272942,), (1330273031,), (1330273032,), (1330273033,), (1330273034,), (1330273040,), (1330273042,), (1330273263,), (1330273270,), (1330273275,), (1330273280,), (1330273286,), (1330273289,), (1330273923,), (1330274010,), (1330274016,), (1330274021,), (1330274026,), (1330274031,), (1330274408,), (1330274411,), (1330274416,), (1330274419,), (1330274421,), (1330274424,), (1330274463,), (1330274465,), (1330274467,), (1330274470,), (1330274472,), (1330274474,), (1330274693,), (1330274717,), (1330274723,), (1330274730,), (1330274734,), (1330274740,), (1330274756,), (1330274761,), (1330274767,), (1330274773,), (1330274777,), (1330274782,), (1330274796,), (1330274802,), (1330274807,), (1330274812,), (1330274817,), (1330274822,), (1330274862,), (1330274890,), (1330274897,), (1330274904,), (1330274909,), (1330274914,), (1330275016,), (1330275017,), (1330275022,), (1330275024,), (1330275029,), (1330275060,), (1330275129,), (1330275132,), (1330275136,), (1330275140,), (1330275142,), (1330275143,), (1330275170,), (1330275181,), (1330275183,), (1330275196,), (1330275199,), (1330275213,), (1330275420,), (1330275421,), (1330275424,), (1330275497,), (1330275705,), (1330275801,), (1330276291,), (1330276295,), (1330276321,), (1330276323,), (1330276334,), (1330276530,), (1330276532,), (1330276537,), (1330276795,), (1330276964,), (1330276983,), (1330277334,), (1330277340,), (1330277342,), (1330277451,), (1330278249,), (1330278906,), (1330278908,), (1330279166,), (1330279664,), (1330280413,), (1330281730,), (1330281735,), (1330281841,), (1330275362,), (1330275365,), (1330275367,), (1330275389,), (1330275391,), (1330275392,), (1330276144,), (1330276400,), (1330276401,), (1330276409,), (1330276412,), (1330276414,), (1330276417,), (1330276523,), (1330276525,), (1330276528,), (1330276727,), (1330276735,), (1330276744,), (1330276765,), (1330276789,), (1330276943,), (1330276948,), (1330276950,), (1330276951,), (1330277171,), (1330277237,), (1330277239,), (1330277259,), (1330277271,), (1330277278,), (1330277322,), (1330277326,), (1330277332,), (1330277372,), (1330277376,), (1330277380,), (1330277415,), (1330277447,), (1330277560,), (1330277563,), (1330277566,), (1330277569,), (1330277593,), (1330277595,), (1330277640,), (1330277684,), (1330277686,), (1330277698,), (1330277711,), (1330277719,), (1330277750,), (1330277754,), (1330277757,), (1330277771,), (1330277782,), (1330277787,), (1330277832,), (1330277836,), (1330277839,), (1330277844,), (1330277847,), (1330277850,), (1330278132,), (1330278044,), (1330278046,), (1330278049,), (1330278104,), (1330278107,), (1330278216,), (1330278218,), (1330278220,), (1330278224,), (1330278237,), (1330278293,), (1330278296,), (1330278306,), (1330278328,), (1330278337,), (1330278416,), (1330278439,), (1330278561,), (1330278815,), (1330278901,), (1330279150,), (1330279152,), (1330279155,), (1330279160,), (1330279164,), (1330279369,), (1330279388,), (1330279400,), (1330279403,), (1330279406,), (1330279408,), (1330279425,), (1330279437,), (1330279449,), (1330279458,), (1330279462,), (1330279465,), (1330279531,), (1330279541,), (1330279543,), (1330279546,), (1330279557,), (1330279562,), (1330279614,), (1330279617,), (1330279653,), (1330279658,), (1330279661,), (1330279709,), (1330279711,), (1330279716,), (1330279720,), (1330279725,), (1330279739,), (1330279783,), (1330279789,), (1330279792,), (1330279807,), (1330279810,), (1330279813,), (1330279831,), (1330279835,), (1330279837,), (1330279840,), (1330279853,), (1330279862,), (1330279993,), (1330280002,), (1330280007,), (1330280011,), (1330280022,), (1330280031,), (1330280053,), (1330280055,), (1330280060,), (1330280064,), (1330280068,), (1330280074,), (1330280116,), (1330280130,), (1330280137,), (1330280181,), (1330280185,), (1330280266,), (1330280269,), (1330280278,), (1330280280,), (1330281407,), (1330281572,), (1330281708,), (1330281725,), (1330280103,), (1330280105,), (1330280109,), (1330280170,), (1330280173,), (1330280175,), (1330280178,), (1330280252,), (1330281129,), (1330281135,), (1330281142,), (1330281159,), (1330281164,), (1330281171,), (1330281207,), (1330281212,), (1330281217,), (1330281225,), (1330281230,), (1330281236,), (1330281260,), (1330281266,), (1330281274,), (1330281279,), (1330281284,), (1330281289,), (1330281303,), (1330281309,), (1330281313,), (1330281319,), (1330281323,), (1330281327,), (1330281342,), (1330281361,), (1330281371,), (1330281377,), (1330281384,), (1330281440,), (1330281446,), (1330281451,), (1330281456,), (1330281461,), (1330281466,), (1330281532,), (1330281537,), (1330281549,), (1330281556,), (1330281565,), (1330281591,), (1330281602,), (1330281611,), (1330281616,), (1330281620,), (1330281623,), (1330281683,), (1330281691,), (1330281819,), (1330281824,), (1330281829,), (1330281833,), (1330281837,), (1330281878,), (1330281884,), (1330281888,), (1330281895,), (1330281900,), (1330281951,), (1330299107,), (1330299378,), (1330281936,), (1330281941,), (1330281946,), (1330282029,), (1330282032,), (1330282035,), (1330282038,), (1330282040,), (1330282042,), (1330282106,), (1330282117,), (1330282125,), (1330282140,), (1330282143,), (1330282148,), (1330282245,), (1330282249,), (1330282252,), (1330282284,), (1330282294,), (1330282298,), (1330283158,), (1330283198,), (1330283201,), (1330283204,), (1330283277,), (1330283282,), (1330283377,), (1330283386,), (1330283391,), (1330283394,), (1330283397,), (1330283401,), (1330283441,), (1330283444,), (1330283447,), (1330283451,), (1330283459,), (1330283462,), (1330283523,), (1330283654,), (1330283670,), (1330283673,), (1330283676,), (1330283680,), (1330283791,), (1330283794,), (1330283796,), (1330283799,), (1330283805,), (1330283815,), (1330283886,), (1330283893,), (1330283895,), (1330283897,), (1330283898,), (1330283899,), (1330283978,), (1330283982,), (1330283995,), (1330284002,), (1330284008,), (1330284014,), (1330284059,), (1330284062,), (1330284065,), (1330284070,), (1330284078,), (1330284082,), (1330284123,), (1330284126,), (1330284133,), (1330284136,), (1330284140,), (1330284145,), (1330284195,), (1330284197,), (1330284202,), (1330284211,), (1330284224,), (1330284238,), (1330284306,), (1330284310,), (1330284313,), (1330284317,), (1330284395,), (1330299105,), (1330299373,), (1330284302,), (1330284303,), (1330284381,), (1330284383,), (1330284385,), (1330284387,), (1330284391,), (1330284443,), (1330284450,), (1330284455,), (1330284460,), (1330284464,), (1330284467,), (1330284532,), (1330284537,), (1330284547,), (1330284551,), (1330284557,), (1330284563,), (1330284600,), (1330284604,), (1330284610,), (1330284615,), (1330284620,), (1330284625,), (1330285646,), (1330285721,), (1330285726,), (1330285732,), (1330285737,), (1330285740,), (1330285941,), (1330286109,), (1330286116,), (1330286121,), (1330286127,), (1330286185,), (1330286337,), (1330286339,), (1330286360,), (1330286450,), (1330286505,), (1330286509,), (1330286691,), (1330286699,), (1330286705,), (1330286708,), (1330286712,), (1330286717,), (1330286755,), (1330286762,), (1330286767,), (1330286784,), (1330286788,), (1330286792,), (1330286865,), (1330286872,), (1330286876,), (1330286882,), (1330286886,), (1330286891,), (1330286924,), (1330286937,), (1330286951,), (1330286964,), (1330286969,), (1330286973,), (1330287044,), (1330287047,), (1330287057,), (1330287079,), (1330287082,), (1330287086,), (1330287319,), (1330287378,), (1330287417,), (1330287550,), (1330287563,), (1330297055,), (1330298048,), (1330298495,), (1330298578,), (1330298635,), (1330298701,), (1330298972,), (1330298976,), (1330298978,), (1330298985,), (1330298988,), (1330298990,), (1330299036,), (1330299040,), (1330299099,), (1330299361,), (1330299365,), (1330299368,), (1330287151,), (1330287181,), (1330287247,), (1330287531,), (1330287539,), (1330287544,), (1330287547,), (1330287623,), (1330287627,), (1330287630,), (1330287633,), (1330287779,), (1330287999,), (1330288528,), (1330288534,), (1330288539,), (1330288543,), (1330288547,), (1330288551,), (1330288574,), (1330288578,), (1330288581,), (1330288585,), (1330288588,), (1330288591,), (1330288751,), (1330288760,), (1330288765,), (1330288771,), (1330288776,), (1330288781,), (1330288842,), (1330288845,), (1330288849,), (1330288853,), (1330288857,), (1330288861,), (1330288951,), (1330288959,), (1330288964,), (1330288966,), (1330288969,), (1330288972,), (1330289130,), (1330289144,), (1330289160,), (1330289163,), (1330289166,), (1330289169,), (1330289239,), (1330289248,), (1330289250,), (1330289273,), (1330289275,), (1330289291,), (1330289587,), (1330289593,), (1330289599,), (1330289607,), (1330289615,), (1330289622,), (1330289677,), (1330289680,), (1330289684,), (1330289687,), (1330290442,), (1330290543,), (1330290715,), (1330290721,), (1330291325,), (1330292332,), (1330292399,), (1330292455,), (1330292589,), (1330292594,), (1330292603,), (1330292627,), (1330292631,), (1330296771,), (1330296773,), (1330296779,), (1330296781,), (1330296784,), (1330296878,), (1330296881,), (1330296939,), (1330296987,), (1330296991,), (1330297002,), (1330297028,), (1330297031,), (1330297034,), (1330297045,), (1330297048,), (1330298016,), (1330298019,), (1330298022,), (1330298032,), (1330298041,), (1330298480,), (1330298483,), (1330298487,), (1330298490,), (1330298492,), (1330298546,), (1330298548,), (1330298565,), (1330298568,), (1330298572,), (1330298620,), (1330298624,), (1330298627,), (1330298630,), (1330298633,), (1330298679,), (1330298683,), (1330298688,), (1330298692,), (1330298696,), (1330289669,), (1330289673,), (1330289729,), (1330289734,), (1330289737,), (1330289742,), (1330289756,), (1330289760,), (1330289797,), (1330289812,), (1330289817,), (1330289821,), (1330289844,), (1330289847,), (1330290421,), (1330290424,), (1330290429,), (1330290434,), (1330290629,), (1330290631,), (1330290635,), (1330290642,), (1330290649,), (1330290654,), (1330290699,), (1330290702,), (1330290706,), (1330290710,), (1330290769,), (1330290772,), (1330290777,), (1330290780,), (1330290793,), (1330290807,), (1330291195,), (1330291230,), (1330291276,), (1330291320,), (1330291322,), (1330291389,), (1330291394,), (1330291400,), (1330291413,), (1330291420,), (1330291424,), (1330291437,), (1330291445,), (1330291451,), (1330291460,), (1330291467,), (1330291471,), (1330291499,), (1330291516,), (1330291530,), (1330291543,), (1330291552,), (1330291556,), (1330291616,), (1330291634,), (1330291658,), (1330291675,), (1330291684,), (1330291693,), (1330291760,), (1330291763,), (1330291768,), (1330291773,), (1330291777,), (1330291780,), (1330291837,), (1330291841,), (1330291864,), (1330291867,), (1330291872,), (1330291876,), (1330291942,), (1330291947,), (1330291954,), (1330291958,), (1330291965,), (1330291977,), (1330292093,), (1330292152,), (1330292225,), (1330292576,), (1330292787,), (1330292793,), (1330292797,), (1330292802,), (1330292810,), (1330292813,), (1330293049,), (1330293311,), (1330293570,), (1330293730,), (1330293742,), (1330293750,), (1330293796,), (1330293797,), (1330293800,), (1330293914,), (1330294048,), (1330294051,), (1330294196,), (1330294199,), (1330294203,), (1330294205,), (1330294207,), (1330294210,), (1330294241,), (1330294244,), (1330294247,), (1330294249,), (1330294251,), (1330294259,), (1330294345,), (1330294352,), (1330294359,), (1330294366,), (1330294371,), (1330294375,), (1330294405,), (1330294414,), (1330294421,), (1330294429,), (1330294436,), (1330294448,), (1330294461,), (1330294467,), (1330294475,), (1330294481,), (1330294487,), (1330294514,), (1330294571,), (1330294574,), (1330294577,), (1330294580,), (1330294583,), (1330294586,), (1330294691,), (1330295122,), (1330295126,), (1330296539,), (1330296543,), (1330296560,), (1330296565,), (1330296575,), (1330296586,), (1330296592,), (1330296597,), (1330296641,), (1330296645,), (1330296649,), (1330296652,), (1330296655,), (1330296658,), (1330296707,), (1330296710,), (1330296713,), (1330296733,), (1330296736,), (1330296740,), (1330296766,), (1330294663,), (1330294669,), (1330294674,), (1330294680,), (1330294687,), (1330294706,), (1330294713,), (1330294717,), (1330294722,), (1330294727,), (1330294736,), (1330294750,), (1330294913,), (1330295107,), (1330295119,), (1330295283,), (1330295296,), (1330295301,), (1330295307,), (1330295324,), (1330295329,), (1330295402,), (1330295406,), (1330295427,), (1330295430,), (1330295433,), (1330295437,), (1330295479,), (1330295483,), (1330295487,), (1330295491,), (1330295494,), (1330295498,), (1330295583,), (1330295588,), (1330295592,), (1330295601,), (1330295656,), (1330295665,), (1330296108,), (1330296141,), (1330296229,), (1330296295,), (1330296311,), (1330296316,), (1330296359,), (1330296364,), (1330296377,), (1330296384,), (1330296395,), (1330296409,), (1330296439,), (1330296445,), (1330296486,), (1330296491,), (1330296496,), (1330296500,), (1330296514,), (1330296518,), (1330296528,), (1330296535,), (1330299358,), (1330299450,), (1330299611,), (1330299702,), (1330299708,), (1330299711,), (1330300652,), (1330300657,), (1330300663,), (1330300864,), (1330301086,), (1330301091,), (1330301094,), (1330301099,), (1330301136,), (1330301369,), (1330301381,), (1330301383,), (1330301388,), (1330301393,), (1330301450,), (1330301453,), (1330301560,), (1330301569,), (1330301571,), (1330301574,), (1330301576,), (1330301578,), (1330301955,), (1330301962,), (1330301966,), (1330301972,), (1330301975,), (1330301980,), (1330302019,), (1330302024,), (1330302027,), (1330302037,), (1330302044,), (1330302046,), (1330302083,), (1330302090,), (1330302094,), (1330302097,), (1330302100,), (1330302103,), (1330302150,), (1330302153,), (1330302339,), (1330303576,), (1330303670,), (1330303675,), (1330303720,), (1330303726,), (1330304005,), (1330304009,), (1330302131,), (1330302136,), (1330302141,), (1330302145,), (1330302279,), (1330302282,), (1330302292,), (1330302319,), (1330302325,), (1330302622,), (1330302627,), (1330302629,), (1330302632,), (1330302636,), (1330302638,), (1330302847,), (1330302942,), (1330303107,), (1330303219,), (1330303228,), (1330303249,), (1330303518,), (1330303524,), (1330303562,), (1330303568,), (1330303571,), (1330303645,), (1330303648,), (1330303653,), (1330303662,), (1330303701,), (1330303709,), (1330303712,), (1330303851,), (1330303904,), (1330303906,), (1330303909,), (1330303912,), (1330303914,), (1330303948,), (1330303961,), (1330303965,), (1330303970,), (1330303974,), (1330303977,), (1330304000,), (1330304064,), (1330304067,), (1330304070,), (1330304152,), (1330304154,), (1330304306,), (1330304317,), (1330304327,), (1330304330,), (1330304334,), (1330304337,), (1330304523,), (1330304520,), (1330305406,), (1330305466,), (1330305634,), (1330305637,), (1330305641,), (1330305649,), (1330305686,), (1330305823,), (1330305888,), (1330305891,), (1330305932,), (1330305935,), (1330306026,), (1330306217,), (1330306221,), (1330306226,), (1330306229,), (1330306238,), (1330306245,), (1330306271,), (1330306276,), (1330306280,), (1330306287,), (1330306291,), (1330306314,), (1330306329,), (1330306334,), (1330306630,), (1330306609,), (1330306625,), (1330306710,), (1330307107,), (1330307115,), (1330307129,), (1330307416,), (1330307423,), (1330308263,), (1330308266,), (1330308269,), (1330308507,), (1330308557,), (1330308561,), (1330308569,), (1330308723,), (1330308730,), (1330308734,), (1330308741,), (1330308875,), (1330308943,), (1330308950,), (1330308955,), (1330309080,), (1330309241,), (1330309251,), (1330309258,), (1330309266,), (1330309273,), (1330309289,), (1330309294,), (1330309331,), (1330309385,), (1330309430,), (1330309432,), (1330309436,), (1330309483,), (1330309488,), (1330309492,), (1330309497,), (1330309621,), (1330309627,), (1330309660,), (1330309666,), (1330310582,), (1330310630,), (1330310760,), (1330310775,), (1330310962,), (1330311041,), (1330311047,), (1330311052,), (1330311057,), (1330311440,), (1330311460,), (1330311469,), (1330311478,), (1330311592,), (1330311606,), (1330311610,), (1330311618,), (1330311663,), (1330311670,), (1330311675,), (1330311680,), (1330311766,), (1330313346,), (1330314551,), (1330311752,), (1330311762,), (1330311819,), (1330311826,), (1330311830,), (1330311843,), (1330311847,), (1330311852,), (1330311897,), (1330311904,), (1330311909,), (1330311912,), (1330311918,), (1330311922,), (1330312251,), (1330312258,), (1330312264,), (1330312270,), (1330312274,), (1330312340,), (1330312352,), (1330312357,), (1330312362,), (1330312367,), (1330312371,), (1330312375,), (1330313330,), (1330313335,), (1330313340,), (1330313965,), (1330313968,), (1330313973,), (1330313976,), (1330313980,), (1330313985,), (1330314028,), (1330314032,), (1330314035,), (1330314040,), (1330314044,), (1330314061,), (1330314145,), (1330314167,), (1330314258,), (1330314310,), (1330314313,), (1330314316,), (1330314362,), (1330314367,), (1330314371,), (1330314373,), (1330314383,), (1330314392,), (1330314531,), (1330314536,), (1330314541,), (1330314545,), (1330314664,), (1330314666,), (1330314669,), (1330314709,), (1330314713,), (1330314718,), (1330314740,), (1330314749,), (1330314962,), (1330314970,), (1330315112,), (1330315205,), (1330315451,), (1330315620,), (1330315990,), (1330317081,), (1330317084,), (1330317110,), (1330317113,), (1330317117,), (1330318973,), (1330319083,), (1330319086,), (1330314819,), (1330314896,), (1330314955,), (1330314959,), (1330315013,), (1330315027,), (1330315035,), (1330315038,), (1330315042,), (1330315046,), (1330315069,), (1330315073,), (1330315968,), (1330315972,), (1330315975,), (1330315977,), (1330315980,), (1330316166,), (1330316171,), (1330316174,), (1330316179,), (1330316183,), (1330316188,), (1330316315,), (1330316321,), (1330316324,), (1330316327,), (1330316330,), (1330316332,), (1330316459,), (1330316460,), (1330316471,), (1330316473,), (1330316481,), (1330316483,), (1330316572,), (1330316575,), (1330316582,), (1330316597,), (1330316601,), (1330316604,), (1330316682,), (1330316728,), (1330316747,), (1330316774,), (1330316777,), (1330316810,), (1330316858,), (1330316865,), (1330316873,), (1330316877,), (1330316880,), (1330316883,), (1330317001,), (1330317004,), (1330317012,), (1330317015,), (1330317029,), (1330317035,), (1330317072,), (1330317075,), (1330317078,), (1330317107,), (1330317368,), (1330318564,), (1330317069,), (1330317102,), (1330317104,), (1330317252,), (1330317256,), (1330317259,), (1330317262,), (1330317265,), (1330317269,), (1330317336,), (1330317340,), (1330317350,), (1330317354,), (1330317361,), (1330317396,), (1330317399,), (1330317401,), (1330317595,), (1330317844,), (1330318084,), (1330318509,), (1330318511,), (1330318514,), (1330318525,), (1330318538,), (1330318630,), (1330318905,), (1330318913,), (1330318916,), (1330318919,), (1330319164,), (1330319401,), (1330319406,), (1330319409,), (1330319434,), (1330319437,), (1330319451,), (1330319625,), (1330320629,), (1330321305,), (1330319618,), (1330319623,), (1330320593,), (1330320606,), (1330320608,), (1330321177,), (1330321180,), (1330321184,), (1330321187,), (1330321233,), (1330321237,), (1330321339,), (1330321342,), (1330321345,), (1330322281,), (1330322683,), (1330322710,), (1330322745,), (1330322820,), (1330322823,), (1330322887,), (1330322978,), (1330322982,), (1330323060,), (1330323063,), (1330323065,), (1330323069,), (1330323112,), (1330323115,), (1330323117,), (1330323203,), (1330323204,), (1330323208,), (1330323231,), (1330323227,), (1330323228,), (1330323230,), (1330323296,), (1330323299,), (1330323300,), (1330323359,), (1330323410,), (1330323414,), (1330323438,), (1330323442,), (1330323444,), (1330323448,), (1330323489,), (1330323497,), (1330324351,), (1330324381,), (1330324387,), (1330324391,), (1330324663,), (1330324709,), (1330324729,), (1330324734,), (1330324738,), (1330324741,), (1330324903,), (1330324906,), (1330324964,), (1330324984,), (1330325074,), (1330325078,), (1330325081,), (1330325228,), (1330325231,), (1330325244,), (1330325259,), (1330325273,), (1330325291,), (1330325450,), (1330325453,), (1330325455,), (1330325457,), (1330325461,), (1330325468,), (1330325515,), (1330325519,), (1330325522,), (1330325525,), (1330325529,), (1330325532,), (1330325591,), (1330325595,), (1330325603,), (1330325611,), (1330325621,), (1330325632,), (1330326169,), (1330325693,), (1330325908,), (1330325911,), (1330325914,), (1330325916,), (1330325918,), (1330325923,), (1330325950,), (1330325953,), (1330325955,), (1330326527,), (1330326530,), (1330326531,), (1330326534,), (1330326637,), (1330326639,), (1330326643,), (1330326722,), (1330326724,), (1330326731,), (1330326734,), (1330326737,), (1330326739,), (1330326885,), (1330326887,), (1330326889,), (1330327008,), (1330327011,), (1330327013,), (1330327036,), (1330327041,), (1330327100,), (1330327115,), (1330327126,), (1330327131,), (1330328913,), (1330328898,), (1330329000,), (1330329002,), (1330329145,), (1330329148,), (1330329151,), (1330329153,), (1330329155,), (1330329215,), (1330329218,), (1330329221,), (1330329224,), (1330329227,), (1330329231,), (1330329267,), (1330329277,), (1330329279,), (1330329281,), (1330329288,), (1330329293,), (1330329297,), (1330329300,), (1330329301,), (1330329357,), (1330329362,), (1330329364,), (1330329367,), (1330329724,), (1330329808,), (1330329853,), (1330329862,), (1330329876,), (1330329879,), (1330329916,), (1330329918,), (1330329923,), (1330330140,), (1330330143,), (1330330146,), (1330233796,), (1330233800,), (1330233801,), (1330233838,), (1330233841,), (1330233844,), (1330233848,), (1330233877,), (1330233879,), (1330233880,), (1330233882,), (1330233885,), (1330233888,), (1330234037,), (1330234041,), (1330234043,), (1330234045,), (1330234047,), (1330234076,), (1330234079,), (1330234080,), (1330234082,), (1330234084,), (1330234087,), (1330234102,), (1330234106,), (1330234108,), (1330234109,), (1330234110,), (1330234138,), (1330234166,), (1330234169,), (1330234171,), (1330234172,), (1330234174,), (1330234176,), (1330234193,), (1330234254,), (1330234279,), (1330234280,), (1330234282,), (1330234300,), (1330234319,), (1330234322,), (1330234358,), (1330234360,), (1330234362,), (1330234366,), (1330234369,), (1330234384,), (1330234388,), (1330234426,), (1330234429,), (1330234459,), (1330234463,), (1330234464,), (1330234499,), (1330234503,), (1330234507,), (1330234511,), (1330234514,), (1330234517,), (1330234857,), (1330234883,), (1330234885,), (1330234887,), (1330234889,), (1330234939,), (1330234942,), (1330234945,), (1330234972,), (1330234978,), (1330234981,), (1330235023,), (1330235027,), (1330235074,), (1330235076,), (1330235077,), (1330235078,), (1330235079,), (1330235099,), (1330235105,), (1330235108,), (1330235113,), (1330235194,), (1330235196,), (1330235228,), (1330235232,), (1330235235,), (1330235238,), (1330235239,), (1330235241,), (1330235244,), (1330235247,), (1330235251,), (1330235275,), (1330235278,), (1330235280,), (1330235283,), (1330235316,), (1330234846,), (1330234849,), (1330234851,), (1330234854,), (1330234855,), (1330234878,), (1330234880,), (1330234924,), (1330234930,), (1330234936,), (1330234960,), (1330234965,), (1330234967,), (1330234999,), (1330235004,), (1330235010,), (1330235017,), (1330235072,), (1330235087,), (1330235094,), (1330235175,), (1330235179,), (1330235184,), (1330235190,), (1330235215,), (1330235220,), (1330235224,), (1330235272,), (1330235274,), (1330235313,), (1330235309,), (1330235311,), (1330235410,), (1330235415,), (1330235461,), (1330235463,), (1330235540,), (1330235577,), (1330235647,), (1330235651,), (1330235663,), (1330235712,), (1330235735,), (1330235739,), (1330235766,), (1330235770,), (1330235775,), (1330235778,), (1330235807,), (1330235802,), (1330235840,), (1330235876,), (1330235880,), (1330235883,), (1330235937,), (1330235944,), (1330235988,), (1330235989,), (1330236089,), (1330236106,), (1330236111,), (1330236144,), (1330236148,), (1330236153,), (1330236158,), (1330236201,), (1330236204,), (1330236206,), (1330236208,), (1330236209,), (1330236213,), (1330236237,), (1330236240,), (1330236242,), (1330236243,), (1330236296,), (1330236300,), (1330236303,), (1330236311,), (1330236315,), (1330236334,), (1330236428,), (1330236447,), (1330236452,), (1330236642,), (1330236678,), (1330236682,), (1330236686,), (1330236717,), (1330236770,), (1330236783,), (1330236819,), (1330236852,), (1330236895,), (1330236892,), (1330236925,), (1330236928,), (1330237108,), (1330237113,), (1330237172,), (1330237174,), (1330237220,), (1330237224,), (1330237495,), (1330238111,), (1330237479,), (1330237484,), (1330237490,), (1330237557,), (1330237560,), (1330237562,), (1330237564,), (1330237567,), (1330237570,), (1330237614,), (1330237616,), (1330237617,), (1330237618,), (1330237619,), (1330237620,), (1330237661,), (1330237671,), (1330237676,), (1330237682,), (1330237686,), (1330237689,), (1330237698,), (1330237702,), (1330237707,), (1330237712,), (1330237716,), (1330237721,), (1330237765,), (1330237767,), (1330237770,), (1330237773,), (1330237775,), (1330237778,), (1330237821,), (1330237824,), (1330237826,), (1330237827,), (1330237828,), (1330237830,), (1330237868,), (1330237869,), (1330237870,), (1330237871,), (1330237872,), (1330237875,), (1330237919,), (1330237922,), (1330237927,), (1330237932,), (1330237936,), (1330237941,), (1330237985,), (1330237988,), (1330237992,), (1330237996,), (1330238001,), (1330238006,), (1330238048,), (1330238050,), (1330238051,), (1330238053,), (1330238056,), (1330238059,), (1330238096,), (1330238100,), (1330238104,), (1330238107,), (1330238157,), (1330238094,), (1330238234,), (1330238235,), (1330238237,), (1330238238,), (1330238285,), (1330238292,), (1330238298,), (1330238302,), (1330238307,), (1330238329,), (1330238334,), (1330238340,), (1330238345,), (1330238348,), (1330238350,), (1330238367,), (1330238371,), (1330238405,), (1330238408,), (1330238416,), (1330238422,), (1330238427,), (1330238451,), (1330238458,), (1330238463,), (1330238470,), (1330238475,), (1330238521,), (1330238524,), (1330238526,), (1330238529,), (1330238533,), (1330238537,), (1330238586,), (1330238592,), (1330238595,), (1330238600,), (1330238604,), (1330238609,), (1330238649,), (1330238650,), (1330238651,), (1330238653,), (1330238657,), (1330238659,), (1330238686,), (1330238688,), (1330238689,), (1330238691,), (1330238693,), (1330238696,), (1330238732,), (1330238773,), (1330238775,), (1330238778,), (1330238831,), (1330238836,), (1330238841,), (1330240845,), (1330240847,), (1330240875,), (1330240877,), (1330240899,), (1330240901,), (1330240902,), (1330240903,), (1330240905,), (1330240909,), (1330240938,), (1330240941,), (1330244539,), (1330306633,), (1330306640,), (1330238723,), (1330238726,), (1330238727,), (1330238728,), (1330238729,), (1330238762,), (1330238765,), (1330238769,), (1330238819,), (1330238824,), (1330238828,), (1330239045,), (1330239050,), (1330239056,), (1330239060,), (1330239063,), (1330239066,), (1330239082,), (1330239085,), (1330239090,), (1330239095,), (1330239101,), (1330239106,), (1330239128,), (1330239133,), (1330239140,), (1330239146,), (1330239152,), (1330239157,), (1330239170,), (1330239177,), (1330239182,), (1330239187,), (1330239193,), (1330239198,), (1330239210,), (1330239217,), (1330239223,), (1330239230,), (1330239237,), (1330239243,), (1330239266,), (1330239270,), (1330239275,), (1330239280,), (1330239286,), (1330239352,), (1330239357,), (1330239391,), (1330239393,), (1330239396,), (1330239398,), (1330240790,), (1330240792,), (1330240818,), (1330240820,), (1330240821,), (1330240823,), (1330240824,), (1330240826,), (1330240830,), (1330240835,), (1330240837,), (1330240841,), (1330240870,), (1330240871,), (1330240873,), (1330240874,), (1330239261,), (1330239341,), (1330239343,), (1330239345,), (1330239347,), (1330239387,), (1330239388,), (1330239452,), (1330239454,), (1330239458,), (1330239465,), (1330239469,), (1330239475,), (1330239523,), (1330239525,), (1330239528,), (1330239529,), (1330239531,), (1330239534,), (1330239580,), (1330239585,), (1330239589,), (1330239594,), (1330239599,), (1330239600,), (1330239634,), (1330239636,), (1330239637,), (1330239638,), (1330239640,), (1330239642,), (1330239667,), (1330239669,), (1330239670,), (1330239671,), (1330239673,), (1330239675,), (1330239710,), (1330239714,), (1330239718,), (1330239721,), (1330239726,), (1330239728,), (1330239762,), (1330239765,), (1330239768,), (1330239769,), (1330239772,), (1330239774,), (1330239795,), (1330239798,), (1330239800,), (1330239803,), (1330239805,), (1330239810,), (1330239829,), (1330239832,), (1330239833,), (1330239835,), (1330239838,), (1330239841,), (1330239865,), (1330239867,), (1330239869,), (1330239873,), (1330239903,), (1330239963,), (1330239964,), (1330239966,), (1330240780,), (1330240783,), (1330240785,), (1330240787,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20012025': {'nb_upload': 30, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19780895]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] map_info['map_portfolio_photo'] : {19780895: [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846]} final : True mtd_id 4302 list_pids : [1330235313, 1330235274, 1330235272, 1330235224, 1330235220, 1330235215, 1330235190, 1330235184, 1330235179, 1330235175, 1330235094, 1330235087, 1330235072, 1330235017, 1330235010, 1330235004, 1330234999, 1330234967, 1330234965, 1330234960, 1330234936, 1330234930, 1330234924, 1330234880, 1330234878, 1330234855, 1330234854, 1330234851, 1330234849, 1330234846] Looping around the photos to save general results len do output : 1 /19780895Didn'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, '2572360') ('4302', '19780895', '1330235313', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360') ('4302', None, None, None, None, None, None, None, '2572360') ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '19780895', 'None', None, None, None, None, '2572360'), ('4302', '19780895', '1330235313', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235274', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235272', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235224', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235220', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235215', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235190', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235184', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235179', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235175', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235094', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235087', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235072', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235017', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235010', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330235004', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234999', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234967', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234965', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234960', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234936', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234930', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234924', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234880', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234878', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234855', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234854', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234851', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234849', None, None, None, None, None, '2572360'), ('4302', '19780895', '1330234846', None, None, None, None, None, '2572360')] time used for this insertion : 0.016420602798461914 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.709656238555908 time spend to save output : 0.016777753829956055 total time spend for step 5 : 3.7264339923858643 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 (2572360) 3.08user 2.48system 0:15.57elapsed 35%CPU (0avgtext+0avgdata 166420maxresident)k 600inputs+22760outputs (17major+80754minor)pagefaults 0swaps