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 : 763016 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 (3952468) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3952468) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867405 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3952468'] with mtr_portfolio_ids : ['27867405'] and first list_photo_ids : [] new path : /proc/763016/ Name: python3 Umask: 0002 State: R (running) Tgid: 763016 Ngid: 0 Pid: 763016 PPid: 763014 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 763016 NSpid: 763016 NSpgid: 760606 NSsid: 760606 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100568 kB VmRSS: 100568 kB RssAnon: 59840 kB RssFile: 40728 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 53 nonvoluntary_ctxt_switches: 110 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '763016', 'Ngid': '0', 'Pid': '763016', 'PPid': '763014', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '763016', 'NSpid': '763016', 'NSpgid': '760606', 'NSsid': '760606', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100568 kB', 'VmRSS': '100568 kB', 'RssAnon': '59840 kB', 'RssFile': '40728 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '53', 'nonvoluntary_ctxt_switches': '110'} ('datou_batch_current', '763016', '1106856', '0', '1106856', '865608', '100568', b'', 'marlene', '3952468') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27867405) 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 (3952468 ) ) 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 (27867405) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389745568, 'portfolio_id': 27867405}, {'photo_id': 1389734893, 'portfolio_id': 27867405}, {'photo_id': 1389732010, 'portfolio_id': 27867405}, {'photo_id': 1389732002, 'portfolio_id': 27867405}, {'photo_id': 1389731998, 'portfolio_id': 27867405}, {'photo_id': 1389731993, 'portfolio_id': 27867405}, {'photo_id': 1389731987, 'portfolio_id': 27867405}, {'photo_id': 1389731969, 'portfolio_id': 27867405}, {'photo_id': 1389731966, 'portfolio_id': 27867405}, {'photo_id': 1389731963, 'portfolio_id': 27867405}, {'photo_id': 1389731960, 'portfolio_id': 27867405}, {'photo_id': 1389731953, 'portfolio_id': 27867405}, {'photo_id': 1389731949, 'portfolio_id': 27867405}, {'photo_id': 1389731940, 'portfolio_id': 27867405}, {'photo_id': 1389731929, 'portfolio_id': 27867405}, {'photo_id': 1389731901, 'portfolio_id': 27867405}, {'photo_id': 1389731899, 'portfolio_id': 27867405}, {'photo_id': 1389731896, 'portfolio_id': 27867405}, {'photo_id': 1389731894, 'portfolio_id': 27867405}, {'photo_id': 1389731738, 'portfolio_id': 27867405}, {'photo_id': 1389731731, 'portfolio_id': 27867405}, {'photo_id': 1389731721, 'portfolio_id': 27867405}, {'photo_id': 1389731697, 'portfolio_id': 27867405}, {'photo_id': 1389731434, 'portfolio_id': 27867405}, {'photo_id': 1389731430, 'portfolio_id': 27867405}, {'photo_id': 1389731421, 'portfolio_id': 27867405}, {'photo_id': 1389731417, 'portfolio_id': 27867405}] map_portfolio_id_photo_id: {27867405: [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417]} ##### 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.05464458465576172 #### 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 Fri Oct 17 10:31:59 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 (27867405) 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 : 27867405 get user id for portfolio 27867405 get sub ptf for main ptf 27867405, type 3726 and hashtags ['cartonnette', 'mal_croppe', 'autre_refus', 'Carton_brun', 'flou', 'metal', 'environnement', 'plastique', 'papier', 'kraft', 'Teint_Dans_La_Masse', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27867405 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','autre_refus','Carton_brun','flou','metal','environnement','plastique','papier','kraft','Teint_Dans_La_Masse','Carton_gris')) 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`=27867405 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','autre_refus','Carton_brun','flou','metal','environnement','plastique','papier','kraft','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27867405, 'sub_port_id': 27867453, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810201, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'mal_croppe': {'main_port_id': 27867405, 'sub_port_id': 27867454, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810202, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'flou': {'main_port_id': 27867405, 'sub_port_id': 27867460, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810203, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'papier': {'main_port_id': 27867405, 'sub_port_id': 27867468, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810204, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'Carton_brun': {'main_port_id': 27867405, 'sub_port_id': 27867469, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810205, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 27867405, 'sub_port_id': 27867470, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810206, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'plastique': {'main_port_id': 27867405, 'sub_port_id': 27867471, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810207, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'kraft': {'main_port_id': 27867405, 'sub_port_id': 27867472, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810208, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'metal': {'main_port_id': 27867405, 'sub_port_id': 27867473, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810209, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'environnement': {'main_port_id': 27867405, 'sub_port_id': 27867474, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810210, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'Carton_gris': {'main_port_id': 27867405, 'sub_port_id': 27867484, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810211, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}, 'cartonnette': {'main_port_id': 27867405, 'sub_port_id': 27867488, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810212, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 8, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 31)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27867453 , 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=27867405 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 (27867453) result : ((1389733894,), (1389733896,), (1389734001,), (1389734051,), (1389740535,), (1389740536,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867454 , 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=27867405 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 (27867454) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867460 , 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=27867405 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 (27867460) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867468 , 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=27867405 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 (27867468) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867469 , 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=27867405 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 (27867469) result : ((1389734209,), (1389740541,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867470 , 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=27867405 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 (27867470) result : ((1389732005,), (1389733746,), (1389733748,), (1389733749,), (1389733751,), (1389733753,), (1389734094,), (1389740530,), (1389740531,), (1389740532,), (1389740533,), (1389740534,), (1389740549,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867471 , 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=27867405 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 (27867471) result : ((1389734056,), (1389740552,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867472 , 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=27867405 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 (27867472) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867473 , 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=27867405 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 (27867473) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867474 , 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=27867405 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 (27867474) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867484 , 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=27867405 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 (27867484) result : ((1389733902,), (1389734004,), (1389734095,), (1389740537,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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 27867488 , 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=27867405 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 (27867488) result : ((1389732008,), (1389732009,), (1389733906,), (1389734006,), (1389734052,), (1389734053,), (1389734054,), (1389734055,), (1389734099,), (1389740539,), (1389740540,), (1389740550,), (1389740551,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27867405) result : ((1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,)) 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`=27867405 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','autre_refus','Carton_brun','flou','metal','environnement','plastique','papier','kraft','Teint_Dans_La_Masse','Carton_gris')) 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`=27867405 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','autre_refus','Carton_brun','flou','metal','environnement','plastique','papier','kraft','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27867405, 'sub_port_id': 27867490, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810213, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'mal_croppe': {'main_port_id': 27867405, 'sub_port_id': 27867491, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810214, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'flou': {'main_port_id': 27867405, 'sub_port_id': 27867492, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810215, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'papier': {'main_port_id': 27867405, 'sub_port_id': 27867493, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810216, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'Carton_brun': {'main_port_id': 27867405, 'sub_port_id': 27867494, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810217, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'Teint_Dans_La_Masse': {'main_port_id': 27867405, 'sub_port_id': 27867495, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810218, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'plastique': {'main_port_id': 27867405, 'sub_port_id': 27867496, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810219, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'kraft': {'main_port_id': 27867405, 'sub_port_id': 27867497, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810220, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'metal': {'main_port_id': 27867405, 'sub_port_id': 27867498, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810221, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'environnement': {'main_port_id': 27867405, 'sub_port_id': 27867499, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810222, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'Carton_gris': {'main_port_id': 27867405, 'sub_port_id': 27867500, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810223, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}, 'cartonnette': {'main_port_id': 27867405, 'sub_port_id': 27867501, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18810224, 'last_updated_at': datetime.datetime(2025, 10, 16, 12, 13, 5), 'last_updated_at_desc': datetime.datetime(2025, 10, 16, 12, 13, 5), 'last_updated_at_asc': datetime.datetime(2025, 10, 16, 12, 3, 36)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867490,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867453 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867491,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867454 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867492,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867460 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867493,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867468 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867494,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867469 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867495,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867470 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867496,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867471 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867497,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867472 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867498,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867473 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867499,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867474 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867500,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867484 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27867501,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27867488 lien utilise dans velours : https://marlene.fotonower.com/velours/27867490,27867491,27867492,27867493,27867494,27867495,27867496,27867497,27867498,27867499,27867500,27867501?tags=autre_refus,mal_croppe,flou,papier,Carton_brun,Teint_Dans_La_Masse,plastique,kraft,metal,environnement,Carton_gris,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27867405]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] map_info['map_portfolio_photo'] : {27867405: [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417]} final : False mtd_id 4302 list_pids : [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] Looping around the photos to save general results len do output : 1 /27867405. 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, '3952468') ('4302', '27867405', '1389745568', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 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, '27867405', "{'autre_refus': 27867453, 'mal_croppe': 27867454, 'flou': 27867460, 'papier': 27867468, 'Carton_brun': 27867469, 'Teint_Dans_La_Masse': 27867470, 'plastique': 27867471, 'kraft': 27867472, 'metal': 27867473, 'environnement': 27867474, 'Carton_gris': 27867484, 'cartonnette': 27867488}", None, None, None, None, '3952468'), ('4302', '27867405', '1389745568', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468')] time used for this insertion : 0.0651085376739502 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.147688627243042 time spend to save output : 0.06553053855895996 total time spend for step 1 : 5.213219165802002 step2:final Fri Oct 17 10:32:04 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 (27867405) 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 27867405 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389731434,1389731430,1389731421,1389731417,1389731738,1389731731,1389731721,1389731940,1389731697,1389731929,1389731901,1389731899,1389731896,1389731894,1389731969,1389731966,1389731963,1389731960,1389731953,1389731949,1389732010,1389732002,1389731998,1389731993,1389731987,1389745568,1389734893); 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([27867405]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} new output for save of step final : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] map_info['map_portfolio_photo'] : {27867405: [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417]} final : False mtd_id 4302 list_pids : [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] Looping around the photos to save general results len do output : 27 /1389745568.Didn't retrieve data . /1389734893.Didn't retrieve data . /1389732010.Didn't retrieve data . /1389732002.Didn't retrieve data . /1389731998.Didn't retrieve data . /1389731993.Didn't retrieve data . /1389731987.Didn't retrieve data . /1389731969.Didn't retrieve data . /1389731966.Didn't retrieve data . /1389731963.Didn't retrieve data . /1389731960.Didn't retrieve data . /1389731953.Didn't retrieve data . /1389731949.Didn't retrieve data . /1389731940.Didn't retrieve data . /1389731929.Didn't retrieve data . /1389731901.Didn't retrieve data . /1389731899.Didn't retrieve data . /1389731896.Didn't retrieve data . /1389731894.Didn't retrieve data . /1389731738.Didn't retrieve data . /1389731731.Didn't retrieve data . /1389731721.Didn't retrieve data . /1389731697.Didn't retrieve data . /1389731434.Didn't retrieve data . /1389731430.Didn't retrieve data . /1389731421.Didn't retrieve data . /1389731417.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, '3952468') ('4302', '27867405', '1389745568', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 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', '27867405', '1389745568', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389734893', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389732010', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389732002', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731998', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731993', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731987', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731969', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731966', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731963', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731960', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731953', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731949', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731940', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731929', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731901', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731899', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731896', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731894', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731738', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731731', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731721', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731697', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731434', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731430', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731421', '0.026818944049830536', None, None, None, None, '3952468'), ('4302', '27867405', '1389731417', '0.026818944049830536', None, None, None, None, '3952468')] time used for this insertion : 0.03757977485656738 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.241499662399292 time spend to save output : 0.03867697715759277 total time spend for step 2 : 0.28017663955688477 step3:velours_tree Fri Oct 17 10:32:04 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 : {27867405: [{'autre_refus': 27867453, 'mal_croppe': 27867454, 'flou': 27867460, 'papier': 27867468, 'Carton_brun': 27867469, 'Teint_Dans_La_Masse': 27867470, 'plastique': 27867471, 'kraft': 27867472, 'metal': 27867473, 'environnement': 27867474, 'Carton_gris': 27867484, 'cartonnette': 27867488}]} input_args_next_step : {27867405: ()} output_args : {27867405: [{'autre_refus': 27867453, 'mal_croppe': 27867454, 'flou': 27867460, 'papier': 27867468, 'Carton_brun': 27867469, 'Teint_Dans_La_Masse': 27867470, 'plastique': 27867471, 'kraft': 27867472, 'metal': 27867473, 'environnement': 27867474, 'Carton_gris': 27867484, 'cartonnette': 27867488}]} args : 27867405 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 : ({'autre_refus': 27867453, 'mal_croppe': 27867454, 'flou': 27867460, 'papier': 27867468, 'Carton_brun': 27867469, 'Teint_Dans_La_Masse': 27867470, 'plastique': 27867471, 'kraft': 27867472, 'metal': 27867473, 'environnement': 27867474, 'Carton_gris': 27867484, 'cartonnette': 27867488},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27867405) 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([27867405]) 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.3998408317565918 time spend to save output : 5.91278076171875e-05 total time spend for step 3 : 0.399899959564209 step4:send_mail_cod Fri Oct 17 10:32:04 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 : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} input_args_next_step : {1389745568: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389745568 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389734893 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389732010 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389732002 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731998 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731993 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731987 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731969 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731966 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731963 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731960 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731953 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731949 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731940 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731929 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731901 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731899 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731896 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731894 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731738 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731731 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731721 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731697 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731434 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731430 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731421 depend.output_id : 0 input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ()} output_args : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',)} args : 1389731417 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 : {27867405: [{'autre_refus': 27867453, 'mal_croppe': 27867454, 'flou': 27867460, 'papier': 27867468, 'Carton_brun': 27867469, 'Teint_Dans_La_Masse': 27867470, 'plastique': 27867471, 'kraft': 27867472, 'metal': 27867473, 'environnement': 27867474, 'Carton_gris': 27867484, 'cartonnette': 27867488}]} input_args_next_step : {1389745568: ('0.026818944049830536',), 1389734893: ('0.026818944049830536',), 1389732010: ('0.026818944049830536',), 1389732002: ('0.026818944049830536',), 1389731998: ('0.026818944049830536',), 1389731993: ('0.026818944049830536',), 1389731987: ('0.026818944049830536',), 1389731969: ('0.026818944049830536',), 1389731966: ('0.026818944049830536',), 1389731963: ('0.026818944049830536',), 1389731960: ('0.026818944049830536',), 1389731953: ('0.026818944049830536',), 1389731949: ('0.026818944049830536',), 1389731940: ('0.026818944049830536',), 1389731929: ('0.026818944049830536',), 1389731901: ('0.026818944049830536',), 1389731899: ('0.026818944049830536',), 1389731896: ('0.026818944049830536',), 1389731894: ('0.026818944049830536',), 1389731738: ('0.026818944049830536',), 1389731731: ('0.026818944049830536',), 1389731721: ('0.026818944049830536',), 1389731697: ('0.026818944049830536',), 1389731434: ('0.026818944049830536',), 1389731430: ('0.026818944049830536',), 1389731421: ('0.026818944049830536',), 1389731417: ('0.026818944049830536',), 27867405: ()} output_args : {27867405: [{'autre_refus': 27867453, 'mal_croppe': 27867454, 'flou': 27867460, 'papier': 27867468, 'Carton_brun': 27867469, 'Teint_Dans_La_Masse': 27867470, 'plastique': 27867471, 'kraft': 27867472, 'metal': 27867473, 'environnement': 27867474, 'Carton_gris': 27867484, 'cartonnette': 27867488}]} args : 27867405 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 :28, first value : ('0.026818944049830536',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27867405) 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_view ph WHERE photo_id IN (1389745568,1389734893,1389732010,1389732002,1389731998,1389731993,1389731987,1389731969,1389731966,1389731963,1389731960,1389731953,1389731949,1389731940,1389731929,1389731901,1389731899,1389731896,1389731894,1389731738,1389731731,1389731721,1389731697,1389731434,1389731430,1389731421,1389731417) Found this number of photos: 27 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389731417 begin to download photo : 1389731731 begin to download photo : 1389731929 begin to download photo : 1389731966 begin to download photo : 1389732010 download finish for photo 1389732010 begin to download photo : 1389734893 download finish for photo 1389731966 begin to download photo : 1389731969 download finish for photo 1389731417 begin to download photo : 1389731421 download finish for photo 1389731731 begin to download photo : 1389731738 download finish for photo 1389731929 begin to download photo : 1389731940 download finish for photo 1389734893 begin to download photo : 1389745568 download finish for photo 1389731969 begin to download photo : 1389731987 download finish for photo 1389731738 begin to download photo : 1389731894 download finish for photo 1389731421 begin to download photo : 1389731430 download finish for photo 1389745568 download finish for photo 1389731940 begin to download photo : 1389731949 download finish for photo 1389731987 begin to download photo : 1389731993 download finish for photo 1389731894 begin to download photo : 1389731896 download finish for photo 1389731430 begin to download photo : 1389731434 download finish for photo 1389731949 begin to download photo : 1389731953 download finish for photo 1389731993 begin to download photo : 1389731998 download finish for photo 1389731896 begin to download photo : 1389731899 download finish for photo 1389731434 begin to download photo : 1389731697 download finish for photo 1389731953 begin to download photo : 1389731960 download finish for photo 1389731998 begin to download photo : 1389732002 download finish for photo 1389731899 begin to download photo : 1389731901 download finish for photo 1389731697 begin to download photo : 1389731721 download finish for photo 1389731960 begin to download photo : 1389731963 download finish for photo 1389732002 download finish for photo 1389731901 download finish for photo 1389731963 download finish for photo 1389731721 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 results_Auto_P27867405_17-10-2025_10_32_06.pdf 27867453 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867453 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389733894: '1760609186_1073298_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929180_0.png', 1389733896: '1760609186_1073298_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929229_0.png', 1389734001: '1760609224_1075569_1389731731_296146fe3a0873a90cfc766adc733941_rle_crop_3999933665_0.png', 1389734051: '1760609306_1081540_1389731987_e00c2a10e41b82d3fa90f04b1be2abe6_rle_crop_3999935499_0.png', 1389740535: '1760611624_1170627_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929180_0.png', 1389740536: '1760611624_1170627_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929229_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/eca1c37698ee35c2fdb41d9c47ef34f1_11549741.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/ad92926d0973c010f7a20529afe2efb8_8524813.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/128a3cd93ac8c9529643a317d6e64a6f_42524225.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/9cfee8bf7ec908aea76b5249eee56ff5_34819113.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/eca1c37698ee35c2fdb41d9c47ef34f1_19820782.png change filename to text .imagette278674531760689926/ imagette278674531760689926/1760611624_1170627_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929229_0.png.png imagette278674531760689926/1760609186_1073298_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929229_0.png.png imagette278674531760689926/1760609306_1081540_1389731987_e00c2a10e41b82d3fa90f04b1be2abe6_rle_crop_3999935499_0.png.png imagette278674531760689926/1760609186_1073298_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929180_0.png.png imagette278674531760689926/1760611624_1170627_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929180_0.png.png imagette278674531760689926/1760609224_1075569_1389731731_296146fe3a0873a90cfc766adc733941_rle_crop_3999933665_0.png.png imagette278674541760689927/ imagette278674601760689927/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/ad92926d0973c010f7a20529afe2efb8_93829664.png imagette278674531760689926 27867454 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867454 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278674541760689927 27867460 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867460 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278674601760689927 27867471 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867471 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389734056: '1760609306_1081540_1389732002_d449303aaf989b87e7d40f7bb2eb252a_rle_crop_3999935477_0.png', 1389740552: '1760611644_1171026_1389731738_b63782cc427f43abfec317efade12841_rle_crop_3999966470_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/66d22ebb84eb901adc930cae766c4fb3_56280661.png change filename to text .imagette278674711760689927/ imagette278674711760689927/1760609306_1081540_1389732002_d449303aaf989b87e7d40f7bb2eb252a_rle_crop_3999935477_0.png.png imagette278674711760689927/1760611644_1171026_1389731738_b63782cc427f43abfec317efade12841_rle_crop_3999966470_0.png.png imagette278674721760689927/ imagette278674731760689927/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/516412f68ff4a3829518c7d0c0d8903f_98260434.png imagette278674711760689927 27867472 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867472 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278674721760689927 27867473 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867473 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278674731760689927 27867488 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867488 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389732008: '1760609106_1065654_1389731434_4f3b4e84d45627df487d18f7d224a338_rle_crop_3999927376_0.png', 1389732009: '1760609106_1065654_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927421_0.png', 1389733906: '1760609186_1073298_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929203_0.png', 1389734006: '1760609224_1075569_1389731721_ea01368154d5b2c78f19f37ec2d1b8ec_rle_crop_3999933675_0.png', 1389734052: '1760609306_1081540_1389732002_d449303aaf989b87e7d40f7bb2eb252a_rle_crop_3999935479_0.png', 1389734053: '1760609306_1081540_1389732002_d449303aaf989b87e7d40f7bb2eb252a_rle_crop_3999935474_0.png', 1389734054: '1760609306_1081540_1389731998_30b7ae7d95dab230b747e3c438def539_rle_crop_3999935483_0.png', 1389734055: '1760609306_1081540_1389731998_30b7ae7d95dab230b747e3c438def539_rle_crop_3999935482_0.png', 1389734099: '1760609344_1083569_1389731966_9070071cfaaf1ea6bd268af34db038ad_rle_crop_3999935834_0.png', 1389740539: '1760611624_1170627_1389731969_397379481f553cbdc703a5534ff1ae02_rle_crop_3999966243_0.png', 1389740540: '1760611624_1170627_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929203_0.png', 1389740550: '1760611644_1171026_1389731434_4f3b4e84d45627df487d18f7d224a338_rle_crop_3999927376_0.png', 1389740551: '1760611644_1171026_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927421_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/16a3abfab9fdf92e52f1236f5438e31b_71881110.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/5b3dd883578af0eaccf1c6b9aa6e52de_56560224.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/ac31de0c8e4c9c3115c28dbf5cf15ff5_88582782.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/63fb4a4b56bf567aa22b57236c68ef01_95553362.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/ed67e1deb39f294326738c1ab1f6114e_2575480.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/ccdd841204e10137740f0dca58aebdaa_10523224.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/336d3f257a2e351b2b5a6859c7117af9_60495117.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/9d06516b04e117c4f793e64bafd05f88_60455930.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/b207e7a7e336fce2ae08038aeceb8fbd_84923630.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/60fa24ab48fafaa44d8ffdf80331b837_75464566.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/ac31de0c8e4c9c3115c28dbf5cf15ff5_962651.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/16a3abfab9fdf92e52f1236f5438e31b_18934564.png change filename to text .imagette278674881760689927/ imagette278674881760689927/1760611644_1171026_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927421_0.png.png imagette278674881760689927/1760609306_1081540_1389731998_30b7ae7d95dab230b747e3c438def539_rle_crop_3999935483_0.png.png imagette278674881760689927/1760609106_1065654_1389731434_4f3b4e84d45627df487d18f7d224a338_rle_crop_3999927376_0.png.png imagette278674881760689927/1760609186_1073298_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929203_0.png.png imagette278674881760689927/1760609306_1081540_1389732002_d449303aaf989b87e7d40f7bb2eb252a_rle_crop_3999935479_0.png.png imagette278674881760689927/1760609344_1083569_1389731966_9070071cfaaf1ea6bd268af34db038ad_rle_crop_3999935834_0.png.png imagette278674881760689927/1760611624_1170627_1389731969_397379481f553cbdc703a5534ff1ae02_rle_crop_3999966243_0.png.png imagette278674881760689927/1760609224_1075569_1389731721_ea01368154d5b2c78f19f37ec2d1b8ec_rle_crop_3999933675_0.png.png imagette278674881760689927/1760609306_1081540_1389732002_d449303aaf989b87e7d40f7bb2eb252a_rle_crop_3999935474_0.png.png imagette278674881760689927/1760611644_1171026_1389731434_4f3b4e84d45627df487d18f7d224a338_rle_crop_3999927376_0.png.png imagette278674881760689927/1760611624_1170627_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929203_0.png.png imagette278674881760689927/1760609106_1065654_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927421_0.png.png imagette278674881760689927/1760609306_1081540_1389731998_30b7ae7d95dab230b747e3c438def539_rle_crop_3999935482_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/5b3dd883578af0eaccf1c6b9aa6e52de_55598237.png imagette278674881760689927 27867469 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867469 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389734209: '1760609344_1083569_1389731966_9070071cfaaf1ea6bd268af34db038ad_rle_crop_3999935836_0.png', 1389740541: '1760611624_1170627_1389731969_397379481f553cbdc703a5534ff1ae02_rle_crop_3999966240_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/356242307b695e342cde2f9a9c954fd2_50850426.png change filename to text .imagette278674691760689929/ imagette278674691760689929/1760609344_1083569_1389731966_9070071cfaaf1ea6bd268af34db038ad_rle_crop_3999935836_0.png.png imagette278674691760689929/1760611624_1170627_1389731969_397379481f553cbdc703a5534ff1ae02_rle_crop_3999966240_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/6bcb9d666696d3a95e0ae125595cb2a2_9945505.png imagette278674691760689929 27867470 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867470 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389732005: '1760609106_1065654_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927419_0.png', 1389733746: '1760609186_1073298_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929185_0.png', 1389733748: '1760609186_1073298_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929196_0.png', 1389733749: '1760609186_1073298_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929212_0.png', 1389733751: '1760609186_1073298_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929232_0.png', 1389733753: '1760609186_1073298_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929226_0.png', 1389734094: '1760609344_1083569_1389732010_0480cf577add5bc538d3e23402584624_rle_crop_3999935827_0.png', 1389740530: '1760611624_1170627_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929185_0.png', 1389740531: '1760611624_1170627_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929196_0.png', 1389740532: '1760611624_1170627_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929212_0.png', 1389740533: '1760611624_1170627_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929232_0.png', 1389740534: '1760611624_1170627_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929226_0.png', 1389740549: '1760611644_1171026_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927419_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/373ba594bd99c50e8f514ba87e98ff8d_86388850.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/257f08336b83f649f5e4ae6b5628ad27_17482400.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/940ead208078dfdab874bce14da481d2_1350453.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/95d208808191cb2ec51aa5a3afeab5c0_48555149.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/4cb7f0ba6faf1da5db1ddc23dcd64383_97184890.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/089f03931b95c9a2337a59e6baac1f53_33971215.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/b7d87cecfffd01369780ff2cd78b95ac_45280815.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/257f08336b83f649f5e4ae6b5628ad27_22291634.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/940ead208078dfdab874bce14da481d2_89502733.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/95d208808191cb2ec51aa5a3afeab5c0_68577945.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/4cb7f0ba6faf1da5db1ddc23dcd64383_2197207.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/089f03931b95c9a2337a59e6baac1f53_80308094.png change filename to text .imagette278674701760689929/ imagette278674701760689929/1760611644_1171026_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927419_0.png.png imagette278674701760689929/1760611624_1170627_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929232_0.png.png imagette278674701760689929/1760611624_1170627_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929185_0.png.png imagette278674701760689929/1760611624_1170627_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929196_0.png.png imagette278674701760689929/1760611624_1170627_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929212_0.png.png imagette278674701760689929/1760609186_1073298_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7_rle_crop_3999929212_0.png.png imagette278674701760689929/1760609344_1083569_1389732010_0480cf577add5bc538d3e23402584624_rle_crop_3999935827_0.png.png imagette278674701760689929/1760611624_1170627_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929226_0.png.png imagette278674701760689929/1760609106_1065654_1389731417_39e549e7f4f3f71030a49748d1c2d1c3_rle_crop_3999927419_0.png.png imagette278674701760689929/1760609186_1073298_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929226_0.png.png imagette278674701760689929/1760609186_1073298_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929196_0.png.png imagette278674701760689929/1760609186_1073298_1389731894_6be52c87341615f53b6e41987eaccd52_rle_crop_3999929232_0.png.png imagette278674701760689929/1760609186_1073298_1389731901_f3ea6c6c514c256b1af55059895b4a81_rle_crop_3999929185_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/373ba594bd99c50e8f514ba87e98ff8d_33588594.png imagette278674701760689929 27867484 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867484 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389733902: '1760609186_1073298_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929191_0.png', 1389734004: '1760609224_1075569_1389731731_296146fe3a0873a90cfc766adc733941_rle_crop_3999933663_0.png', 1389734095: '1760609344_1083569_1389731953_a03a80712031bb6d5abfea032789a93b_rle_crop_3999935889_0.png', 1389740537: '1760611624_1170627_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929191_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/0507889e88fda9b2fc896469a84af94f_25864648.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/da926875efb65f71af7d691e02bebe39_32957677.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/013f6c7b6986d2b3d873a69239ee6065_94801346.png change filename to text .imagette278674841760689931/ imagette278674841760689931/1760609344_1083569_1389731953_a03a80712031bb6d5abfea032789a93b_rle_crop_3999935889_0.png.png imagette278674841760689931/1760611624_1170627_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929191_0.png.png imagette278674841760689931/1760609186_1073298_1389731899_df4b822fe19386f2f6be1ffafb120c59_rle_crop_3999929191_0.png.png imagette278674841760689931/1760609224_1075569_1389731731_296146fe3a0873a90cfc766adc733941_rle_crop_3999933663_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/0507889e88fda9b2fc896469a84af94f_9446520.png imagette278674841760689931 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27867405 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27867490,27867491,27867492,27867493,27867494,27867495,27867496,27867497,27867498,27867499,27867500,27867501?tags=autre_refus,mal_croppe,flou,papier,Carton_brun,Teint_Dans_La_Masse,plastique,kraft,metal,environnement,Carton_gris,cartonnette your option no_mail is active, we will not send the real mail to your client args[1389745568] : ('0.026818944049830536',) no score found for photo 1389745568 We are sending mail with results at report@fotonower.com args[1389734893] : ('0.026818944049830536',) no score found for photo 1389734893 We are sending mail with results at report@fotonower.com args[1389732010] : ('0.026818944049830536',) no score found for photo 1389732010 We are sending mail with results at report@fotonower.com args[1389732002] : ('0.026818944049830536',) no score found for photo 1389732002 We are sending mail with results at report@fotonower.com args[1389731998] : ('0.026818944049830536',) no score found for photo 1389731998 We are sending mail with results at report@fotonower.com args[1389731993] : ('0.026818944049830536',) no score found for photo 1389731993 We are sending mail with results at report@fotonower.com args[1389731987] : ('0.026818944049830536',) no score found for photo 1389731987 We are sending mail with results at report@fotonower.com args[1389731969] : ('0.026818944049830536',) no score found for photo 1389731969 We are sending mail with results at report@fotonower.com args[1389731966] : ('0.026818944049830536',) no score found for photo 1389731966 We are sending mail with results at report@fotonower.com args[1389731963] : ('0.026818944049830536',) no score found for photo 1389731963 We are sending mail with results at report@fotonower.com args[1389731960] : ('0.026818944049830536',) no score found for photo 1389731960 We are sending mail with results at report@fotonower.com args[1389731953] : ('0.026818944049830536',) no score found for photo 1389731953 We are sending mail with results at report@fotonower.com args[1389731949] : ('0.026818944049830536',) no score found for photo 1389731949 We are sending mail with results at report@fotonower.com args[1389731940] : ('0.026818944049830536',) no score found for photo 1389731940 We are sending mail with results at report@fotonower.com args[1389731929] : ('0.026818944049830536',) no score found for photo 1389731929 We are sending mail with results at report@fotonower.com args[1389731901] : ('0.026818944049830536',) no score found for photo 1389731901 We are sending mail with results at report@fotonower.com args[1389731899] : ('0.026818944049830536',) no score found for photo 1389731899 We are sending mail with results at report@fotonower.com args[1389731896] : ('0.026818944049830536',) no score found for photo 1389731896 We are sending mail with results at report@fotonower.com args[1389731894] : ('0.026818944049830536',) no score found for photo 1389731894 We are sending mail with results at report@fotonower.com args[1389731738] : ('0.026818944049830536',) no score found for photo 1389731738 We are sending mail with results at report@fotonower.com args[1389731731] : ('0.026818944049830536',) no score found for photo 1389731731 We are sending mail with results at report@fotonower.com args[1389731721] : ('0.026818944049830536',) no score found for photo 1389731721 We are sending mail with results at report@fotonower.com args[1389731697] : ('0.026818944049830536',) no score found for photo 1389731697 We are sending mail with results at report@fotonower.com args[1389731434] : ('0.026818944049830536',) no score found for photo 1389731434 We are sending mail with results at report@fotonower.com args[1389731430] : ('0.026818944049830536',) no score found for photo 1389731430 We are sending mail with results at report@fotonower.com args[1389731421] : ('0.026818944049830536',) no score found for photo 1389731421 We are sending mail with results at report@fotonower.com args[1389731417] : ('0.026818944049830536',) no score found for photo 1389731417 We are sending mail with results at report@fotonower.com refus_total : 0.026818944049830536 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867405 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_P27867405_17-10-2025_10_32_06.pdf results_Auto_P27867405_17-10-2025_10_32_06.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867405_17-10-2025_10_32_06.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','27867405','results_Auto_P27867405_17-10-2025_10_32_06.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867405_17-10-2025_10_32_06.pdf','pdf','','0.28','0.026818944049830536') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27867405]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] map_info['map_portfolio_photo'] : {27867405: [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417]} final : False mtd_id 4302 list_pids : [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] 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, '3952468') ('4302', '27867405', '1389745568', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '27867405', '1389745568', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468')] time used for this insertion : 0.039923667907714844 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.363457441329956 time spend to save output : 0.04025459289550781 total time spend for step 4 : 9.403712034225464 step5:split_time_score Fri Oct 17 10:32:14 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 : ['27867405'] 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 : [('27867405',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27867405) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389732010: {'path': 'temp/1760689924_763016_1389732010_0480cf577add5bc538d3e23402584624.jpg', 'extension': 'jpg'}, 1389734893: {'path': 'temp/1760689924_763016_1389734893_e3ea323ebfbfe78fcb58c3f63ab2aae9.jpg', 'extension': 'jpg'}, 1389745568: {'path': 'temp/1760689924_763016_1389745568_d7a21f068675ff05dd501e16e5d0862f.jpg', 'extension': 'jpg'}, 1389731966: {'path': 'temp/1760689924_763016_1389731966_9070071cfaaf1ea6bd268af34db038ad.jpg', 'extension': 'jpg'}, 1389731969: {'path': 'temp/1760689924_763016_1389731969_397379481f553cbdc703a5534ff1ae02.jpg', 'extension': 'jpg'}, 1389731987: {'path': 'temp/1760689924_763016_1389731987_e00c2a10e41b82d3fa90f04b1be2abe6.jpg', 'extension': 'jpg'}, 1389731993: {'path': 'temp/1760689924_763016_1389731993_0bbf06d494d68b5c0cde245025330788.jpg', 'extension': 'jpg'}, 1389731998: {'path': 'temp/1760689924_763016_1389731998_30b7ae7d95dab230b747e3c438def539.jpg', 'extension': 'jpg'}, 1389732002: {'path': 'temp/1760689924_763016_1389732002_d449303aaf989b87e7d40f7bb2eb252a.jpg', 'extension': 'jpg'}, 1389731731: {'path': 'temp/1760689924_763016_1389731731_296146fe3a0873a90cfc766adc733941.jpg', 'extension': 'jpg'}, 1389731738: {'path': 'temp/1760689924_763016_1389731738_b63782cc427f43abfec317efade12841.jpg', 'extension': 'jpg'}, 1389731894: {'path': 'temp/1760689924_763016_1389731894_6be52c87341615f53b6e41987eaccd52.jpg', 'extension': 'jpg'}, 1389731896: {'path': 'temp/1760689924_763016_1389731896_b48b0fb17cc0ca66da4fc60fb49f86d7.jpg', 'extension': 'jpg'}, 1389731899: {'path': 'temp/1760689924_763016_1389731899_df4b822fe19386f2f6be1ffafb120c59.jpg', 'extension': 'jpg'}, 1389731901: {'path': 'temp/1760689924_763016_1389731901_f3ea6c6c514c256b1af55059895b4a81.jpg', 'extension': 'jpg'}, 1389731929: {'path': 'temp/1760689924_763016_1389731929_70e73777207408998ba5dc12daf483a4.jpg', 'extension': 'jpg'}, 1389731940: {'path': 'temp/1760689924_763016_1389731940_281f4506b62f134b218d309265e05662.jpg', 'extension': 'jpg'}, 1389731949: {'path': 'temp/1760689924_763016_1389731949_061e74c6a33bac383738e14ca2db04c3.jpg', 'extension': 'jpg'}, 1389731953: {'path': 'temp/1760689924_763016_1389731953_a03a80712031bb6d5abfea032789a93b.jpg', 'extension': 'jpg'}, 1389731960: {'path': 'temp/1760689924_763016_1389731960_e175f7d19f40820ed3b39663d61bbc82.jpg', 'extension': 'jpg'}, 1389731963: {'path': 'temp/1760689924_763016_1389731963_07cd0e6645f0c4172d9283ce4c14a0b5.jpg', 'extension': 'jpg'}, 1389731417: {'path': 'temp/1760689924_763016_1389731417_39e549e7f4f3f71030a49748d1c2d1c3.jpg', 'extension': 'jpg'}, 1389731421: {'path': 'temp/1760689924_763016_1389731421_aaa8d89f5f70ba9feb3f75c81edb9668.jpg', 'extension': 'jpg'}, 1389731430: {'path': 'temp/1760689924_763016_1389731430_b001a4bc758baddde1c7fa2e6c1bde88.jpg', 'extension': 'jpg'}, 1389731434: {'path': 'temp/1760689924_763016_1389731434_4f3b4e84d45627df487d18f7d224a338.jpg', 'extension': 'jpg'}, 1389731697: {'path': 'temp/1760689924_763016_1389731697_81fa4b1b1d84043a41a3b2c01199d72f.jpg', 'extension': 'jpg'}, 1389731721: {'path': 'temp/1760689924_763016_1389731721_ea01368154d5b2c78f19f37ec2d1b8ec.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 = 27867405; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27867405 group by h (('12', 27),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27867405 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 (27867405) 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 (27867405) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16102025 27867405 Nombre de photos uploadées : 27 / 23040 (0%) 16102025 27867405 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 16102025 27867405 Nombre de photos taguées (volume) : 0 / 27 (0%) [{'photo_id': 1389731434, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/4f3b4e84d45627df487d18f7d224a338.jpg', 'username': None, 'uploaded_at': 1760608903, 'text': 'image_16102025_12_00_14_010240m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1389731430, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/b001a4bc758baddde1c7fa2e6c1bde88.jpg', 'username': None, 'uploaded_at': 1760608903, 'text': 'image_16102025_12_00_24_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389731421, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/aaa8d89f5f70ba9feb3f75c81edb9668.jpg', 'username': None, 'uploaded_at': 1760608903, 'text': 'image_16102025_12_00_34_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1389731417, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/16/39e549e7f4f3f71030a49748d1c2d1c3.jpg', 'username': None, 'uploaded_at': 1760608903, 'text': 'image_16102025_12_00_44_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014493465423583984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27867405, '2025-10-16' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-16' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2458333,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6592833995819092 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= 2458333 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27849662, 'dashboard_result_id': 16459133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849662_17-10-2025_08_45_18.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27849681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849682, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27850314, 'dashboard_result_id': 16459134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850314_17-10-2025_08_45_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27850317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27850318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27850319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27850320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27850321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27850322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27850323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27850324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27850325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27850326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27850327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27850328, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27850796, 'dashboard_result_id': 16459135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850796_17-10-2025_08_46_19.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27850821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27850822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27850823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27850824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27850825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27850826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27850827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27850829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27850830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27850831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27850832, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27851368, 'dashboard_result_id': 16459136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27851368_17-10-2025_08_47_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27851374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27851375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27851376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27851377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27851378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27851379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27851380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27851381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27851382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27851383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27851384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27851385, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27852357, 'dashboard_result_id': 16459137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852357_17-10-2025_10_16_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27852422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27852423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27852424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27852425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27852426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27852427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27852428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27852429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27852430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27852431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27852432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27852433, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27852802, 'dashboard_result_id': 16459138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852802_17-10-2025_08_47_55.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27852805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27852806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27852807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27852808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27852809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27852810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27852811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27852812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27852813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27852814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27852815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27852816, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27853105, 'dashboard_result_id': 16459139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853105_17-10-2025_08_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27853111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27853112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27853113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27853114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27853115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27853116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27853117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27853118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27853119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27853120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27853121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27853122, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27853775, 'dashboard_result_id': 16459140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853775_17-10-2025_08_50_23.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27853780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27853781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27853782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27853783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27853785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27853786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27853787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27853788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27853789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27853790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27853791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27853792, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27854208, 'dashboard_result_id': 16459141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854208_17-10-2025_08_50_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27854240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27854241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27854245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27854246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854251, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27854642, 'dashboard_result_id': 16459142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854642_17-10-2025_10_16_10.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27854651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27854652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27854654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27854655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854662, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27854965, 'dashboard_result_id': 16459143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854965_17-10-2025_08_51_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27854995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855002, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27855559, 'dashboard_result_id': 16459144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855559_17-10-2025_08_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27855568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27855569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27855571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27855572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27855573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27855574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27855575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27855576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27855577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855578, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27855931, 'dashboard_result_id': 16459145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855931_17-10-2025_08_51_52.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27855963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27855965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27855966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27855967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27855968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27855970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27855972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27855973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27855974, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27856418, 'dashboard_result_id': 16459146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856418_17-10-2025_08_54_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27856443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27856444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27856445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27856446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27856447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27856448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27856449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27856450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27856451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27856452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27856453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27856454, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27856780, 'dashboard_result_id': 16459147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856780_17-10-2025_08_54_12.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27856794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27856795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27856796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27856797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27856798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27856799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27856800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27856801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27856802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27856803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27856804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27856805, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27857927, 'dashboard_result_id': 16459148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27857927_17-10-2025_08_54_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27857946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27857947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27857948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27857949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27857950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27857951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27857952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27857953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27857954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27857955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27857956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27857957, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27858339, 'dashboard_result_id': 16459149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858339_17-10-2025_08_55_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27858344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27858345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27858346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27858347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27858348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27858349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27858350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27858351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27858352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27858353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27858354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27858355, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27858784, 'dashboard_result_id': 16459150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858784_17-10-2025_08_56_25.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27858814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27858815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27858816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27858817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27858818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27858819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27858820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27858821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27858822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27858823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27858824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27858825, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27859167, 'dashboard_result_id': 16459151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859167_17-10-2025_08_56_22.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27859172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27859173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27859174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27859175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27859176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27859177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27859178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27859179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27859180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27859181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27859182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27859183, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27859553, 'dashboard_result_id': 16459152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859553_17-10-2025_10_16_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27859559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27859560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27859561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27859562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27859563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27859564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27859565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27859566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27859567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27859568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27859569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27859570, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27860091, 'dashboard_result_id': 16459153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860091_17-10-2025_10_18_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27860100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860108, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27860436, 'dashboard_result_id': 16459154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860436_17-10-2025_08_58_45.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27860446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860457, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27860859, 'dashboard_result_id': 16459155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860859_17-10-2025_08_59_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27860876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860881, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27861263, 'dashboard_result_id': 16459156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27861263_17-10-2025_08_59_16.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27861343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27861344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27861345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27861346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27861347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27861349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27861351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27861353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27861355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27861357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27861359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27861361, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27862187, 'dashboard_result_id': 16459157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27862187_17-10-2025_10_18_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27862254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27862255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27862256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27862257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27862258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27862259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27862260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27862261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27862262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27862263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27862264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27862265, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27863033, 'dashboard_result_id': 16459158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863033_17-10-2025_08_59_24.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27863059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27863060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27863061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27863062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27863063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27863064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27863065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27863066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27863067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27863068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27863069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27863070, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27863691, 'dashboard_result_id': 16459159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863691_17-10-2025_09_00_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27863725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27863726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27863727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27863728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27863729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27863730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27863731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27863732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27863733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27863734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27863735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27863736, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27864190, 'dashboard_result_id': 16459160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27864190_17-10-2025_09_01_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27864256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27864257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27864258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27864259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27864260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27864261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27864262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27864263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27864264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27864265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27864266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27864267, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869313, 'dashboard_result_id': 16459161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869313_17-10-2025_09_01_11.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869315, 'dashboard_result_id': 16459162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869315_17-10-2025_09_01_15.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869317, 'dashboard_result_id': 16459163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869317_17-10-2025_09_01_53.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869319, 'dashboard_result_id': 16459165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869319_17-10-2025_09_02_42.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869321, 'dashboard_result_id': 16459166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869321_17-10-2025_09_03_04.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869341, 'dashboard_result_id': 16459168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869341_17-10-2025_09_04_09.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869361, 'dashboard_result_id': 16459169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869361_17-10-2025_09_04_13.pdf'}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27867259, 'dashboard_result_id': 16459170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867259_17-10-2025_09_04_46.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27867300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27867301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27867302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27867303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27867304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27867305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27867306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27867307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27867308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27867309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27867310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27867311, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27865732, 'dashboard_result_id': 16459172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865732_17-10-2025_09_05_53.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27865759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865770, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27865086, 'dashboard_result_id': 16459173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865086_17-10-2025_10_31_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865102, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27865088, 'dashboard_result_id': 16459175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865088_17-10-2025_10_31_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865152, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27865832, 'dashboard_result_id': 16459176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865832_17-10-2025_09_08_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865901, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27866585, 'dashboard_result_id': 16459177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27866585_17-10-2025_09_08_14.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27866624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27866625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27866626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27866627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27866628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27866629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27866630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27866631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27866632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27866633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27866634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27866635, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27867405, 'dashboard_result_id': 16459179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867405_16-10-2025_12_13_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27867453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27867454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27867460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27867468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27867469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27867470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27867471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27867472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27867473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27867474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27867484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27867488, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869918, 'dashboard_result_id': 16459180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869918_17-10-2025_09_09_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27869919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27869920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27869921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27869922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27869923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27869924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27869925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27869926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27869927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27869928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27869929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27869930, 'pht': 3726}}"}, {'dashboat_entry_day': 2458333, 'dashboard_run_id': 2469021, 'mtr_portfolio_id': 27869968, 'dashboard_result_id': 16459181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869968_17-10-2025_09_11_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27869969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27869970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27869971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27869972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27869973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27869974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27869975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27869976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27869977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27869978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27869979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27869980, '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 = 27849662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952427, 'mtr_portfolio_id': 27849662, 'created_at': datetime.datetime(2025, 10, 17, 8, 45, 11), 'result': '0.05854886749184893', 'result_long': None, 'result_double': None}] Qualite : 0.05854886749184893 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27849662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849662_17-10-2025_08_45_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27849662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849662_17-10-2025_08_45_18.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27849681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849682, 'pht': 3726}}" where mtr_portfolio_id = 27849662 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27849662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459133, 0.05854886749184893, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849662_17-10-2025_08_45_18.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27849681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849682, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27850314 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952428, 'mtr_portfolio_id': 27850314, 'created_at': datetime.datetime(2025, 10, 17, 8, 45, 38), 'result': '0.04976141981850504', 'result_long': None, 'result_double': None}] Qualite : 0.04976141981850504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27850314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850314_17-10-2025_08_45_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27850314 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850314_17-10-2025_08_45_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27850317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27850318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27850319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27850320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27850321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27850322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27850323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27850324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27850325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27850326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27850327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27850328, 'pht': 3726}}" where mtr_portfolio_id = 27850314 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27850314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459134, 0.04976141981850504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850314_17-10-2025_08_45_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27850317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27850318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27850319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27850320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27850321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27850322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27850323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27850324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27850325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27850326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27850327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27850328, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27850796 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952429, 'mtr_portfolio_id': 27850796, 'created_at': datetime.datetime(2025, 10, 17, 8, 46, 14), 'result': '0.045142588528066914', 'result_long': None, 'result_double': None}] Qualite : 0.045142588528066914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27850796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850796_17-10-2025_08_46_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27850796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850796_17-10-2025_08_46_19.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27850821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27850822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27850823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27850824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27850825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27850826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27850827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27850829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27850830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27850831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27850832, 'pht': 3726}}" where mtr_portfolio_id = 27850796 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27850796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459135, 0.045142588528066914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27850796_17-10-2025_08_46_19.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27850821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27850822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27850823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27850824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27850825, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27850826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27850827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27850829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27850830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27850831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27850832, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27851368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952430, 'mtr_portfolio_id': 27851368, 'created_at': datetime.datetime(2025, 10, 17, 8, 47, 36), 'result': '0.050826768056355213', 'result_long': None, 'result_double': None}] Qualite : 0.050826768056355213 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27851368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27851368_17-10-2025_08_47_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27851368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27851368_17-10-2025_08_47_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27851374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27851375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27851376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27851377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27851378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27851379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27851380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27851381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27851382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27851383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27851384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27851385, 'pht': 3726}}" where mtr_portfolio_id = 27851368 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27851368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459136, 0.050826768056355213, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27851368_17-10-2025_08_47_45.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27851374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27851375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27851376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27851377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27851378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27851379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27851380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27851381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27851382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27851383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27851384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27851385, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27852357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952431, 'mtr_portfolio_id': 27852357, 'created_at': datetime.datetime(2025, 10, 17, 10, 16), 'result': '0.06747503742017771', 'result_long': None, 'result_double': None}] Qualite : 0.06747503742017771 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27852357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852357_17-10-2025_10_16_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27852357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852357_17-10-2025_10_16_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27852422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27852423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27852424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27852425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27852426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27852427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27852428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27852429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27852430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27852431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27852432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27852433, 'pht': 3726}}" where mtr_portfolio_id = 27852357 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27852357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459137, 0.06747503742017771, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852357_17-10-2025_10_16_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27852422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27852423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27852424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27852425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27852426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27852427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27852428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27852429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27852430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27852431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27852432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27852433, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27852802 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952432, 'mtr_portfolio_id': 27852802, 'created_at': datetime.datetime(2025, 10, 17, 8, 47, 50), 'result': '0.07786625825150541', 'result_long': None, 'result_double': None}] Qualite : 0.07786625825150541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27852802 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852802_17-10-2025_08_47_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27852802 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852802_17-10-2025_08_47_55.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27852805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27852806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27852807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27852808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27852809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27852810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27852811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27852812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27852813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27852814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27852815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27852816, 'pht': 3726}}" where mtr_portfolio_id = 27852802 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27852802 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459138, 0.07786625825150541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27852802_17-10-2025_08_47_55.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27852805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27852806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27852807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27852808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27852809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27852810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27852811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27852812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27852813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27852814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27852815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27852816, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27853105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952433, 'mtr_portfolio_id': 27853105, 'created_at': datetime.datetime(2025, 10, 17, 8, 48, 53), 'result': '0.046723923008413284', 'result_long': None, 'result_double': None}] Qualite : 0.046723923008413284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27853105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853105_17-10-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27853105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853105_17-10-2025_08_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27853111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27853112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27853113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27853114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27853115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27853116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27853117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27853118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27853119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27853120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27853121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27853122, 'pht': 3726}}" where mtr_portfolio_id = 27853105 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27853105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459139, 0.046723923008413284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853105_17-10-2025_08_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27853111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27853112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27853113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27853114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27853115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27853116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27853117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27853118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27853119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27853120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27853121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27853122, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27853775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952434, 'mtr_portfolio_id': 27853775, 'created_at': datetime.datetime(2025, 10, 17, 8, 50, 17), 'result': '0.0548237054596068', 'result_long': None, 'result_double': None}] Qualite : 0.0548237054596068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27853775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853775_17-10-2025_08_50_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27853775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853775_17-10-2025_08_50_23.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27853780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27853781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27853782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27853783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27853785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27853786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27853787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27853788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27853789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27853790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27853791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27853792, 'pht': 3726}}" where mtr_portfolio_id = 27853775 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27853775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459140, 0.0548237054596068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27853775_17-10-2025_08_50_23.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27853780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27853781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27853782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27853783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27853785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27853786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27853787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27853788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27853789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27853790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27853791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27853792, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27854208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952435, 'mtr_portfolio_id': 27854208, 'created_at': datetime.datetime(2025, 10, 17, 8, 50, 21), 'result': '0.05379741529703946', 'result_long': None, 'result_double': None}] Qualite : 0.05379741529703946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27854208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854208_17-10-2025_08_50_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27854208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854208_17-10-2025_08_50_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27854240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27854241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27854245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27854246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854251, 'pht': 3726}}" where mtr_portfolio_id = 27854208 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27854208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459141, 0.05379741529703946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854208_17-10-2025_08_50_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27854240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27854241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27854245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27854246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854251, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27854642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952436, 'mtr_portfolio_id': 27854642, 'created_at': datetime.datetime(2025, 10, 17, 10, 16, 5), 'result': '0.05788187256450977', 'result_long': None, 'result_double': None}] Qualite : 0.05788187256450977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27854642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854642_17-10-2025_10_16_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27854642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854642_17-10-2025_10_16_10.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27854651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27854652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27854654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27854655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854662, 'pht': 3726}}" where mtr_portfolio_id = 27854642 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27854642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459142, 0.05788187256450977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854642_17-10-2025_10_16_10.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27854651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27854652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27854654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27854655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854662, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27854965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952437, 'mtr_portfolio_id': 27854965, 'created_at': datetime.datetime(2025, 10, 17, 8, 51, 40), 'result': '0.05221355189346894', 'result_long': None, 'result_double': None}] Qualite : 0.05221355189346894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27854965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854965_17-10-2025_08_51_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27854965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854965_17-10-2025_08_51_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27854995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855002, 'pht': 3726}}" where mtr_portfolio_id = 27854965 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27854965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459143, 0.05221355189346894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27854965_17-10-2025_08_51_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27854991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27854992, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27854993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27854994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27854995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27854996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27854997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27854998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27854999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27855559 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952438, 'mtr_portfolio_id': 27855559, 'created_at': datetime.datetime(2025, 10, 17, 8, 51, 29), 'result': '0.06052732698847466', 'result_long': None, 'result_double': None}] Qualite : 0.06052732698847466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27855559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855559_17-10-2025_08_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27855559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855559_17-10-2025_08_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27855568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27855569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27855571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27855572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27855573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27855574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27855575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27855576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27855577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855578, 'pht': 3726}}" where mtr_portfolio_id = 27855559 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27855559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459144, 0.06052732698847466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855559_17-10-2025_08_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27855568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27855569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27855571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27855572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27855573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27855574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27855575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27855576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27855577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27855931 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952439, 'mtr_portfolio_id': 27855931, 'created_at': datetime.datetime(2025, 10, 17, 8, 51, 47), 'result': '0.03283121642935189', 'result_long': None, 'result_double': None}] Qualite : 0.03283121642935189 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27855931 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855931_17-10-2025_08_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27855931 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855931_17-10-2025_08_51_52.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27855963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27855965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27855966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27855967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27855968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27855970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27855972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27855973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27855974, 'pht': 3726}}" where mtr_portfolio_id = 27855931 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27855931 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459145, 0.03283121642935189, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27855931_17-10-2025_08_51_52.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27855963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27855964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27855965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27855966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27855967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27855968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27855969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27855970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27855971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27855972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27855973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27855974, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27856418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952440, 'mtr_portfolio_id': 27856418, 'created_at': datetime.datetime(2025, 10, 17, 8, 53, 33), 'result': '0.06320800753810728', 'result_long': None, 'result_double': None}] Qualite : 0.06320800753810728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27856418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856418_17-10-2025_08_54_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27856418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856418_17-10-2025_08_54_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27856443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27856444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27856445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27856446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27856447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27856448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27856449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27856450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27856451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27856452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27856453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27856454, 'pht': 3726}}" where mtr_portfolio_id = 27856418 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27856418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459146, 0.06320800753810728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856418_17-10-2025_08_54_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27856443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27856444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27856445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27856446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27856447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27856448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27856449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27856450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27856451, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27856452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27856453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27856454, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27856780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952441, 'mtr_portfolio_id': 27856780, 'created_at': datetime.datetime(2025, 10, 17, 8, 54, 6), 'result': '0.05761792077050293', 'result_long': None, 'result_double': None}] Qualite : 0.05761792077050293 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27856780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856780_17-10-2025_08_54_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27856780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856780_17-10-2025_08_54_12.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27856794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27856795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27856796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27856797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27856798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27856799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27856800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27856801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27856802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27856803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27856804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27856805, 'pht': 3726}}" where mtr_portfolio_id = 27856780 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27856780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459147, 0.05761792077050293, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27856780_17-10-2025_08_54_12.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27856794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27856795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27856796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27856797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27856798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27856799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27856800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27856801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27856802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27856803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27856804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27856805, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27857927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952442, 'mtr_portfolio_id': 27857927, 'created_at': datetime.datetime(2025, 10, 17, 8, 54, 36), 'result': '0.04127123130407194', 'result_long': None, 'result_double': None}] Qualite : 0.04127123130407194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27857927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27857927_17-10-2025_08_54_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27857927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27857927_17-10-2025_08_54_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27857946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27857947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27857948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27857949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27857950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27857951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27857952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27857953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27857954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27857955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27857956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27857957, 'pht': 3726}}" where mtr_portfolio_id = 27857927 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27857927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459148, 0.04127123130407194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27857927_17-10-2025_08_54_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27857946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27857947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27857948, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27857949, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27857950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27857951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27857952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27857953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27857954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27857955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27857956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27857957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27858339 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952443, 'mtr_portfolio_id': 27858339, 'created_at': datetime.datetime(2025, 10, 17, 8, 55, 6), 'result': '0.04965414871499299', 'result_long': None, 'result_double': None}] Qualite : 0.04965414871499299 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27858339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858339_17-10-2025_08_55_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27858339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858339_17-10-2025_08_55_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27858344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27858345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27858346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27858347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27858348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27858349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27858350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27858351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27858352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27858353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27858354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27858355, 'pht': 3726}}" where mtr_portfolio_id = 27858339 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27858339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459149, 0.04965414871499299, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858339_17-10-2025_08_55_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27858344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27858345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27858346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27858347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27858348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27858349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27858350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27858351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27858352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27858353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27858354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27858355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27858784 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952444, 'mtr_portfolio_id': 27858784, 'created_at': datetime.datetime(2025, 10, 17, 8, 56, 18), 'result': '0.0498127791497124', 'result_long': None, 'result_double': None}] Qualite : 0.0498127791497124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27858784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858784_17-10-2025_08_56_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27858784 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858784_17-10-2025_08_56_25.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27858814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27858815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27858816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27858817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27858818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27858819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27858820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27858821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27858822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27858823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27858824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27858825, 'pht': 3726}}" where mtr_portfolio_id = 27858784 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27858784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459150, 0.0498127791497124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27858784_17-10-2025_08_56_25.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27858814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27858815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27858816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27858817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27858818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27858819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27858820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27858821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27858822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27858823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27858824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27858825, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27859167 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952445, 'mtr_portfolio_id': 27859167, 'created_at': datetime.datetime(2025, 10, 17, 8, 56, 12), 'result': '0.04502430119091787', 'result_long': None, 'result_double': None}] Qualite : 0.04502430119091787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27859167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859167_17-10-2025_08_56_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27859167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859167_17-10-2025_08_56_22.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27859172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27859173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27859174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27859175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27859176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27859177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27859178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27859179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27859180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27859181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27859182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27859183, 'pht': 3726}}" where mtr_portfolio_id = 27859167 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27859167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459151, 0.04502430119091787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859167_17-10-2025_08_56_22.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27859172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27859173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27859174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27859175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27859176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27859177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27859178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27859179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27859180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27859181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27859182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27859183, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27859553 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952446, 'mtr_portfolio_id': 27859553, 'created_at': datetime.datetime(2025, 10, 17, 10, 16, 31), 'result': '0.07714303298468955', 'result_long': None, 'result_double': None}] Qualite : 0.07714303298468955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27859553 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859553_17-10-2025_10_16_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27859553 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859553_17-10-2025_10_16_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27859559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27859560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27859561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27859562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27859563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27859564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27859565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27859566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27859567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27859568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27859569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27859570, 'pht': 3726}}" where mtr_portfolio_id = 27859553 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27859553 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459152, 0.07714303298468955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27859553_17-10-2025_10_16_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27859559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27859560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27859561, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27859562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27859563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27859564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27859565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27859566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27859567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27859568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27859569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27859570, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27860091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952447, 'mtr_portfolio_id': 27860091, 'created_at': datetime.datetime(2025, 10, 17, 10, 18), 'result': '0.03672360778248091', 'result_long': None, 'result_double': None}] Qualite : 0.03672360778248091 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27860091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860091_17-10-2025_10_18_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27860091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860091_17-10-2025_10_18_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27860100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860108, 'pht': 3726}}" where mtr_portfolio_id = 27860091 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27860091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459153, 0.03672360778248091, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860091_17-10-2025_10_18_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27860100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860105, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860108, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27860436 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952448, 'mtr_portfolio_id': 27860436, 'created_at': datetime.datetime(2025, 10, 17, 8, 58, 39), 'result': '0.04920980708272336', 'result_long': None, 'result_double': None}] Qualite : 0.04920980708272336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27860436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860436_17-10-2025_08_58_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27860436 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860436_17-10-2025_08_58_45.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27860446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860457, 'pht': 3726}}" where mtr_portfolio_id = 27860436 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27860436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459154, 0.04920980708272336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860436_17-10-2025_08_58_45.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27860446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860457, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27860859 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952449, 'mtr_portfolio_id': 27860859, 'created_at': datetime.datetime(2025, 10, 17, 8, 59), 'result': '0.04873514166642965', 'result_long': None, 'result_double': None}] Qualite : 0.04873514166642965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27860859 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860859_17-10-2025_08_59_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27860859 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860859_17-10-2025_08_59_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27860876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860881, 'pht': 3726}}" where mtr_portfolio_id = 27860859 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27860859 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459155, 0.04873514166642965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27860859_17-10-2025_08_59_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27860870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27860871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27860872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27860873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27860874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27860875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27860876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27860877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27860878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27860879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27860880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27860881, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27861263 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952450, 'mtr_portfolio_id': 27861263, 'created_at': datetime.datetime(2025, 10, 17, 8, 59, 10), 'result': '0.04477873010666421', 'result_long': None, 'result_double': None}] Qualite : 0.04477873010666421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27861263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27861263_17-10-2025_08_59_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27861263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27861263_17-10-2025_08_59_16.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27861343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27861344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27861345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27861346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27861347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27861349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27861351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27861353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27861355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27861357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27861359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27861361, 'pht': 3726}}" where mtr_portfolio_id = 27861263 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27861263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459156, 0.04477873010666421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27861263_17-10-2025_08_59_16.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27861343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27861344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27861345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27861346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27861347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27861349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27861351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27861353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27861355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27861357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27861359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27861361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27862187 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952451, 'mtr_portfolio_id': 27862187, 'created_at': datetime.datetime(2025, 10, 17, 10, 18, 31), 'result': '0.05156861580810671', 'result_long': None, 'result_double': None}] Qualite : 0.05156861580810671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27862187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27862187_17-10-2025_10_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27862187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27862187_17-10-2025_10_18_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27862254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27862255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27862256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27862257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27862258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27862259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27862260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27862261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27862262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27862263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27862264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27862265, 'pht': 3726}}" where mtr_portfolio_id = 27862187 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27862187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459157, 0.05156861580810671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27862187_17-10-2025_10_18_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27862254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27862255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27862256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27862257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27862258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27862259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27862260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27862261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27862262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27862263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27862264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27862265, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27863033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952452, 'mtr_portfolio_id': 27863033, 'created_at': datetime.datetime(2025, 10, 17, 8, 59, 18), 'result': '0.05230935452863165', 'result_long': None, 'result_double': None}] Qualite : 0.05230935452863165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27863033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863033_17-10-2025_08_59_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27863033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863033_17-10-2025_08_59_24.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27863059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27863060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27863061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27863062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27863063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27863064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27863065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27863066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27863067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27863068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27863069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27863070, 'pht': 3726}}" where mtr_portfolio_id = 27863033 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27863033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459158, 0.05230935452863165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863033_17-10-2025_08_59_24.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27863059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27863060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27863061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27863062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27863063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27863064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27863065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27863066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27863067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27863068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27863069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27863070, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27863691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952453, 'mtr_portfolio_id': 27863691, 'created_at': datetime.datetime(2025, 10, 17, 9, 0, 32), 'result': '0.0520745927028243', 'result_long': None, 'result_double': None}] Qualite : 0.0520745927028243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27863691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863691_17-10-2025_09_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27863691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863691_17-10-2025_09_00_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27863725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27863726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27863727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27863728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27863729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27863730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27863731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27863732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27863733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27863734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27863735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27863736, 'pht': 3726}}" where mtr_portfolio_id = 27863691 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27863691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459159, 0.0520745927028243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27863691_17-10-2025_09_00_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27863725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27863726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27863727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27863728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27863729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27863730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27863731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27863732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27863733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27863734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27863735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27863736, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27864190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952454, 'mtr_portfolio_id': 27864190, 'created_at': datetime.datetime(2025, 10, 17, 9, 0, 53), 'result': '0.05761067718355419', 'result_long': None, 'result_double': None}] Qualite : 0.05761067718355419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27864190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27864190_17-10-2025_09_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27864190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27864190_17-10-2025_09_01_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27864256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27864257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27864258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27864259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27864260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27864261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27864262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27864263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27864264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27864265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27864266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27864267, 'pht': 3726}}" where mtr_portfolio_id = 27864190 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27864190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459160, 0.05761067718355419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27864190_17-10-2025_09_01_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27864256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27864257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27864258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27864259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27864260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27864261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27864262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27864263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27864264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27864265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27864266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27864267, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869313 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 = 27869313 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 = 27869313 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869313 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 = 27869313 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 = 27869313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869313_17-10-2025_09_01_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869313_17-10-2025_09_01_11.pdf'}" where mtr_portfolio_id = 27869313 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869315 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 = 27869315 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 = 27869315 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869315 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 = 27869315 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 = 27869315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869315_17-10-2025_09_01_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869315 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869315_17-10-2025_09_01_15.pdf'}" where mtr_portfolio_id = 27869315 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869317 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 = 27869317 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 = 27869317 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869317 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 = 27869317 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 = 27869317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869317_17-10-2025_09_01_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869317_17-10-2025_09_01_53.pdf'}" where mtr_portfolio_id = 27869317 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869319 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 = 27869319 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 = 27869319 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869319 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 = 27869319 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 = 27869319 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869319_17-10-2025_09_02_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869319 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869319_17-10-2025_09_02_42.pdf'}" where mtr_portfolio_id = 27869319 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869321 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 = 27869321 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 = 27869321 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869321 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 = 27869321 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 = 27869321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869321_17-10-2025_09_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869321 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869321_17-10-2025_09_03_04.pdf'}" where mtr_portfolio_id = 27869321 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869341 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 = 27869341 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 = 27869341 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869341 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 = 27869341 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 = 27869341 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869341_17-10-2025_09_04_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869341 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869341_17-10-2025_09_04_09.pdf'}" where mtr_portfolio_id = 27869341 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869361 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 = 27869361 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 = 27869361 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869361 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 = 27869361 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 = 27869361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869361_17-10-2025_09_04_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869361_17-10-2025_09_04_13.pdf'}" where mtr_portfolio_id = 27869361 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27867259 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 = 27867259 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 = 27867259 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27867259 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 = 27867259 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 = 27867259 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867259_17-10-2025_09_04_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27867259 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867259_17-10-2025_09_04_46.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27867300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27867301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27867302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27867303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27867304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27867305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27867306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27867307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27867308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27867309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27867310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27867311, 'pht': 3726}}" where mtr_portfolio_id = 27867259 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27865732 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952463, 'mtr_portfolio_id': 27865732, 'created_at': datetime.datetime(2025, 10, 17, 9, 5, 48), 'result': '0.031339758667278665', 'result_long': None, 'result_double': None}] Qualite : 0.031339758667278665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27865732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865732_17-10-2025_09_05_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27865732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865732_17-10-2025_09_05_53.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27865759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865770, 'pht': 3726}}" where mtr_portfolio_id = 27865732 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27865732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459172, 0.031339758667278665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865732_17-10-2025_09_05_53.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27865759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865770, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27865086 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952464, 'mtr_portfolio_id': 27865086, 'created_at': datetime.datetime(2025, 10, 17, 10, 31, 7), 'result': '0.023969949940091044', 'result_long': None, 'result_double': None}] Qualite : 0.023969949940091044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27865086 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865086_17-10-2025_10_31_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27865086 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865086_17-10-2025_10_31_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865102, 'pht': 3726}}" where mtr_portfolio_id = 27865086 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27865086 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459173, 0.023969949940091044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865086_17-10-2025_10_31_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865102, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27865088 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952465, 'mtr_portfolio_id': 27865088, 'created_at': datetime.datetime(2025, 10, 17, 10, 31, 30), 'result': '0.048915890959599945', 'result_long': None, 'result_double': None}] Qualite : 0.048915890959599945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27865088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865088_17-10-2025_10_31_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27865088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865088_17-10-2025_10_31_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865152, 'pht': 3726}}" where mtr_portfolio_id = 27865088 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27865088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459175, 0.048915890959599945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865088_17-10-2025_10_31_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865152, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27865832 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952466, 'mtr_portfolio_id': 27865832, 'created_at': datetime.datetime(2025, 10, 17, 9, 7, 58), 'result': '0.044856302742144895', 'result_long': None, 'result_double': None}] Qualite : 0.044856302742144895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27865832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865832_17-10-2025_09_08_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27865832 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865832_17-10-2025_09_08_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865901, 'pht': 3726}}" where mtr_portfolio_id = 27865832 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27865832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459176, 0.044856302742144895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27865832_17-10-2025_09_08_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27865890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27865891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27865892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27865893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27865894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27865895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27865896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27865897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27865898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27865899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27865900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27865901, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27866585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952467, 'mtr_portfolio_id': 27866585, 'created_at': datetime.datetime(2025, 10, 17, 9, 8, 8), 'result': '0.043615090463462354', 'result_long': None, 'result_double': None}] Qualite : 0.043615090463462354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27866585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27866585_17-10-2025_09_08_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27866585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27866585_17-10-2025_09_08_14.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27866624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27866625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27866626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27866627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27866628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27866629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27866630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27866631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27866632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27866633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27866634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27866635, 'pht': 3726}}" where mtr_portfolio_id = 27866585 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27866585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459177, 0.043615090463462354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27866585_17-10-2025_09_08_14.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27866624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27866625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27866626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27866627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27866628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27866629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27866630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27866631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27866632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27866633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27866634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27866635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27867405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952468, 'mtr_portfolio_id': 27867405, 'created_at': datetime.datetime(2025, 10, 17, 10, 32, 4), 'result': '0.026818944049830536', 'result_long': None, 'result_double': None}] Qualite : 0.026818944049830536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27867405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867405_17-10-2025_10_32_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27867405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867405_17-10-2025_10_32_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27867453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27867454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27867460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27867468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27867469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27867470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27867471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27867472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27867473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27867474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27867484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27867488, 'pht': 3726}}" where mtr_portfolio_id = 27867405 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27867405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459179, 0.026818944049830536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27867405_17-10-2025_10_32_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27867453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27867454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27867460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27867468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27867469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27867470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27867471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27867472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27867473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27867474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27867484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27867488, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869918 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 = 27869918 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 = 27869918 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869918 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 = 27869918 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 = 27869918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869918_17-10-2025_09_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869918_17-10-2025_09_09_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27869919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27869920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27869921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27869922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27869923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27869924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27869925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27869926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27869927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27869928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27869929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27869930, 'pht': 3726}}" where mtr_portfolio_id = 27869918 and dashboard_run_id = 2469021 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27869968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952470, 'mtr_portfolio_id': 27869968, 'created_at': datetime.datetime(2025, 10, 17, 9, 11, 27), 'result': '0.05390034590600804', 'result_long': None, 'result_double': None}] Qualite : 0.05390034590600804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27869968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869968_17-10-2025_09_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27869968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869968_17-10-2025_09_11_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27869969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27869970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27869971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27869972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27869973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27869974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27869975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27869976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27869977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27869978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27869979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27869980, 'pht': 3726}}" where mtr_portfolio_id = 27869968 and dashboard_run_id = 2469021 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27869968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16459181, 0.05390034590600804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27869968_17-10-2025_09_11_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27869969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27869970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27869971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27869972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27869973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27869974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27869975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27869976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27869977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27869978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27869979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27869980, '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 (27849662,27850314,27850796,27851368,27852357,27852802,27853105,27853775,27854208,27854642,27854965,27855559,27855931,27856418,27856780,27857927,27858339,27858784,27859167,27859553,27860091,27860436,27860859,27861263,27862187,27863033,27863691,27864190,27869313,27869315,27869317,27869319,27869321,27869341,27869361,27867259,27865732,27865086,27865088,27865832,27866585,27867405,27869918,27869968) result : ((1389674570,), (1389674571,), (1389674572,), (1389674582,), (1389674583,), (1389674584,), (1389674782,), (1389674784,), (1389674786,), (1389675930,), (1389675932,), (1389675935,), (1389675940,), (1389675947,), (1389675950,), (1389676259,), (1389676298,), (1389676300,), (1389676304,), (1389676319,), (1389676321,), (1389676322,), (1389676323,), (1389676327,), (1389676343,), (1389676344,), (1389676345,), (1389676347,), (1389676349,), (1389676351,), (1389676377,), (1389676378,), (1389676389,), (1389676390,), (1389676391,), (1389676457,), (1389676642,), (1389676644,), (1389676646,), (1389676648,), (1389676740,), (1389676781,), (1389676783,), (1389676786,), (1389676790,), (1389676792,), (1389676832,), (1389676833,), (1389676834,), (1389676842,), (1389676843,), (1389676844,), (1389676846,), (1389677213,), (1389677215,), (1389677216,), (1389677217,), (1389677219,), (1389677251,), (1389677252,), (1389677253,), (1389677255,), (1389677260,), (1389677274,), (1389677276,), (1389678296,), (1389678607,), (1389678608,), (1389678612,), (1389678655,), (1389678872,), (1389678873,), (1389678874,), (1389678915,), (1389678916,), (1389678917,), (1389678926,), (1389678927,), (1389678928,), (1389678930,), (1389678934,), (1389678948,), (1389678949,), (1389678950,), (1389678953,), (1389678983,), (1389678984,), (1389678985,), (1389678987,), (1389678992,), (1389679001,), (1389679022,), (1389679025,), (1389679027,), (1389679029,), (1389679031,), (1389679033,), (1389679035,), (1389679037,), (1389679044,), (1389679054,), (1389679056,), (1389679077,), (1389679079,), (1389679080,), (1389679081,), (1389679082,), (1389679083,), (1389679084,), (1389679088,), (1389679090,), (1389679114,), (1389679159,), (1389679197,), (1389679245,), (1389679357,), (1389679400,), (1389679443,), (1389679487,), (1389679534,), (1389679579,), (1389679589,), (1389679599,), (1389679879,), (1389679882,), (1389679885,), (1389679894,), (1389679898,), (1389679903,), (1389679906,), (1389679909,), (1389679911,), (1389679871,), (1389679873,), (1389679876,), (1389679887,), (1389679888,), (1389679891,), (1389679892,), (1389679912,), (1389679915,), (1389680202,), (1389680242,), (1389680281,), (1389680323,), (1389680368,), (1389680408,), (1389680485,), (1389680530,), (1389680569,), (1389680578,), (1389680581,), (1389680614,), (1389680658,), (1389680660,), (1389681111,), (1389681119,), (1389681121,), (1389681123,), (1389681308,), (1389681351,), (1389681384,), (1389681493,), (1389681504,), (1389681515,), (1389681517,), (1389681538,), (1389681540,), (1389681542,), (1389681954,), (1389681955,), (1389681965,), (1389681966,), (1389681968,), (1389681969,), (1389682362,), (1389682363,), (1389682856,), (1389682857,), (1389682858,), (1389682859,), (1389683013,), (1389683014,), (1389683015,), (1389683017,), (1389683020,), (1389683027,), (1389683030,), (1389683032,), (1389683035,), (1389683037,), (1389683057,), (1389683820,), (1389683866,), (1389683891,), (1389683896,), (1389683897,), (1389683898,), (1389683787,), (1389683817,), (1389683901,), (1389683904,), (1389683905,), (1389683907,), (1389683909,), (1389683910,), (1389683922,), (1389683923,), (1389683924,), (1389683925,), (1389683941,), (1389683942,), (1389683943,), (1389683944,), (1389683989,), (1389684397,), (1389684440,), (1389684485,), (1389684530,), (1389684561,), (1389684688,), (1389684731,), (1389684749,), (1389684757,), (1389684767,), (1389684881,), (1389684882,), (1389684883,), (1389684885,), (1389684888,), (1389684893,), (1389684894,), (1389684895,), (1389684897,), (1389684908,), (1389685388,), (1389685438,), (1389685481,), (1389685524,), (1389686013,), (1389686015,), (1389686017,), (1389686019,), (1389686215,), (1389686221,), (1389686248,), (1389686253,), (1389686255,), (1389686256,), (1389686259,), (1389686260,), (1389686262,), (1389686265,), (1389686268,), (1389686270,), (1389686275,), (1389686285,), (1389686286,), (1389686288,), (1389686290,), (1389686293,), (1389687129,), (1389687131,), (1389687361,), (1389689277,), (1389689291,), (1389689292,), (1389689293,), (1389689339,), (1389689340,), (1389689343,), (1389689402,), (1389689403,), (1389689404,), (1389689406,), (1389689407,), (1389689409,), (1389689414,), (1389689416,), (1389689418,), (1389689422,), (1389689425,), (1389689427,), (1389689433,), (1389689435,), (1389689437,), (1389689439,), (1389689440,), (1389689442,), (1389689452,), (1389689455,), (1389689456,), (1389689457,), (1389689459,), (1389689465,), (1389689475,), (1389689482,), (1389689546,), (1389689551,), (1389689575,), (1389689577,), (1389689579,), (1389689581,), (1389689600,), (1389689602,), (1389689603,), (1389689605,), (1389689607,), (1389689612,), (1389689613,), (1389689614,), (1389689615,), (1389689617,), (1389689622,), (1389689629,), (1389689630,), (1389689631,), (1389689633,), (1389689636,), (1389689638,), (1389689654,), (1389689656,), (1389689657,), (1389689679,), (1389689680,), (1389689681,), (1389689682,), (1389689690,), (1389689691,), (1389689692,), (1389689693,), (1389689697,), (1389689698,), (1389689745,), (1389689747,), (1389689749,), (1389689753,), (1389689754,), (1389689755,), (1389689756,), (1389689741,), (1389689742,), (1389689743,), (1389689758,), (1389689759,), (1389689761,), (1389689773,), (1389689777,), (1389689785,), (1389689786,), (1389689787,), (1389689788,), (1389689790,), (1389689792,), (1389689812,), (1389689813,), (1389689814,), (1389689816,), (1389689844,), (1389689845,), (1389689846,), (1389689848,), (1389689851,), (1389689853,), (1389689859,), (1389689861,), (1389689864,), (1389689867,), (1389689895,), (1389689897,), (1389689900,), (1389689903,), (1389689909,), (1389689910,), (1389689911,), (1389689913,), (1389689916,), (1389689945,), (1389689946,), (1389689947,), (1389689949,), (1389689966,), (1389689969,), (1389689971,), (1389689974,), (1389689977,), (1389689985,), (1389689986,), (1389689987,), (1389689989,), (1389689991,), (1389689993,), (1389690004,), (1389690017,), (1389690019,), (1389690020,), (1389690022,), (1389690034,), (1389690039,), (1389690041,), (1389690055,), (1389690057,), (1389690849,), (1389690855,), (1389690857,), (1389690862,), (1389690864,), (1389690865,), (1389690891,), (1389690883,), (1389690885,), (1389690886,), (1389690888,), (1389691725,), (1389691727,), (1389691882,), (1389691884,), (1389691921,), (1389691964,), (1389691965,), (1389691966,), (1389691968,), (1389691970,), (1389692523,), (1389692524,), (1389692526,), (1389692529,), (1389692530,), (1389692780,), (1389692781,), (1389692783,), (1389692785,), (1389692787,), (1389692792,), (1389692805,), (1389692806,), (1389692807,), (1389692808,), (1389692810,), (1389692812,), (1389692821,), (1389692823,), (1389692831,), (1389692844,), (1389692845,), (1389692847,), (1389692851,), (1389693173,), (1389693606,), (1389693617,), (1389693618,), (1389693619,), (1389693806,), (1389693827,), (1389693856,), (1389693857,), (1389693858,), (1389693859,), (1389693861,), (1389693925,), (1389693926,), (1389693927,), (1389693938,), (1389693939,), (1389693940,), (1389693941,), (1389693958,), (1389693962,), (1389693968,), (1389693971,), (1389693990,), (1389693992,), (1389694026,), (1389694028,), (1389694032,), (1389694060,), (1389694437,), (1389694913,), (1389694943,), (1389695156,), (1389695157,), (1389695204,), (1389695208,), (1389695257,), (1389695260,), (1389695261,), (1389695262,), (1389695263,), (1389695249,), (1389695250,), (1389695251,), (1389695253,), (1389695255,), (1389695264,), (1389695265,), (1389695267,), (1389695306,), (1389695307,), (1389695308,), (1389695310,), (1389695313,), (1389695315,), (1389695349,), (1389695350,), (1389695351,), (1389695353,), (1389695363,), (1389695364,), (1389695365,), (1389695367,), (1389695375,), (1389695376,), (1389695377,), (1389695429,), (1389695430,), (1389695432,), (1389695445,), (1389695452,), (1389695457,), (1389695489,), (1389695490,), (1389695491,), (1389695493,), (1389695495,), (1389695498,), (1389695522,), (1389695523,), (1389695524,), (1389695527,), (1389695566,), (1389695567,), (1389695568,), (1389695570,), (1389695573,), (1389695587,), (1389695588,), (1389695589,), (1389695591,), (1389695593,), (1389695595,), (1389695598,), (1389695599,), (1389695600,), (1389695601,), (1389695602,), (1389695607,), (1389695620,), (1389695637,), (1389695639,), (1389695700,), (1389695702,), (1389695704,), (1389695706,), (1389695708,), (1389695710,), (1389695715,), (1389695717,), (1389695719,), (1389695720,), (1389695723,), (1389695739,), (1389695741,), (1389695742,), (1389695813,), (1389695838,), (1389695780,), (1389695782,), (1389695783,), (1389695802,), (1389695811,), (1389695816,), (1389695818,), (1389695821,), (1389695822,), (1389695824,), (1389695826,), (1389695830,), (1389695831,), (1389695832,), (1389695833,), (1389695835,), (1389695843,), (1389695844,), (1389695846,), (1389695847,), (1389695852,), (1389695853,), (1389695855,), (1389695856,), (1389695857,), (1389695858,), (1389695859,), (1389695860,), (1389695868,), (1389695869,), (1389695870,), (1389695872,), (1389695874,), (1389695881,), (1389695899,), (1389695900,), (1389695901,), (1389695903,), (1389695905,), (1389695907,), (1389695911,), (1389695914,), (1389695918,), (1389695919,), (1389695920,), (1389695921,), (1389695924,), (1389695932,), (1389695935,), (1389695938,), (1389695941,), (1389695952,), (1389695963,), (1389695964,), (1389695983,), (1389695984,), (1389695985,), (1389695986,), (1389695988,), (1389695993,), (1389695994,), (1389695996,), (1389695997,), (1389695999,), (1389696009,), (1389696023,), (1389696024,), (1389696026,), (1389696028,), (1389696030,), (1389696032,), (1389696039,), (1389696040,), (1389696042,), (1389696062,), (1389696063,), (1389696066,), (1389696068,), (1389696070,), (1389696072,), (1389696076,), (1389696078,), (1389696080,), (1389696081,), (1389696110,), (1389696114,), (1389696115,), (1389696116,), (1389696117,), (1389696102,), (1389696103,), (1389696104,), (1389696106,), (1389696108,), (1389696118,), (1389696120,), (1389696122,), (1389696124,), (1389696139,), (1389696141,), (1389696143,), (1389696145,), (1389696147,), (1389696153,), (1389696154,), (1389696155,), (1389696166,), (1389696167,), (1389696169,), (1389696170,), (1389696172,), (1389696174,), (1389696178,), (1389696179,), (1389696180,), (1389696181,), (1389696184,), (1389696189,), (1389696201,), (1389696202,), (1389696203,), (1389696205,), (1389696214,), (1389696215,), (1389696216,), (1389696218,), (1389696221,), (1389696243,), (1389696244,), (1389696245,), (1389696248,), (1389696250,), (1389696252,), (1389696258,), (1389696260,), (1389696262,), (1389696265,), (1389696278,), (1389696279,), (1389696280,), (1389696282,), (1389696284,), (1389696286,), (1389696290,), (1389696291,), (1389696292,), (1389696294,), (1389696301,), (1389696303,), (1389696312,), (1389696351,), (1389696352,), (1389696353,), (1389696373,), (1389696375,), (1389696378,), (1389696380,), (1389696534,), (1389697287,), (1389697289,), (1389697290,), (1389697511,), (1389697439,), (1389697441,), (1389697479,), (1389697505,), (1389697506,), (1389698508,), (1389698509,), (1389698512,), (1389698514,), (1389698516,), (1389698518,), (1389698810,), (1389698811,), (1389698850,), (1389698851,), (1389698853,), (1389698868,), (1389698869,), (1389698871,), (1389698872,), (1389698874,), (1389698879,), (1389698880,), (1389698881,), (1389698882,), (1389698884,), (1389698901,), (1389698902,), (1389698904,), (1389698905,), (1389698907,), (1389698909,), (1389698918,), (1389698927,), (1389698935,), (1389698939,), (1389698942,), (1389698949,), (1389698954,), (1389698957,), (1389698960,), (1389698968,), (1389698969,), (1389698970,), (1389698972,), (1389698974,), (1389698981,), (1389698982,), (1389698983,), (1389698984,), (1389699000,), (1389699001,), (1389699002,), (1389699004,), (1389699018,), (1389699019,), (1389699020,), (1389699023,), (1389699026,), (1389699036,), (1389699046,), (1389699047,), (1389699048,), (1389699050,), (1389699076,), (1389699110,), (1389699149,), (1389699142,), (1389699143,), (1389699144,), (1389699145,), (1389699147,), (1389699162,), (1389699163,), (1389699164,), (1389699165,), (1389699195,), (1389699198,), (1389699200,), (1389699203,), (1389699205,), (1389699211,), (1389699212,), (1389699214,), (1389699215,), (1389699218,), (1389699220,), (1389699225,), (1389699226,), (1389699227,), (1389699228,), (1389699230,), (1389699232,), (1389699239,), (1389699240,), (1389699241,), (1389699267,), (1389699274,), (1389699282,), (1389699284,), (1389699286,), (1389699294,), (1389699296,), (1389699315,), (1389699336,), (1389699388,), (1389699389,), (1389699397,), (1389699398,), (1389699399,), (1389699435,), (1389699437,), (1389699438,), (1389699441,), (1389699444,), (1389699483,), (1389699582,), (1389699677,), (1389699469,), (1389699470,), (1389699471,), (1389699472,), (1389699473,), (1389699526,), (1389699527,), (1389699528,), (1389699529,), (1389699530,), (1389699532,), (1389699539,), (1389699541,), (1389699561,), (1389699563,), (1389699564,), (1389699565,), (1389699567,), (1389699570,), (1389699572,), (1389699574,), (1389699576,), (1389699578,), (1389699580,), (1389699581,), (1389699598,), (1389699599,), (1389699600,), (1389699602,), (1389699605,), (1389699607,), (1389699618,), (1389699620,), (1389699621,), (1389699622,), (1389699624,), (1389699625,), (1389699627,), (1389699631,), (1389699637,), (1389699657,), (1389699669,), (1389699684,), (1389699686,), (1389699688,), (1389699691,), (1389699692,), (1389699698,), (1389699699,), (1389699701,), (1389699730,), (1389699731,), (1389699732,), (1389699734,), (1389699737,), (1389699743,), (1389699744,), (1389699747,), (1389699750,), (1389699752,), (1389699760,), (1389699765,), (1389699770,), (1389699790,), (1389699793,), (1389699802,), (1389699804,), (1389699805,), (1389699815,), (1389699817,), (1389699819,), (1389699821,), (1389699827,), (1389699830,), (1389699832,), (1389699834,), (1389699881,), (1389699882,), (1389699884,), (1389699887,), (1389699889,), (1389699873,), (1389699875,), (1389699877,), (1389699879,), (1389699896,), (1389699897,), (1389699900,), (1389699901,), (1389699903,), (1389699904,), (1389699906,), (1389699907,), (1389699909,), (1389699911,), (1389699913,), (1389699914,), (1389699935,), (1389699937,), (1389699944,), (1389699945,), (1389699948,), (1389699952,), (1389699956,), (1389699957,), (1389699958,), (1389699961,), (1389699964,), (1389699966,), (1389699968,), (1389699970,), (1389699973,), (1389699974,), (1389699986,), (1389700005,), (1389700007,), (1389700010,), (1389700012,), (1389700015,), (1389700016,), (1389700017,), (1389700018,), (1389700020,), (1389700024,), (1389700025,), (1389700028,), (1389700030,), (1389700034,), (1389700035,), (1389700037,), (1389700038,), (1389700039,), (1389700040,), (1389700042,), (1389700043,), (1389700051,), (1389700063,), (1389700071,), (1389700075,), (1389700078,), (1389700080,), (1389700084,), (1389700088,), (1389700091,), (1389700095,), (1389700099,), (1389700101,), (1389700104,), (1389700106,), (1389700108,), (1389700109,), (1389700111,), (1389700113,), (1389700118,), (1389700120,), (1389700125,), (1389700132,), (1389700136,), (1389700139,), (1389700141,), (1389700143,), (1389700145,), (1389700147,), (1389700148,), (1389700149,), (1389700151,), (1389700160,), (1389700163,), (1389700168,), (1389700171,), (1389700195,), (1389700418,), (1389700480,), (1389702076,), (1389702079,), (1389702082,), (1389702085,), (1389702345,), (1389702364,), (1389702365,), (1389702369,), (1389702371,), (1389702374,), (1389702377,), (1389702379,), (1389702381,), (1389702393,), (1389702395,), (1389702396,), (1389702404,), (1389702408,), (1389702411,), (1389702417,), (1389702428,), (1389702430,), (1389703393,), (1389703471,), (1389703474,), (1389703477,), (1389703479,), (1389703481,), (1389703487,), (1389703489,), (1389703494,), (1389703499,), (1389703751,), (1389703752,), (1389703822,), (1389703825,), (1389703828,), (1389703838,), (1389703840,), (1389703841,), (1389703845,), (1389703847,), (1389703850,), (1389703853,), (1389703855,), (1389703857,), (1389703866,), (1389703869,), (1389703871,), (1389703873,), (1389703877,), (1389703878,), (1389703891,), (1389703894,), (1389703895,), (1389703926,), (1389703928,), (1389703930,), (1389700360,), (1389700377,), (1389700389,), (1389700408,), (1389700544,), (1389700548,), (1389700551,), (1389700561,), (1389700590,), (1389700720,), (1389700743,), (1389700764,), (1389700768,), (1389700774,), (1389700776,), (1389700777,), (1389700783,), (1389700786,), (1389700790,), (1389700792,), (1389700797,), (1389700919,), (1389700983,), (1389701242,), (1389701329,), (1389701334,), (1389701352,), (1389701370,), (1389701484,), (1389701486,), (1389701489,), (1389701492,), (1389701493,), (1389701495,), (1389701499,), (1389701500,), (1389701501,), (1389701508,), (1389701823,), (1389702055,), (1389702070,), (1389702073,), (1389702317,), (1389702337,), (1389702341,), (1389702343,), (1389702344,), (1389702352,), (1389702356,), (1389702360,), (1389702363,), (1389702387,), (1389702389,), (1389702391,), (1389703886,), (1389703922,), (1389706668,), (1389706665,), (1389706903,), (1389706907,), (1389706984,), (1389706986,), (1389707000,), (1389707002,), (1389707004,), (1389707006,), (1389707009,), (1389707019,), (1389707021,), (1389707024,), (1389707026,), (1389707036,), (1389707038,), (1389707040,), (1389707061,), (1389707063,), (1389707065,), (1389707067,), (1389707070,), (1389707080,), (1389707082,), (1389707085,), (1389707090,), (1389707095,), (1389707097,), (1389707108,), (1389707110,), (1389707112,), (1389707115,), (1389707118,), (1389707120,), (1389707124,), (1389707128,), (1389707129,), (1389707131,), (1389707162,), (1389707163,), (1389707165,), (1389707167,), (1389707169,), (1389707171,), (1389707177,), (1389707179,), (1389707181,), (1389707183,), (1389707184,), (1389707185,), (1389707193,), (1389707200,), (1389707204,), (1389707207,), (1389707209,), (1389707246,), (1389707247,), (1389707267,), (1389707272,), (1389707273,), (1389707275,), (1389707277,), (1389707228,), (1389707229,), (1389707232,), (1389707233,), (1389707236,), (1389707237,), (1389707240,), (1389707241,), (1389707244,), (1389707245,), (1389707250,), (1389707253,), (1389707255,), (1389707258,), (1389707261,), (1389707263,), (1389707280,), (1389707281,), (1389707283,), (1389707291,), (1389707294,), (1389707295,), (1389707297,), (1389707300,), (1389707307,), (1389707328,), (1389707330,), (1389707331,), (1389707332,), (1389707334,), (1389707341,), (1389707342,), (1389707343,), (1389707344,), (1389707346,), (1389707378,), (1389707380,), (1389707382,), (1389707383,), (1389707401,), (1389707404,), (1389707409,), (1389707416,), (1389707424,), (1389707426,), (1389707467,), (1389707469,), (1389707470,), (1389707472,), (1389707474,), (1389707511,), (1389707512,), (1389707513,), (1389707514,), (1389707515,), (1389707538,), (1389707539,), (1389707541,), (1389707543,), (1389707545,), (1389707547,), (1389707558,), (1389707574,), (1389707575,), (1389707577,), (1389707578,), (1389707580,), (1389707583,), (1389707590,), (1389707596,), (1389707627,), (1389707630,), (1389707632,), (1389707633,), (1389707635,), (1389707637,), (1389707644,), (1389707646,), (1389707647,), (1389707650,), (1389707711,), (1389707718,), (1389707720,), (1389707723,), (1389707726,), (1389707729,), (1389707798,), (1389707764,), (1389707769,), (1389707770,), (1389707773,), (1389707775,), (1389707780,), (1389707793,), (1389707795,), (1389707796,), (1389707802,), (1389707808,), (1389707815,), (1389707818,), (1389707820,), (1389707838,), (1389707841,), (1389707843,), (1389707845,), (1389707848,), (1389707858,), (1389707859,), (1389707860,), (1389707861,), (1389707863,), (1389707886,), (1389707888,), (1389707889,), (1389707891,), (1389707893,), (1389707895,), (1389707920,), (1389707922,), (1389707923,), (1389707924,), (1389707925,), (1389707928,), (1389707934,), (1389707938,), (1389707940,), (1389707951,), (1389707954,), (1389707957,), (1389707960,), (1389707963,), (1389707965,), (1389707972,), (1389707975,), (1389707978,), (1389707980,), (1389708018,), (1389708021,), (1389708025,), (1389708028,), (1389708030,), (1389708036,), (1389708037,), (1389708038,), (1389708039,), (1389708043,), (1389708085,), (1389708087,), (1389708088,), (1389708089,), (1389708092,), (1389708094,), (1389708110,), (1389708111,), (1389708113,), (1389708114,), (1389708136,), (1389708139,), (1389708140,), (1389708141,), (1389708144,), (1389708147,), (1389708154,), (1389708155,), (1389708157,), (1389708159,), (1389708205,), (1389708209,), (1389708210,), (1389708211,), (1389708213,), (1389708197,), (1389708198,), (1389708200,), (1389708202,), (1389708203,), (1389708218,), (1389708219,), (1389708221,), (1389708251,), (1389708266,), (1389708281,), (1389708282,), (1389708283,), (1389708285,), (1389708288,), (1389708291,), (1389708316,), (1389708318,), (1389708320,), (1389708321,), (1389708323,), (1389708348,), (1389708351,), (1389708352,), (1389708354,), (1389708357,), (1389708359,), (1389708365,), (1389708366,), (1389708367,), (1389708369,), (1389708372,), (1389708387,), (1389708389,), (1389708391,), (1389708393,), (1389708395,), (1389708398,), (1389708403,), (1389708404,), (1389708405,), (1389708408,), (1389708431,), (1389708432,), (1389708433,), (1389708435,), (1389708438,), (1389708440,), (1389708444,), (1389708445,), (1389708447,), (1389708450,), (1389708469,), (1389708471,), (1389708472,), (1389708474,), (1389708476,), (1389708478,), (1389708482,), (1389708483,), (1389708484,), (1389708485,), (1389708486,), (1389708487,), (1389708491,), (1389708493,), (1389708505,), (1389708507,), (1389708508,), (1389708509,), (1389708511,), (1389708513,), (1389709715,), (1389709726,), (1389709730,), (1389709734,), (1389710535,), (1389710625,), (1389710409,), (1389710411,), (1389710531,), (1389710581,), (1389710584,), (1389710586,), (1389710587,), (1389710588,), (1389710589,), (1389710595,), (1389710597,), (1389710599,), (1389710600,), (1389710613,), (1389710615,), (1389710620,), (1389710621,), (1389710622,), (1389710623,), (1389710624,), (1389710628,), (1389710629,), (1389710631,), (1389710632,), (1389710635,), (1389710637,), (1389710639,), (1389710640,), (1389710647,), (1389710649,), (1389710679,), (1389710681,), (1389710721,), (1389710722,), (1389710733,), (1389710736,), (1389710738,), (1389710740,), (1389710743,), (1389710750,), (1389710751,), (1389710752,), (1389710817,), (1389710820,), (1389710821,), (1389710822,), (1389710823,), (1389710830,), (1389710832,), (1389710833,), (1389710835,), (1389710840,), (1389710842,), (1389710856,), (1389710858,), (1389710859,), (1389710890,), (1389710891,), (1389710892,), (1389710894,), (1389710908,), (1389710911,), (1389710913,), (1389710916,), (1389710918,), (1389710920,), (1389710926,), (1389710928,), (1389710929,), (1389710931,), (1389710968,), (1389710971,), (1389710972,), (1389710973,), (1389710974,), (1389710959,), (1389710961,), (1389710962,), (1389710964,), (1389710966,), (1389710978,), (1389710980,), (1389710983,), (1389710985,), (1389711000,), (1389711002,), (1389711003,), (1389711004,), (1389711046,), (1389711047,), (1389711049,), (1389711051,), (1389711053,), (1389711055,), (1389711061,), (1389711063,), (1389711064,), (1389711065,), (1389711079,), (1389711081,), (1389711082,), (1389711084,), (1389711087,), (1389711098,), (1389711155,), (1389711157,), (1389711158,), (1389711159,), (1389711168,), (1389711171,), (1389711172,), (1389711175,), (1389711180,), (1389711189,), (1389711201,), (1389711203,), (1389711205,), (1389711207,), (1389711238,), (1389711239,), (1389711240,), (1389711242,), (1389711244,), (1389711246,), (1389711264,), (1389711266,), (1389711268,), (1389711269,), (1389711272,), (1389711275,), (1389711277,), (1389711278,), (1389711279,), (1389711281,), (1389711284,), (1389711291,), (1389711294,), (1389711297,), (1389711300,), (1389711302,), (1389711326,), (1389711328,), (1389711330,), (1389711332,), (1389711334,), (1389711340,), (1389711341,), (1389711342,), (1389711344,), (1389711347,), (1389711353,), (1389711376,), (1389711377,), (1389711378,), (1389711381,), (1389711431,), (1389711420,), (1389711421,), (1389711422,), (1389711424,), (1389711428,), (1389711444,), (1389711446,), (1389711448,), (1389711450,), (1389711454,), (1389711463,), (1389711464,), (1389711465,), (1389711467,), (1389711470,), (1389711478,), (1389711506,), (1389711508,), (1389711509,), (1389711511,), (1389711521,), (1389711524,), (1389711527,), (1389711532,), (1389711535,), (1389711537,), (1389711549,), (1389711551,), (1389711552,), (1389711554,), (1389711556,), (1389711558,), (1389711563,), (1389711568,), (1389711576,), (1389711578,), (1389711593,), (1389711595,), (1389711604,), (1389711615,), (1389711618,), (1389711625,), (1389711626,), (1389711627,), (1389711629,), (1389711632,), (1389711634,), (1389711641,), (1389711642,), (1389711643,), (1389711644,), (1389711669,), (1389711671,), (1389711673,), (1389711674,), (1389711677,), (1389711680,), (1389711686,), (1389711687,), (1389711688,), (1389711690,), (1389711713,), (1389711715,), (1389711716,), (1389711720,), (1389711722,), (1389711723,), (1389711745,), (1389711747,), (1389711750,), (1389711754,), (1389711757,), (1389711766,), (1389711783,), (1389711785,), (1389711786,), (1389711788,), (1389711791,), (1389711796,), (1389711797,), (1389711798,), (1389711802,), (1389711805,), (1389711808,), (1389711843,), (1389711845,), (1389711847,), (1389711850,), (1389711857,), (1389711861,), (1389711862,), (1389711839,), (1389711840,), (1389711841,), (1389711864,), (1389711865,), (1389711867,), (1389711873,), (1389711911,), (1389711914,), (1389711916,), (1389711917,), (1389711918,), (1389711919,), (1389711941,), (1389711943,), (1389711945,), (1389711947,), (1389711959,), (1389711961,), (1389711962,), (1389711964,), (1389711967,), (1389711969,), (1389711983,), (1389711984,), (1389711985,), (1389711988,), (1389711991,), (1389712025,), (1389712027,), (1389712029,), (1389712032,), (1389712036,), (1389712039,), (1389712048,), (1389712049,), (1389712051,), (1389712054,), (1389712058,), (1389712084,), (1389712086,), (1389712088,), (1389712091,), (1389712095,), (1389712098,), (1389712122,), (1389712124,), (1389712125,), (1389712128,), (1389712150,), (1389712151,), (1389712153,), (1389712156,), (1389712159,), (1389712162,), (1389712167,), (1389712168,), (1389712169,), (1389712170,), (1389712172,), (1389712173,), (1389712178,), (1389712187,), (1389712196,), (1389712200,), (1389712235,), (1389712238,), (1389712240,), (1389712993,), (1389713032,), (1389713056,), (1389713060,), (1389713063,), (1389713067,), (1389713072,), (1389713081,), (1389713104,), (1389713093,), (1389713096,), (1389713097,), (1389713098,), (1389713101,), (1389713474,), (1389713993,), (1389714061,), (1389714064,), (1389714068,), (1389714079,), (1389714334,), (1389714337,), (1389714422,), (1389714423,), (1389714425,), (1389714427,), (1389714431,), (1389714451,), (1389714453,), (1389714455,), (1389714458,), (1389714471,), (1389714486,), (1389714488,), (1389714491,), (1389714494,), (1389714497,), (1389714525,), (1389714532,), (1389714533,), (1389714534,), (1389714562,), (1389714566,), (1389714569,), (1389714577,), (1389714582,), (1389714586,), (1389714614,), (1389714615,), (1389714625,), (1389714638,), (1389714757,), (1389714759,), (1389714760,), (1389714765,), (1389714771,), (1389714825,), (1389714826,), (1389714828,), (1389714831,), (1389714834,), (1389714837,), (1389715089,), (1389715091,), (1389715092,), (1389715095,), (1389715099,), (1389715458,), (1389715474,), (1389715484,), (1389715491,), (1389715518,), (1389715521,), (1389715606,), (1389715608,), (1389715609,), (1389715612,), (1389715616,), (1389715647,), (1389715648,), (1389715650,), (1389715661,), (1389715666,), (1389715669,), (1389715816,), (1389715818,), (1389715820,), (1389715822,), (1389715914,), (1389715934,), (1389715943,), (1389715965,), (1389715969,), (1389715880,), (1389715882,), (1389715887,), (1389716061,), (1389716063,), (1389716064,), (1389716066,), (1389716069,), (1389716078,), (1389716102,), (1389716104,), (1389716106,), (1389716109,), (1389716113,), (1389716116,), (1389716283,), (1389716287,), (1389716298,), (1389716301,), (1389716390,), (1389716391,), (1389716392,), (1389716395,), (1389716462,), (1389716465,), (1389716564,), (1389716567,), (1389716571,), (1389716574,), (1389716601,), (1389716602,), (1389716604,), (1389716606,), (1389716610,), (1389716618,), (1389716848,), (1389716851,), (1389716853,), (1389716857,), (1389716860,), (1389716865,), (1389716904,), (1389716905,), (1389716906,), (1389717028,), (1389717030,), (1389717031,), (1389717034,), (1389717038,), (1389717042,), (1389717181,), (1389717182,), (1389717184,), (1389717187,), (1389717190,), (1389717198,), (1389717343,), (1389717348,), (1389717357,), (1389717368,), (1389717369,), (1389717371,), (1389717374,), (1389717377,), (1389717389,), (1389717400,), (1389717402,), (1389717413,), (1389717420,), (1389717423,), (1389717426,), (1389717436,), (1389717437,), (1389717438,), (1389717440,), (1389717558,), (1389717561,), (1389717564,), (1389717567,), (1389717570,), (1389717574,), (1389717750,), (1389717726,), (1389717736,), (1389717747,), (1389717781,), (1389717782,), (1389717784,), (1389717787,), (1389717790,), (1389717815,), (1389717816,), (1389717817,), (1389717834,), (1389717835,), (1389717836,), (1389717839,), (1389717842,), (1389717846,), (1389717879,), (1389717880,), (1389717883,), (1389717889,), (1389718240,), (1389718243,), (1389718248,), (1389718252,), (1389718255,), (1389718265,), (1389718273,), (1389718275,), (1389718279,), (1389718288,), (1389718346,), (1389718353,), (1389718356,), (1389718359,), (1389718370,), (1389718371,), (1389718372,), (1389718374,), (1389718546,), (1389718548,), (1389718549,), (1389718565,), (1389718568,), (1389718571,), (1389718664,), (1389718665,), (1389718666,), (1389718715,), (1389718720,), (1389718722,), (1389718748,), (1389718821,), (1389718830,), (1389718966,), (1389718968,), (1389718994,), (1389718997,), (1389719108,), (1389719115,), (1389719126,), (1389719129,), (1389719133,), (1389719150,), (1389719168,), (1389719170,), (1389719173,), (1389719175,), (1389719189,), (1389719191,), (1389719193,), (1389719197,), (1389719200,), (1389719203,), (1389719523,), (1389719525,), (1389719528,), (1389719533,), (1389719534,), (1389719535,), (1389719546,), (1389719227,), (1389719516,), (1389719520,), (1389719577,), (1389719589,), (1389719640,), (1389719642,), (1389719717,), (1389719720,), (1389719722,), (1389719726,), (1389719729,), (1389719732,), (1389719757,), (1389719764,), (1389719766,), (1389719769,), (1389719909,), (1389720094,), (1389720097,), (1389720101,), (1389720109,), (1389720127,), (1389720137,), (1389720139,), (1389720144,), (1389720149,), (1389720287,), (1389720403,), (1389720424,), (1389720425,), (1389720455,), (1389720546,), (1389720547,), (1389720549,), (1389720552,), (1389720585,), (1389720586,), (1389720589,), (1389720593,), (1389720595,), (1389720605,), (1389720611,), (1389720615,), (1389720627,), (1389720646,), (1389720647,), (1389720649,), (1389720708,), (1389720711,), (1389720714,), (1389720725,), (1389720726,), (1389720727,), (1389720777,), (1389720779,), (1389720828,), (1389720831,), (1389720865,), (1389720887,), (1389720890,), (1389720892,), (1389720894,), (1389721333,), (1389721363,), (1389721372,), (1389721375,), (1389721382,), (1389721410,), (1389721620,), (1389722047,), (1389722057,), (1389722063,), (1389722273,), (1389722269,), (1389722272,), (1389722342,), (1389722357,), (1389722358,), (1389722361,), (1389722365,), (1389722386,), (1389722387,), (1389722389,), (1389722391,), (1389722395,), (1389722398,), (1389723108,), (1389723110,), (1389723113,), (1389723337,), (1389723340,), (1389723343,), (1389723346,), (1389723350,), (1389723353,), (1389723368,), (1389723369,), (1389723371,), (1389723397,), (1389723400,), (1389723405,), (1389723414,), (1389723417,), (1389723515,), (1389723516,), (1389723517,), (1389723519,), (1389723537,), (1389723539,), (1389723540,), (1389723542,), (1389723550,), (1389723612,), (1389723614,), (1389723626,), (1389723747,), (1389723757,), (1389723773,), (1389723835,), (1389723836,), (1389723837,), (1389723839,), (1389723864,), (1389723866,), (1389723867,), (1389723869,), (1389723878,), (1389723883,), (1389723927,), (1389723934,), (1389723941,), (1389723943,), (1389723947,), (1389723997,), (1389723998,), (1389724009,), (1389724012,), (1389724015,), (1389724275,), (1389724277,), (1389724279,), (1389724281,), (1389724285,), (1389724295,), (1389724348,), (1389724402,), (1389724405,), (1389742629,), (1389742632,), (1389742634,), (1389742637,), (1389724450,), (1389724458,), (1389724459,), (1389724470,), (1389724475,), (1389724480,), (1389724484,), (1389724521,), (1389724522,), (1389724534,), (1389724535,), (1389724572,), (1389724577,), (1389724582,), (1389724587,), (1389724589,), (1389724591,), (1389724596,), (1389724644,), (1389724645,), (1389724646,), (1389724652,), (1389724658,), (1389724670,), (1389724715,), (1389724716,), (1389724815,), (1389724821,), (1389724826,), (1389724831,), (1389724834,), (1389724840,), (1389724885,), (1389724950,), (1389724961,), (1389724962,), (1389724968,), (1389724976,), (1389724998,), (1389725004,), (1389725014,), (1389725021,), (1389725231,), (1389725233,), (1389725240,), (1389725249,), (1389725255,), (1389725269,), (1389725554,), (1389725569,), (1389725573,), (1389725822,), (1389725825,), (1389725827,), (1389725830,), (1389725834,), (1389725839,), (1389725877,), (1389725884,), (1389725888,), (1389725890,), (1389725892,), (1389725897,), (1389725903,), (1389725964,), (1389725970,), (1389726397,), (1389726398,), (1389726400,), (1389726401,), (1389726426,), (1389726434,), (1389726435,), (1389726590,), (1389726593,), (1389726625,), (1389726636,), (1389724428,), (1389724433,), (1389724436,), (1389724439,), (1389724446,), (1389724501,), (1389724502,), (1389724508,), (1389724509,), (1389724513,), (1389724514,), (1389724517,), (1389724518,), (1389724548,), (1389724552,), (1389724556,), (1389724561,), (1389724567,), (1389724617,), (1389724622,), (1389724628,), (1389724634,), (1389724637,), (1389724641,), (1389724694,), (1389724695,), (1389724699,), (1389724700,), (1389724704,), (1389724705,), (1389724707,), (1389724708,), (1389724711,), (1389724712,), (1389724726,), (1389724736,), (1389724745,), (1389724747,), (1389724751,), (1389724756,), (1389724859,), (1389724868,), (1389724877,), (1389724881,), (1389724883,), (1389724935,), (1389724940,), (1389724945,), (1389725030,), (1389725040,), (1389725067,), (1389725131,), (1389725134,), (1389725135,), (1389725151,), (1389725174,), (1389725179,), (1389725200,), (1389725214,), (1389725219,), (1389725381,), (1389725382,), (1389725384,), (1389725635,), (1389725638,), (1389725649,), (1389725723,), (1389725727,), (1389725731,), (1389725850,), (1389725855,), (1389725860,), (1389726028,), (1389726029,), (1389726045,), (1389726046,), (1389726051,), (1389726116,), (1389726374,), (1389726375,), (1389726413,), (1389726418,), (1389726422,), (1389726775,), (1389726644,), (1389726649,), (1389726666,), (1389726669,), (1389726686,), (1389726691,), (1389726695,), (1389726698,), (1389726780,), (1389726792,), (1389726796,), (1389726800,), (1389726813,), (1389726823,), (1389726837,), (1389726843,), (1389726849,), (1389726854,), (1389726891,), (1389726928,), (1389726972,), (1389726994,), (1389726998,), (1389727001,), (1389727017,), (1389727046,), (1389727050,), (1389727053,), (1389727058,), (1389727299,), (1389727305,), (1389727306,), (1389727307,), (1389727328,), (1389727334,), (1389727340,), (1389727365,), (1389727404,), (1389727415,), (1389727426,), (1389727494,), (1389727514,), (1389727518,), (1389727522,), (1389727526,), (1389727552,), (1389727621,), (1389727632,), (1389727779,), (1389727783,), (1389727786,), (1389727965,), (1389727976,), (1389727985,), (1389727999,), (1389728005,), (1389728035,), (1389728068,), (1389728107,), (1389728109,), (1389728122,), (1389728125,), (1389728128,), (1389728133,), (1389728138,), (1389728142,), (1389728173,), (1389728185,), (1389728192,), (1389728206,), (1389728209,), (1389728212,), (1389728216,), (1389728390,), (1389726723,), (1389726872,), (1389726874,), (1389726876,), (1389726887,), (1389726961,), (1389727037,), (1389727041,), (1389727188,), (1389727259,), (1389727276,), (1389727282,), (1389727294,), (1389727360,), (1389727363,), (1389727446,), (1389727452,), (1389727457,), (1389727466,), (1389727472,), (1389727479,), (1389727562,), (1389727597,), (1389727603,), (1389727609,), (1389727728,), (1389727765,), (1389727774,), (1389728045,), (1389728049,), (1389728053,), (1389728057,), (1389728064,), (1389728082,), (1389728087,), (1389728091,), (1389728097,), (1389728151,), (1389728157,), (1389728162,), (1389728166,), (1389728169,), (1389728229,), (1389728236,), (1389728376,), (1389728385,), (1389728418,), (1389728427,), (1389728432,), (1389728436,), (1389728439,), (1389728496,), (1389728497,), (1389728498,), (1389728499,), (1389728500,), (1389728503,), (1389728526,), (1389728529,), (1389728532,), (1389728533,), (1389728536,), (1389728540,), (1389728596,), (1389728575,), (1389728585,), (1389728897,), (1389728903,), (1389728911,), (1389728962,), (1389728964,), (1389729015,), (1389729019,), (1389729200,), (1389729233,), (1389729237,), (1389729273,), (1389729277,), (1389729448,), (1389729462,), (1389729464,), (1389729467,), (1389729480,), (1389729626,), (1389729629,), (1389729634,), (1389729637,), (1389729655,), (1389729828,), (1389729833,), (1389730073,), (1389730079,), (1389730087,), (1389730107,), (1389730113,), (1389730141,), (1389730172,), (1389730177,), (1389730180,), (1389730201,), (1389730246,), (1389730295,), (1389730299,), (1389730302,), (1389730306,), (1389730436,), (1389730618,), (1389730631,), (1389730667,), (1389730725,), (1389730763,), (1389730764,), (1389730770,), (1389730773,), (1389730800,), (1389730806,), (1389730813,), (1389730817,), (1389731437,), (1389728411,), (1389728442,), (1389728450,), (1389728453,), (1389728456,), (1389728460,), (1389728467,), (1389728473,), (1389728605,), (1389728620,), (1389728624,), (1389728753,), (1389728791,), (1389728794,), (1389728799,), (1389728804,), (1389728808,), (1389728826,), (1389728827,), (1389728831,), (1389728832,), (1389728835,), (1389728836,), (1389728841,), (1389728842,), (1389728844,), (1389728845,), (1389728847,), (1389728848,), (1389728977,), (1389728985,), (1389728989,), (1389728993,), (1389728997,), (1389728999,), (1389729004,), (1389729024,), (1389729028,), (1389729032,), (1389729036,), (1389729281,), (1389729287,), (1389729288,), (1389729289,), (1389729293,), (1389729297,), (1389729418,), (1389729484,), (1389729508,), (1389729523,), (1389729530,), (1389729535,), (1389729540,), (1389729543,), (1389729641,), (1389729645,), (1389729837,), (1389729901,), (1389729940,), (1389730003,), (1389730005,), (1389730006,), (1389730010,), (1389730022,), (1389730039,), (1389730121,), (1389730337,), (1389730347,), (1389730374,), (1389730377,), (1389730379,), (1389730381,), (1389730419,), (1389730425,), (1389730727,), (1389730731,), (1389730736,), (1389730740,), (1389730745,), (1389730750,), (1389730756,), (1389730776,), (1389730779,), (1389731417,), (1389731421,), (1389731430,), (1389731434,), (1389731697,), (1389731721,), (1389731731,), (1389731738,), (1389731894,), (1389731896,), (1389731899,), (1389731901,), (1389731929,), (1389731940,), (1389731949,), (1389731953,), (1389731960,), (1389731963,), (1389731966,), (1389731969,), (1389731987,), (1389731993,), (1389731998,), (1389732002,), (1389732010,), (1389734893,), (1389745568,), (1389724342,), (1389724343,), (1389724345,), (1389740874,), (1389740876,), (1389740889,), (1389740908,), (1389740913,), (1389740960,), (1389740963,), (1389740965,), (1389740967,), (1389740972,), (1389740976,), (1389740986,), (1389740991,), (1389740993,), (1389740996,), (1389740999,), (1389741003,), (1389741012,), (1389741019,), (1389741024,), (1389741029,), (1389741038,), (1389741047,), (1389741069,), (1389741072,), (1389741076,), (1389741086,), (1389741133,), (1389741144,), (1389741167,), (1389741173,), (1389741191,), (1389741201,), (1389741204,), (1389741216,), (1389741222,), (1389741227,), (1389741231,), (1389741254,), (1389741277,), (1389741282,), (1389741286,), (1389741287,), (1389741288,), (1389741292,), (1389741294,), (1389741300,), (1389741312,), (1389741313,), (1389741316,), (1389741317,), (1389741319,), (1389741320,), (1389741322,), (1389741323,), (1389741328,), (1389741334,), (1389741340,), (1389741341,), (1389741560,), (1389741574,), (1389741609,), (1389741616,), (1389741653,), (1389741657,), (1389741676,), (1389741683,), (1389741693,), (1389741695,), (1389741698,), (1389741701,), (1389741709,), (1389741710,), (1389741712,), (1389741713,), (1389741715,), (1389741716,), (1389741717,), (1389741718,), (1389741719,), (1389741720,), (1389741721,), (1389741722,), (1389742583,), (1389742597,), (1389742602,), (1389742606,), (1389742611,), (1389739639,), (1389739644,), (1389739699,), (1389739721,), (1389739749,), (1389739774,), (1389739787,), (1389739793,), (1389739845,), (1389739850,), (1389739859,), (1389739862,), (1389739864,), (1389739867,), (1389739870,), (1389739872,), (1389739876,), (1389739879,), (1389739884,), (1389739916,), (1389739977,), (1389739988,), (1389739991,), (1389739995,), (1389740000,), (1389740006,), (1389740030,), (1389740034,), (1389740038,), (1389740041,), (1389740042,), (1389740043,), (1389740125,), (1389740128,), (1389740132,), (1389740134,), (1389740137,), (1389740142,), (1389740152,), (1389740155,), (1389740160,), (1389740442,), (1389740445,), (1389740448,), (1389740484,), (1389740487,), (1389740490,), (1389740492,), (1389740495,), (1389740498,), (1389740503,), (1389740507,), (1389740514,), (1389740519,), (1389740523,), (1389740527,), (1389740544,), (1389740545,), (1389740553,), (1389740557,), (1389740561,), (1389740566,), (1389740572,), (1389740576,), (1389740580,), (1389740584,), (1389740587,), (1389740591,), (1389740625,), (1389740628,), (1389740632,), (1389740635,), (1389740639,), (1389740642,), (1389740683,), (1389740689,), (1389740714,), (1389740718,), (1389740725,), (1389740728,), (1389740753,), (1389740757,), (1389740850,), (1389740853,), (1389740857,), (1389740862,), (1389740870,), (1389738940,), (1389738946,), (1389738948,), (1389738950,), (1389738955,), (1389738958,), (1389738969,), (1389738986,), (1389738989,), (1389738992,), (1389738995,), (1389738998,), (1389739000,), (1389739058,), (1389739065,), (1389739071,), (1389739074,), (1389739077,), (1389739080,), (1389739086,), (1389739088,), (1389739099,), (1389739118,), (1389739121,), (1389739127,), (1389739142,), (1389739143,), (1389739144,), (1389739146,), (1389739149,), (1389739152,), (1389739164,), (1389739167,), (1389739168,), (1389739169,), (1389739172,), (1389739175,), (1389739188,), (1389739191,), (1389739194,), (1389739203,), (1389739205,), (1389739237,), (1389739243,), (1389739248,), (1389739252,), (1389739275,), (1389739292,), (1389739309,), (1389739357,), (1389739361,), (1389739365,), (1389739372,), (1389739378,), (1389739381,), (1389739384,), (1389739388,), (1389739393,), (1389739397,), (1389739402,), (1389739407,), (1389739586,), (1389739589,), (1389739591,), (1389739595,), (1389739599,), (1389739602,), (1389739620,), (1389739624,), (1389739632,), (1389739636,), (1389738350,), (1389738353,), (1389738356,), (1389738358,), (1389738364,), (1389738376,), (1389738379,), (1389738381,), (1389738383,), (1389738384,), (1389738386,), (1389738409,), (1389738431,), (1389738436,), (1389738443,), (1389738448,), (1389738450,), (1389738472,), (1389738474,), (1389738477,), (1389738480,), (1389738487,), (1389738491,), (1389738499,), (1389738502,), (1389738507,), (1389738511,), (1389738516,), (1389738521,), (1389738566,), (1389738568,), (1389738569,), (1389738683,), (1389738690,), (1389738705,), (1389738728,), (1389738733,), (1389738763,), (1389738787,), (1389738824,), (1389738827,), (1389738842,), (1389738848,), (1389738853,), (1389738859,), (1389738864,), (1389738866,), (1389738871,), (1389738873,), (1389738876,), (1389738894,), (1389738223,), (1389738238,), (1389738242,), (1389738246,), (1389738250,), (1389738254,), (1389738270,), (1389738275,), (1389738279,), (1389738284,), (1389738289,), (1389738304,), (1389738306,), (1389738308,), (1389738311,), (1389738314,), (1389738317,), (1389738320,), (1389738323,), (1389738326,), (1389738328,), (1389738330,), (1389738334,), (1389738338,), (1389738345,), (1389735744,), (1389735824,), (1389735825,), (1389735841,), (1389735844,), (1389735991,), (1389735996,), (1389736030,), (1389736075,), (1389736078,), (1389736081,), (1389736092,), (1389736116,), (1389736123,), (1389736127,), (1389736134,), (1389736139,), (1389736152,), (1389736165,), (1389736169,), (1389736172,), (1389736175,), (1389736178,), (1389736186,), (1389736190,), (1389736192,), (1389736194,), (1389736198,), (1389736205,), (1389736211,), (1389736223,), (1389736258,), (1389736260,), (1389736264,), (1389736268,), (1389736290,), (1389736293,), (1389736296,), (1389736301,), (1389736305,), (1389736309,), (1389736315,), (1389736320,), (1389736326,), (1389736328,), (1389736330,), (1389736332,), (1389736374,), (1389736384,), (1389736395,), (1389736406,), (1389736552,), (1389736739,), (1389736761,), (1389736802,), (1389736804,), (1389736806,), (1389736808,), (1389736812,), (1389736838,), (1389736841,), (1389736849,), (1389737068,), (1389737239,), (1389737250,), (1389737258,), (1389737260,), (1389737262,), (1389737266,), (1389737270,), (1389737428,), (1389737759,), (1389737763,), (1389737766,), (1389737769,), (1389737778,), (1389737781,), (1389737792,), (1389737795,), (1389737798,), (1389737801,), (1389737804,), (1389737988,), (1389738108,), (1389738114,), (1389738117,), (1389738121,), (1389738124,), (1389738157,), (1389738206,), (1389738209,), (1389738212,), (1389738215,), (1389738217,), (1389730821,), (1389730826,), (1389730859,), (1389730867,), (1389731205,), (1389731404,), (1389731408,), (1389731411,), (1389731645,), (1389731742,), (1389731773,), (1389731820,), (1389731835,), (1389731844,), (1389731847,), (1389731877,), (1389731883,), (1389732230,), (1389732958,), (1389732965,), (1389732968,), (1389732971,), (1389732976,), (1389732981,), (1389733357,), (1389733361,), (1389733583,), (1389733586,), (1389733588,), (1389733613,), (1389733680,), (1389733723,), (1389733903,), (1389733909,), (1389733911,), (1389733956,), (1389733997,), (1389734002,), (1389734008,), (1389734013,), (1389734016,), (1389734020,), (1389734027,), (1389734032,), (1389734038,), (1389734043,), (1389734047,), (1389734049,), (1389734060,), (1389734063,), (1389734080,), (1389734084,), (1389734089,), (1389734093,), (1389734591,), (1389734596,), (1389734607,), (1389734628,), (1389734646,), (1389734772,), (1389734854,), (1389734855,), (1389734857,), (1389734880,), (1389734882,), (1389734885,), (1389734895,), (1389734897,), (1389734899,), (1389735089,), (1389735097,), (1389735155,), (1389735298,), (1389735317,), (1389735364,), (1389735369,), (1389735373,), (1389735743,), (1389744451,), (1389745214,), (1389745495,), (1389745565,), (1389745617,), (1389745623,), (1389745627,), (1389745631,), (1389745633,), (1389745636,), (1389745709,), (1389745748,), (1389745751,), (1389745753,), (1389745755,), (1389745786,), (1389745790,), (1389745793,), (1389745800,), (1389745803,), (1389745828,), (1389745831,), (1389745835,), (1389745885,), (1389745888,), (1389745890,), (1389745894,), (1389745897,), (1389745923,), (1389745925,), (1389745933,), (1389745936,), (1389745961,), (1389745981,), (1389745985,), (1389745987,), (1389746003,), (1389746006,), (1389746015,), (1389746124,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16102025': {'nb_upload': 27, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27867405]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] map_info['map_portfolio_photo'] : {27867405: [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417]} final : True mtd_id 4302 list_pids : [1389745568, 1389734893, 1389732010, 1389732002, 1389731998, 1389731993, 1389731987, 1389731969, 1389731966, 1389731963, 1389731960, 1389731953, 1389731949, 1389731940, 1389731929, 1389731901, 1389731899, 1389731896, 1389731894, 1389731738, 1389731731, 1389731721, 1389731697, 1389731434, 1389731430, 1389731421, 1389731417] Looping around the photos to save general results len do output : 1 /27867405Didn'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, '3952468') ('4302', '27867405', '1389745568', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468') ('4302', None, None, None, None, None, None, None, '3952468') ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 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, '27867405', 'None', None, None, None, None, '3952468'), ('4302', '27867405', '1389745568', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389734893', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389732010', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389732002', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731998', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731993', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731987', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731969', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731966', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731963', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731960', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731953', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731949', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731940', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731929', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731901', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731899', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731896', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731894', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731738', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731731', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731721', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731697', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731434', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731430', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731421', None, None, None, None, None, '3952468'), ('4302', '27867405', '1389731417', None, None, None, None, None, '3952468')] time used for this insertion : 0.039113759994506836 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.338122129440308 time spend to save output : 0.03947186470031738 total time spend for step 5 : 9.377593994140625 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 (3952468) 2.97user 2.45system 0:29.34elapsed 18%CPU (0avgtext+0avgdata 169068maxresident)k 7216inputs+20776outputs (86major+78578minor)pagefaults 0swaps