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 : 2767376 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 (3651200) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3651200) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278273 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3651200'] with mtr_portfolio_ids : ['26278273'] and first list_photo_ids : [] new path : /proc/2767376/ Name: python3 Umask: 0002 State: R (running) Tgid: 2767376 Ngid: 0 Pid: 2767376 PPid: 2767375 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2767376 NSpid: 2767376 NSpgid: 2765282 NSsid: 2765282 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98912 kB VmRSS: 98912 kB RssAnon: 60168 kB RssFile: 38744 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 632 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: 88 nonvoluntary_ctxt_switches: 172 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2767376', 'Ngid': '0', 'Pid': '2767376', 'PPid': '2767375', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2767376', 'NSpid': '2767376', 'NSpgid': '2765282', 'NSsid': '2765282', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98912 kB', 'VmRSS': '98912 kB', 'RssAnon': '60168 kB', 'RssFile': '38744 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '632 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': '88', 'nonvoluntary_ctxt_switches': '172'} ('datou_batch_current', '2767376', '1107252', '0', '1107252', '866004', '98912', b'', 'marlene', '3651200') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26278273) 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 (3651200 ) ) 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 (26278273) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379771128, 'portfolio_id': 26278273}, {'photo_id': 1379770702, 'portfolio_id': 26278273}, {'photo_id': 1379770700, 'portfolio_id': 26278273}, {'photo_id': 1379770697, 'portfolio_id': 26278273}, {'photo_id': 1379770695, 'portfolio_id': 26278273}, {'photo_id': 1379770593, 'portfolio_id': 26278273}, {'photo_id': 1379770592, 'portfolio_id': 26278273}, {'photo_id': 1379770591, 'portfolio_id': 26278273}, {'photo_id': 1379770590, 'portfolio_id': 26278273}, {'photo_id': 1379770589, 'portfolio_id': 26278273}, {'photo_id': 1379770588, 'portfolio_id': 26278273}, {'photo_id': 1379770474, 'portfolio_id': 26278273}, {'photo_id': 1379770473, 'portfolio_id': 26278273}, {'photo_id': 1379770472, 'portfolio_id': 26278273}, {'photo_id': 1379770351, 'portfolio_id': 26278273}, {'photo_id': 1379770350, 'portfolio_id': 26278273}, {'photo_id': 1379770349, 'portfolio_id': 26278273}, {'photo_id': 1379770348, 'portfolio_id': 26278273}, {'photo_id': 1379770347, 'portfolio_id': 26278273}, {'photo_id': 1379770170, 'portfolio_id': 26278273}, {'photo_id': 1379770169, 'portfolio_id': 26278273}, {'photo_id': 1379770168, 'portfolio_id': 26278273}, {'photo_id': 1379770167, 'portfolio_id': 26278273}, {'photo_id': 1379769667, 'portfolio_id': 26278273}, {'photo_id': 1379769664, 'portfolio_id': 26278273}, {'photo_id': 1379768921, 'portfolio_id': 26278273}, {'photo_id': 1379768919, 'portfolio_id': 26278273}, {'photo_id': 1379768917, 'portfolio_id': 26278273}, {'photo_id': 1379767372, 'portfolio_id': 26278273}, {'photo_id': 1379767370, 'portfolio_id': 26278273}, {'photo_id': 1379767368, 'portfolio_id': 26278273}, {'photo_id': 1379767366, 'portfolio_id': 26278273}, {'photo_id': 1379767364, 'portfolio_id': 26278273}, {'photo_id': 1379766969, 'portfolio_id': 26278273}, {'photo_id': 1379766967, 'portfolio_id': 26278273}, {'photo_id': 1379766965, 'portfolio_id': 26278273}] map_portfolio_id_photo_id: {26278273: [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965]} ##### 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.028067827224731445 #### 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 Tue Sep 2 11:55:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26278273) 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 : 26278273 get user id for portfolio 26278273 get sub ptf for main ptf 26278273, type 3726 and hashtags ['Carton_brun', 'Teint_Dans_La_Masse', 'mal_croppe', 'metal', 'kraft', 'cartonnette', 'Carton_gris', 'papier', 'flou', 'autre_refus', 'environnement', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26278273 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','cartonnette','Carton_gris','papier','flou','autre_refus','environnement','plastique')) 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`=26278273 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','cartonnette','Carton_gris','papier','flou','autre_refus','environnement','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26278273, 'sub_port_id': 26278275, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682291, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 26278273, 'sub_port_id': 26278276, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682292, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'metal': {'main_port_id': 26278273, 'sub_port_id': 26278277, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682293, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'environnement': {'main_port_id': 26278273, 'sub_port_id': 26278278, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682294, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'flou': {'main_port_id': 26278273, 'sub_port_id': 26278279, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682295, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'kraft': {'main_port_id': 26278273, 'sub_port_id': 26278280, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682296, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'plastique': {'main_port_id': 26278273, 'sub_port_id': 26278281, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682297, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'Carton_brun': {'main_port_id': 26278273, 'sub_port_id': 26278282, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682298, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'mal_croppe': {'main_port_id': 26278273, 'sub_port_id': 26278283, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682299, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'papier': {'main_port_id': 26278273, 'sub_port_id': 26278284, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682300, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'cartonnette': {'main_port_id': 26278273, 'sub_port_id': 26278285, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682301, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}, 'Carton_gris': {'main_port_id': 26278273, 'sub_port_id': 26278286, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682302, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 25), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278275 , 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=26278273 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 (26278275) result : ((1380140166,), (1380140167,), (1380140168,), (1380594486,), (1380594487,), (1380594489,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278276 , 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=26278273 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 (26278276) result : ((1380594151,), (1380594152,), (1380594153,), (1380594154,), (1380594156,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278277 , 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=26278273 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 (26278277) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278278 , 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=26278273 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 (26278278) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278279 , 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=26278273 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 (26278279) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278280 , 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=26278273 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 (26278280) result : ((1380140237,), (1380594508,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278281 , 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=26278273 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 (26278281) result : ((1380140229,), (1380594173,), (1380594505,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278282 , 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=26278273 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 (26278282) result : ((1380140213,), (1380140215,), (1380140217,), (1380140219,), (1380140221,), (1380594166,), (1380594167,), (1380594168,), (1380594169,), (1380594170,), (1380594171,), (1380594172,), (1380594499,), (1380594500,), (1380594501,), (1380594502,), (1380594503,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278283 , 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=26278273 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 (26278283) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278284 , 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=26278273 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 (26278284) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278285 , 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=26278273 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 (26278285) result : ((1380140190,), (1380140192,), (1380140194,), (1380140196,), (1380140198,), (1380140200,), (1380140202,), (1380594162,), (1380594163,), (1380594164,), (1380594491,), (1380594492,), (1380594493,), (1380594494,), (1380594495,), (1380594496,), (1380594497,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26278286 , 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=26278273 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 (26278286) result : ((1380140174,), (1380594158,), (1380594159,), (1380594160,), (1380594490,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26278273) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,)) 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 (1379770700) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26278273 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','cartonnette','Carton_gris','papier','flou','autre_refus','environnement','plastique')) 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`=26278273 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Teint_Dans_La_Masse','mal_croppe','metal','kraft','cartonnette','Carton_gris','papier','flou','autre_refus','environnement','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26278273, 'sub_port_id': 26278287, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682303, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26278273, 'sub_port_id': 26278288, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682304, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'metal': {'main_port_id': 26278273, 'sub_port_id': 26278289, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682305, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'environnement': {'main_port_id': 26278273, 'sub_port_id': 26278290, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682306, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'flou': {'main_port_id': 26278273, 'sub_port_id': 26278291, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682307, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'kraft': {'main_port_id': 26278273, 'sub_port_id': 26278292, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682308, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'plastique': {'main_port_id': 26278273, 'sub_port_id': 26278293, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682309, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'Carton_brun': {'main_port_id': 26278273, 'sub_port_id': 26278294, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682310, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'mal_croppe': {'main_port_id': 26278273, 'sub_port_id': 26278295, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682311, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'papier': {'main_port_id': 26278273, 'sub_port_id': 26278296, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682312, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'cartonnette': {'main_port_id': 26278273, 'sub_port_id': 26278297, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682313, 'last_updated_at': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 28, 0, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}, 'Carton_gris': {'main_port_id': 26278273, 'sub_port_id': 26278298, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17682314, 'last_updated_at': datetime.datetime(2025, 9, 1, 10, 58, 26), 'last_updated_at_desc': datetime.datetime(2025, 9, 1, 10, 58, 26), 'last_updated_at_asc': datetime.datetime(2025, 8, 28, 0, 2, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278287,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278275 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278288,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278276 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278280 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278281 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278282 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278283 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278284 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278285 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26278298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26278286 lien utilise dans velours : https://marlene.fotonower.com/velours/26278287,26278288,26278289,26278290,26278291,26278292,26278293,26278294,26278295,26278296,26278297,26278298?tags=autre_refus,Teint_Dans_La_Masse,metal,environnement,flou,kraft,plastique,Carton_brun,mal_croppe,papier,cartonnette,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26278273]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] map_info['map_portfolio_photo'] : {26278273: [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965]} final : False mtd_id 4302 list_pids : [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] Looping around the photos to save general results len do output : 1 /26278273. 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, '3651200') ('4302', '26278273', '1379771128', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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, '26278273', "{'autre_refus': 26278275, 'Teint_Dans_La_Masse': 26278276, 'metal': 26278277, 'environnement': 26278278, 'flou': 26278279, 'kraft': 26278280, 'plastique': 26278281, 'Carton_brun': 26278282, 'mal_croppe': 26278283, 'papier': 26278284, 'cartonnette': 26278285, 'Carton_gris': 26278286}", None, None, None, None, '3651200'), ('4302', '26278273', '1379771128', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200')] time used for this insertion : 0.027606487274169922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.43645167350769043 time spend to save output : 0.028090476989746094 total time spend for step 1 : 0.4645421504974365 step2:final Tue Sep 2 11:55: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 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 (26278273) 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 26278273 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379766969,1379766967,1379766965,1379767372,1379767370,1379767368,1379767366,1379767364,1379768921,1379768919,1379768917,1379769667,1379769664,1379770170,1379770169,1379770168,1379770167,1379770351,1379770350,1379770349,1379770348,1379770347,1379770474,1379770473,1379770472,1379770593,1379770592,1379770591,1379770590,1379770589,1379770588,1379770702,1379770700,1379770697,1379770695,1379771128); 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([26278273]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} new output for save of step final : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] map_info['map_portfolio_photo'] : {26278273: [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965]} final : False mtd_id 4302 list_pids : [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] Looping around the photos to save general results len do output : 36 /1379771128.Didn't retrieve data . /1379770702.Didn't retrieve data . /1379770700.Didn't retrieve data . /1379770697.Didn't retrieve data . /1379770695.Didn't retrieve data . /1379770593.Didn't retrieve data . /1379770592.Didn't retrieve data . /1379770591.Didn't retrieve data . /1379770590.Didn't retrieve data . /1379770589.Didn't retrieve data . /1379770588.Didn't retrieve data . /1379770474.Didn't retrieve data . /1379770473.Didn't retrieve data . /1379770472.Didn't retrieve data . /1379770351.Didn't retrieve data . /1379770350.Didn't retrieve data . /1379770349.Didn't retrieve data . /1379770348.Didn't retrieve data . /1379770347.Didn't retrieve data . /1379770170.Didn't retrieve data . /1379770169.Didn't retrieve data . /1379770168.Didn't retrieve data . /1379770167.Didn't retrieve data . /1379769667.Didn't retrieve data . /1379769664.Didn't retrieve data . /1379768921.Didn't retrieve data . /1379768919.Didn't retrieve data . /1379768917.Didn't retrieve data . /1379767372.Didn't retrieve data . /1379767370.Didn't retrieve data . /1379767368.Didn't retrieve data . /1379767366.Didn't retrieve data . /1379767364.Didn't retrieve data . /1379766969.Didn't retrieve data . /1379766967.Didn't retrieve data . /1379766965.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, '3651200') ('4302', '26278273', '1379771128', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '26278273', '1379771128', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770702', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770700', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770697', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770695', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770593', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770592', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770591', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770590', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770589', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770588', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770474', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770473', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770472', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770351', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770350', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770349', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770348', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770347', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770170', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770169', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770168', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379770167', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379769667', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379769664', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379768921', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379768919', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379768917', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379767372', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379767370', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379767368', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379767366', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379767364', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379766969', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379766967', '0.0441605513347589', None, None, None, None, '3651200'), ('4302', '26278273', '1379766965', '0.0441605513347589', None, None, None, None, '3651200')] time used for this insertion : 0.019630908966064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06701397895812988 time spend to save output : 0.02115178108215332 total time spend for step 2 : 0.0881657600402832 step3:velours_tree Tue Sep 2 11:55: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 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 : {26278273: [{'autre_refus': 26278275, 'Teint_Dans_La_Masse': 26278276, 'metal': 26278277, 'environnement': 26278278, 'flou': 26278279, 'kraft': 26278280, 'plastique': 26278281, 'Carton_brun': 26278282, 'mal_croppe': 26278283, 'papier': 26278284, 'cartonnette': 26278285, 'Carton_gris': 26278286}]} input_args_next_step : {26278273: ()} output_args : {26278273: [{'autre_refus': 26278275, 'Teint_Dans_La_Masse': 26278276, 'metal': 26278277, 'environnement': 26278278, 'flou': 26278279, 'kraft': 26278280, 'plastique': 26278281, 'Carton_brun': 26278282, 'mal_croppe': 26278283, 'papier': 26278284, 'cartonnette': 26278285, 'Carton_gris': 26278286}]} args : 26278273 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': 26278275, 'Teint_Dans_La_Masse': 26278276, 'metal': 26278277, 'environnement': 26278278, 'flou': 26278279, 'kraft': 26278280, 'plastique': 26278281, 'Carton_brun': 26278282, 'mal_croppe': 26278283, 'papier': 26278284, 'cartonnette': 26278285, 'Carton_gris': 26278286},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26278273) 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([26278273]) 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.310105562210083 time spend to save output : 5.888938903808594e-05 total time spend for step 3 : 0.3101644515991211 step4:send_mail_cod Tue Sep 2 11:55: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 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 : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} input_args_next_step : {1379771128: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379771128 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770702 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770700 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770697 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770695 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770593 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770592 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770591 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770590 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770589 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770588 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770474 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770473 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770472 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770351 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770350 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770349 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770348 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770347 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770170 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770169 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770168 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379770167 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379769667 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379769664 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379768921 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379768919 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379768917 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379767372 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379767370 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379767368 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379767366 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379767364 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379766969 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379766967 depend.output_id : 0 input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ()} output_args : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',)} args : 1379766965 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 : {26278273: [{'autre_refus': 26278275, 'Teint_Dans_La_Masse': 26278276, 'metal': 26278277, 'environnement': 26278278, 'flou': 26278279, 'kraft': 26278280, 'plastique': 26278281, 'Carton_brun': 26278282, 'mal_croppe': 26278283, 'papier': 26278284, 'cartonnette': 26278285, 'Carton_gris': 26278286}]} input_args_next_step : {1379771128: ('0.0441605513347589',), 1379770702: ('0.0441605513347589',), 1379770700: ('0.0441605513347589',), 1379770697: ('0.0441605513347589',), 1379770695: ('0.0441605513347589',), 1379770593: ('0.0441605513347589',), 1379770592: ('0.0441605513347589',), 1379770591: ('0.0441605513347589',), 1379770590: ('0.0441605513347589',), 1379770589: ('0.0441605513347589',), 1379770588: ('0.0441605513347589',), 1379770474: ('0.0441605513347589',), 1379770473: ('0.0441605513347589',), 1379770472: ('0.0441605513347589',), 1379770351: ('0.0441605513347589',), 1379770350: ('0.0441605513347589',), 1379770349: ('0.0441605513347589',), 1379770348: ('0.0441605513347589',), 1379770347: ('0.0441605513347589',), 1379770170: ('0.0441605513347589',), 1379770169: ('0.0441605513347589',), 1379770168: ('0.0441605513347589',), 1379770167: ('0.0441605513347589',), 1379769667: ('0.0441605513347589',), 1379769664: ('0.0441605513347589',), 1379768921: ('0.0441605513347589',), 1379768919: ('0.0441605513347589',), 1379768917: ('0.0441605513347589',), 1379767372: ('0.0441605513347589',), 1379767370: ('0.0441605513347589',), 1379767368: ('0.0441605513347589',), 1379767366: ('0.0441605513347589',), 1379767364: ('0.0441605513347589',), 1379766969: ('0.0441605513347589',), 1379766967: ('0.0441605513347589',), 1379766965: ('0.0441605513347589',), 26278273: ()} output_args : {26278273: [{'autre_refus': 26278275, 'Teint_Dans_La_Masse': 26278276, 'metal': 26278277, 'environnement': 26278278, 'flou': 26278279, 'kraft': 26278280, 'plastique': 26278281, 'Carton_brun': 26278282, 'mal_croppe': 26278283, 'papier': 26278284, 'cartonnette': 26278285, 'Carton_gris': 26278286}]} args : 26278273 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 :37, first value : ('0.0441605513347589',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26278273) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1379771128,1379770702,1379770700,1379770697,1379770695,1379770593,1379770592,1379770591,1379770590,1379770589,1379770588,1379770474,1379770473,1379770472,1379770351,1379770350,1379770349,1379770348,1379770347,1379770170,1379770169,1379770168,1379770167,1379769667,1379769664,1379768921,1379768919,1379768917,1379767372,1379767370,1379767368,1379767366,1379767364,1379766969,1379766967,1379766965) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379766965 begin to download photo : 1379768917 begin to download photo : 1379770170 begin to download photo : 1379770474 begin to download photo : 1379770697 download finish for photo 1379766965 begin to download photo : 1379766967 download finish for photo 1379768917 begin to download photo : 1379768919 download finish for photo 1379770170 begin to download photo : 1379770347 download finish for photo 1379770474 begin to download photo : 1379770588 download finish for photo 1379770697 begin to download photo : 1379770700 download finish for photo 1379766967 begin to download photo : 1379766969 download finish for photo 1379770347 begin to download photo : 1379770348 download finish for photo 1379768919 begin to download photo : 1379768921 download finish for photo 1379770588 begin to download photo : 1379770589 download finish for photo 1379766969 begin to download photo : 1379767364 download finish for photo 1379770700 begin to download photo : 1379770702 download finish for photo 1379770589 begin to download photo : 1379770590 download finish for photo 1379770348 begin to download photo : 1379770349 download finish for photo 1379768921 begin to download photo : 1379769664 download finish for photo 1379770702 begin to download photo : 1379771128 download finish for photo 1379767364 begin to download photo : 1379767366 download finish for photo 1379770349 begin to download photo : 1379770350 download finish for photo 1379769664 begin to download photo : 1379769667 download finish for photo 1379770590 begin to download photo : 1379770591 download finish for photo 1379771128 download finish for photo 1379767366 begin to download photo : 1379767368 download finish for photo 1379769667 begin to download photo : 1379770167 download finish for photo 1379770350 begin to download photo : 1379770351 download finish for photo 1379770591 begin to download photo : 1379770592 download finish for photo 1379770167 begin to download photo : 1379770168 download finish for photo 1379767368 begin to download photo : 1379767370 download finish for photo 1379770351 begin to download photo : 1379770472 download finish for photo 1379770592 begin to download photo : 1379770593 download finish for photo 1379770168 begin to download photo : 1379770169 download finish for photo 1379767370 begin to download photo : 1379767372 download finish for photo 1379770472 begin to download photo : 1379770473 download finish for photo 1379770169 download finish for photo 1379770593 begin to download photo : 1379770695 download finish for photo 1379767372 download finish for photo 1379770473 download finish for photo 1379770695 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 : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P26278273_02-09-2025_11_56_01.pdf 26278275 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278275 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380140166: '1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659990_0.png', 1380140167: '1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659995_0.png', 1380140168: '1756483026_3768396_1379766967_03bbb35e69e5e7917adbaaf412882056_76583517_rle_crop_3935660074_0.png', 1380594486: '1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659990_0.png', 1380594487: '1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659995_0.png', 1380594489: '1756717025_3055656_1379766967_03bbb35e69e5e7917adbaaf412882056_76583517_rle_crop_3935660074_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9fa0570ee1afed7c33d256dc2fc9de7f_75776106.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/17bd57a2fd221b1c51421d8709d38621_78745207.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/92f87999ba6a132b032b9edf6df3441f_35516935.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/9fa0570ee1afed7c33d256dc2fc9de7f_4040006.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/17bd57a2fd221b1c51421d8709d38621_21243831.png change filename to text .imagette262782751756806961/ imagette262782751756806961/1756717025_3055656_1379766967_03bbb35e69e5e7917adbaaf412882056_76583517_rle_crop_3935660074_0.png.png imagette262782751756806961/1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659990_0.png.png imagette262782751756806961/1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659995_0.png.png imagette262782751756806961/1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659990_0.png.png imagette262782751756806961/1756483026_3768396_1379766967_03bbb35e69e5e7917adbaaf412882056_76583517_rle_crop_3935660074_0.png.png imagette262782751756806961/1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659995_0.png.png imagette262782771756806961/ imagette262782791756806961/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/92f87999ba6a132b032b9edf6df3441f_98946149.png imagette262782751756806961 26278277 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262782771756806961 26278279 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262782791756806961 26278280 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278280 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380140237: '1756483026_3768396_1379769664_878f0db5fd7c731f86d934588c1d9d24_23388763_rle_crop_3935659962_0.png', 1380594508: '1756717025_3055656_1379769664_878f0db5fd7c731f86d934588c1d9d24_23388763_rle_crop_3935659962_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9f45b2568407c74c4101b7200bf19eab_12232401.png change filename to text .imagette262782801756806961/ imagette262782801756806961/1756483026_3768396_1379769664_878f0db5fd7c731f86d934588c1d9d24_23388763_rle_crop_3935659962_0.png.png imagette262782801756806961/1756717025_3055656_1379769664_878f0db5fd7c731f86d934588c1d9d24_23388763_rle_crop_3935659962_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/9f45b2568407c74c4101b7200bf19eab_75476819.png imagette262782801756806961 26278281 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380140229: '1756483026_3768396_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660010_0.png', 1380594173: '1756716786_3048279_1379770473_17c69cf324efc4b62649c657070b0ca6_81037668_rle_crop_3935652321_0.png', 1380594505: '1756717025_3055656_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660010_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/6d61622aee579882c50b228807565c0d_37151566.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/005f094250c1cd821ac527dbbc82a1ab_8764514.png change filename to text .imagette262782811756806961/ imagette262782811756806961/1756717025_3055656_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660010_0.png.png imagette262782811756806961/1756716786_3048279_1379770473_17c69cf324efc4b62649c657070b0ca6_81037668_rle_crop_3935652321_0.png.png imagette262782811756806961/1756483026_3768396_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660010_0.png.png imagette262782831756806962/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/6d61622aee579882c50b228807565c0d_97632088.png imagette262782811756806961 26278283 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278283 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262782831756806962 26278285 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278285 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380594163: '1756716786_3048279_1379770348_9e23ae6e87db6f01ff9bb4931c1083dd_57979127_rle_crop_3935652759_0.png', 1380594497: '1756717025_3055656_1379766969_163845dd4aefdf653057967cb4affeed_56935918_rle_crop_3935660064_0.png', 1380594496: '1756717025_3055656_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660051_0.png', 1380594495: '1756717025_3055656_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660050_0.png', 1380594494: '1756717025_3055656_1379767366_3ded9327b0e567045cfdef26100a3980_12157845_rle_crop_3935660040_0.png', 1380594493: '1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659994_0.png', 1380594492: '1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659989_0.png', 1380594491: '1756717025_3055656_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659949_0.png', 1380594164: '1756716786_3048279_1379770347_dd6a76aba93396e966a3aa0933ea7c0c_60351081_rle_crop_3935654191_0.png', 1380140190: '1756483026_3768396_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659949_0.png', 1380594162: '1756716786_3048279_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112_rle_crop_3935652747_0.png', 1380140202: '1756483026_3768396_1379766969_163845dd4aefdf653057967cb4affeed_56935918_rle_crop_3935660064_0.png', 1380140200: '1756483026_3768396_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660051_0.png', 1380140198: '1756483026_3768396_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660050_0.png', 1380140196: '1756483026_3768396_1379767366_3ded9327b0e567045cfdef26100a3980_12157845_rle_crop_3935660040_0.png', 1380140194: '1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659994_0.png', 1380140192: '1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659989_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/dd04cc91ba3abd8024c7623bfe42d3ab_75104986.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/9570f8627c95b80d80a403db7b8357de_33761071.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/367ae65e299e5b3d5ac55c7dcc42725d_41176419.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/408ecd05bf95f641b8716f71e55046be_85704521.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/3aef7f837630d2f7b81f312cccbc3d79_24819791.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/9ac8ac5f70a24e2320b4829c144e0daf_47324031.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/4876fa072634e96a907ae165694d14f5_86283274.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/278a60d9fb8969e614a8c7bceea4dd7c_12336267.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/1e49490acef1fb54a8ce41df6f87703a_2533304.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/278a60d9fb8969e614a8c7bceea4dd7c_56500822.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/d9779470c0bafead230abdd456fb1f9b_91386300.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9570f8627c95b80d80a403db7b8357de_20748800.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/367ae65e299e5b3d5ac55c7dcc42725d_19074270.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/408ecd05bf95f641b8716f71e55046be_69750634.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/3aef7f837630d2f7b81f312cccbc3d79_20175057.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9ac8ac5f70a24e2320b4829c144e0daf_15589131.png change filename to text .imagette262782851756806962/ imagette262782851756806962/1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659994_0.png.png imagette262782851756806962/1756483026_3768396_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659989_0.png.png imagette262782851756806962/1756717025_3055656_1379766969_163845dd4aefdf653057967cb4affeed_56935918_rle_crop_3935660064_0.png.png imagette262782851756806962/1756716786_3048279_1379770347_dd6a76aba93396e966a3aa0933ea7c0c_60351081_rle_crop_3935654191_0.png.png imagette262782851756806962/1756717025_3055656_1379767366_3ded9327b0e567045cfdef26100a3980_12157845_rle_crop_3935660040_0.png.png imagette262782851756806962/1756483026_3768396_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660050_0.png.png imagette262782851756806962/1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659989_0.png.png imagette262782851756806962/1756717025_3055656_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660051_0.png.png imagette262782851756806962/1756483026_3768396_1379767366_3ded9327b0e567045cfdef26100a3980_12157845_rle_crop_3935660040_0.png.png imagette262782851756806962/1756717025_3055656_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660050_0.png.png imagette262782851756806962/1756483026_3768396_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659949_0.png.png imagette262782851756806962/1756483026_3768396_1379766969_163845dd4aefdf653057967cb4affeed_56935918_rle_crop_3935660064_0.png.png imagette262782851756806962/1756716786_3048279_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112_rle_crop_3935652747_0.png.png imagette262782851756806962/1756483026_3768396_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792_rle_crop_3935660051_0.png.png imagette262782851756806962/1756717025_3055656_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846_rle_crop_3935659994_0.png.png imagette262782851756806962/1756717025_3055656_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659949_0.png.png imagette262782851756806962/1756716786_3048279_1379770348_9e23ae6e87db6f01ff9bb4931c1083dd_57979127_rle_crop_3935652759_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/4876fa072634e96a907ae165694d14f5_34055305.png imagette262782851756806962 26278276 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278276 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380594151: '1756716786_3048279_1379771128_b272d6417a757ef8d2f217ecd985de08_1249050_rle_crop_3935648355_0.png', 1380594152: '1756716786_3048279_1379770697_652cb5aec53ffb16c8c1792b588f105c_9402769_rle_crop_3935651641_0.png', 1380594153: '1756716786_3048279_1379770695_2b066be67412abc586ba8ae214aa3045_82821047_rle_crop_3935651661_0.png', 1380594154: '1756716786_3048279_1379770351_4a3622305c17b263aa955f3c35cd0af3_43488563_rle_crop_3935652720_0.png', 1380594156: '1756716786_3048279_1379770170_07805079cc442f220206c0da9898cc5a_71219042_rle_crop_3935654201_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/34cd2ad0873059311acd4afec98770e1_90105129.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/8e0b2ec692199ac042fab0be0fbfdb0e_31999188.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/e7092acdb497aadd62491a6591ec89ad_90837791.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/30527971589c0609f2da1e4370adabc9_38289128.png change filename to text .imagette262782761756806964/ imagette262782761756806964/1756716786_3048279_1379770697_652cb5aec53ffb16c8c1792b588f105c_9402769_rle_crop_3935651641_0.png.png imagette262782761756806964/1756716786_3048279_1379770170_07805079cc442f220206c0da9898cc5a_71219042_rle_crop_3935654201_0.png.png imagette262782761756806964/1756716786_3048279_1379770695_2b066be67412abc586ba8ae214aa3045_82821047_rle_crop_3935651661_0.png.png imagette262782761756806964/1756716786_3048279_1379770351_4a3622305c17b263aa955f3c35cd0af3_43488563_rle_crop_3935652720_0.png.png imagette262782761756806964/1756716786_3048279_1379771128_b272d6417a757ef8d2f217ecd985de08_1249050_rle_crop_3935648355_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/61f8b2e20222998fb3e2031ae752b840_27920454.png imagette262782761756806964 26278282 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278282 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380594169: '1756716786_3048279_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112_rle_crop_3935652750_0.png', 1380594503: '1756717025_3055656_1379767368_b44d99e68567b9e92d32013e7ce39830_18786386_rle_crop_3935660027_0.png', 1380594502: '1756717025_3055656_1379767370_da183e60e1e980bf26f398b44ade8e9a_90312068_rle_crop_3935660022_0.png', 1380594501: '1756717025_3055656_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660012_0.png', 1380594500: '1756717025_3055656_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659946_0.png', 1380594499: '1756717025_3055656_1379770168_3ac077446c4fda09debfe53aabb4f41a_2947738_rle_crop_3935659606_0.png', 1380594172: '1756716786_3048279_1379770347_dd6a76aba93396e966a3aa0933ea7c0c_60351081_rle_crop_3935654187_0.png', 1380594171: '1756716786_3048279_1379770348_9e23ae6e87db6f01ff9bb4931c1083dd_57979127_rle_crop_3935652761_0.png', 1380594170: '1756716786_3048279_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112_rle_crop_3935652749_0.png', 1380140213: '1756483026_3768396_1379770168_3ac077446c4fda09debfe53aabb4f41a_2947738_rle_crop_3935659606_0.png', 1380594168: '1756716786_3048279_1379770695_2b066be67412abc586ba8ae214aa3045_82821047_rle_crop_3935651656_0.png', 1380594167: '1756716786_3048279_1379770700_f4fa4315a6ff506509474340f9afbac2_15632433_rle_crop_3935651631_0.png', 1380594166: '1756716786_3048279_1379771128_b272d6417a757ef8d2f217ecd985de08_1249050_rle_crop_3935648357_0.png', 1380140221: '1756483026_3768396_1379767368_b44d99e68567b9e92d32013e7ce39830_18786386_rle_crop_3935660027_0.png', 1380140219: '1756483026_3768396_1379767370_da183e60e1e980bf26f398b44ade8e9a_90312068_rle_crop_3935660022_0.png', 1380140217: '1756483026_3768396_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660012_0.png', 1380140215: '1756483026_3768396_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659946_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/f0e22d11da28b1e2c03aad0422c4517c_36737131.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/df0364bc2c9e0f4fc45985b791fec00e_26874808.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/96f8729b93ea1d09069bcba7500a4d84_16729761.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/1e36f804624e44b7a57688035ba99b74_50829967.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/81980148bfbad72188ced7d125c588b0_29994847.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/4a9d82c3677673f0b30e94d597c74cd6_23142768.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/9e1c344642e52d753c6e39ac94dac3c9_96788712.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/64bb11781f84a1bd03a31596e76bafa1_73086236.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/9b2674bfa22208af95f735ff98dd7396_23628888.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/4a9d82c3677673f0b30e94d597c74cd6_94016930.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/6c34cdbc790b6cea147c7cabadeba252_36879197.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/a527840e4900e21cf7c0c107c6cfaa27_93802432.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/dfffcdbb90950dfe0c2080ffa84ae76a_78683931.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/df0364bc2c9e0f4fc45985b791fec00e_14438014.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/96f8729b93ea1d09069bcba7500a4d84_3634719.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/1e36f804624e44b7a57688035ba99b74_5436163.png change filename to text .imagette262782821756806964/ imagette262782821756806964/1756716786_3048279_1379770348_9e23ae6e87db6f01ff9bb4931c1083dd_57979127_rle_crop_3935652761_0.png.png imagette262782821756806964/1756483026_3768396_1379770168_3ac077446c4fda09debfe53aabb4f41a_2947738_rle_crop_3935659606_0.png.png imagette262782821756806964/1756716786_3048279_1379770700_f4fa4315a6ff506509474340f9afbac2_15632433_rle_crop_3935651631_0.png.png imagette262782821756806964/1756716786_3048279_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112_rle_crop_3935652750_0.png.png imagette262782821756806964/1756483026_3768396_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659946_0.png.png imagette262782821756806964/1756716786_3048279_1379771128_b272d6417a757ef8d2f217ecd985de08_1249050_rle_crop_3935648357_0.png.png imagette262782821756806964/1756716786_3048279_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112_rle_crop_3935652749_0.png.png imagette262782821756806964/1756483026_3768396_1379767370_da183e60e1e980bf26f398b44ade8e9a_90312068_rle_crop_3935660022_0.png.png imagette262782821756806964/1756717025_3055656_1379767368_b44d99e68567b9e92d32013e7ce39830_18786386_rle_crop_3935660027_0.png.png imagette262782821756806964/1756483026_3768396_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660012_0.png.png imagette262782821756806964/1756717025_3055656_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744_rle_crop_3935660012_0.png.png imagette262782821756806964/1756716786_3048279_1379770695_2b066be67412abc586ba8ae214aa3045_82821047_rle_crop_3935651656_0.png.png imagette262782821756806964/1756717025_3055656_1379770168_3ac077446c4fda09debfe53aabb4f41a_2947738_rle_crop_3935659606_0.png.png imagette262782821756806964/1756717025_3055656_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993_rle_crop_3935659946_0.png.png imagette262782821756806964/1756483026_3768396_1379767368_b44d99e68567b9e92d32013e7ce39830_18786386_rle_crop_3935660027_0.png.png imagette262782821756806964/1756716786_3048279_1379770347_dd6a76aba93396e966a3aa0933ea7c0c_60351081_rle_crop_3935654187_0.png.png imagette262782821756806964/1756717025_3055656_1379767370_da183e60e1e980bf26f398b44ade8e9a_90312068_rle_crop_3935660022_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/81980148bfbad72188ced7d125c588b0_34653915.png imagette262782821756806964 26278286 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278286 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380140174: '1756483026_3768396_1379770169_896fef3d9a3db06e315c3daec5a7bc3a_98949466_rle_crop_3935659592_0.png', 1380594158: '1756716786_3048279_1379770695_2b066be67412abc586ba8ae214aa3045_82821047_rle_crop_3935651652_0.png', 1380594159: '1756716786_3048279_1379770588_6792ac0c864e7d69671c9122d0ae4e97_73513703_rle_crop_3935651695_0.png', 1380594160: '1756716786_3048279_1379770170_07805079cc442f220206c0da9898cc5a_71219042_rle_crop_3935654204_0.png', 1380594490: '1756717025_3055656_1379770169_896fef3d9a3db06e315c3daec5a7bc3a_98949466_rle_crop_3935659592_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c3c24029f09f2ac4d1f63b40f2d320d3_79778714.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/5687f445c132f46934282a080f9527f9_75210306.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/5bcb6638cd349b4e240c2d53963bf3b1_68775907.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/36d4bfb3c8474474d908c5913cb5c0a4_26578699.png change filename to text .imagette262782861756806966/ imagette262782861756806966/1756483026_3768396_1379770169_896fef3d9a3db06e315c3daec5a7bc3a_98949466_rle_crop_3935659592_0.png.png imagette262782861756806966/1756716786_3048279_1379770170_07805079cc442f220206c0da9898cc5a_71219042_rle_crop_3935654204_0.png.png imagette262782861756806966/1756716786_3048279_1379770695_2b066be67412abc586ba8ae214aa3045_82821047_rle_crop_3935651652_0.png.png imagette262782861756806966/1756717025_3055656_1379770169_896fef3d9a3db06e315c3daec5a7bc3a_98949466_rle_crop_3935659592_0.png.png imagette262782861756806966/1756716786_3048279_1379770588_6792ac0c864e7d69671c9122d0ae4e97_73513703_rle_crop_3935651695_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/1/c3c24029f09f2ac4d1f63b40f2d320d3_7867938.png imagette262782861756806966 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26278273 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26278287,26278288,26278289,26278290,26278291,26278292,26278293,26278294,26278295,26278296,26278297,26278298?tags=autre_refus,Teint_Dans_La_Masse,metal,environnement,flou,kraft,plastique,Carton_brun,mal_croppe,papier,cartonnette,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1379771128] : ('0.0441605513347589',) no score found for photo 1379771128 We are sending mail with results at report@fotonower.com args[1379770702] : ('0.0441605513347589',) no score found for photo 1379770702 We are sending mail with results at report@fotonower.com args[1379770700] : ('0.0441605513347589',) no score found for photo 1379770700 We are sending mail with results at report@fotonower.com args[1379770697] : ('0.0441605513347589',) no score found for photo 1379770697 We are sending mail with results at report@fotonower.com args[1379770695] : ('0.0441605513347589',) no score found for photo 1379770695 We are sending mail with results at report@fotonower.com args[1379770593] : ('0.0441605513347589',) no score found for photo 1379770593 We are sending mail with results at report@fotonower.com args[1379770592] : ('0.0441605513347589',) no score found for photo 1379770592 We are sending mail with results at report@fotonower.com args[1379770591] : ('0.0441605513347589',) no score found for photo 1379770591 We are sending mail with results at report@fotonower.com args[1379770590] : ('0.0441605513347589',) no score found for photo 1379770590 We are sending mail with results at report@fotonower.com args[1379770589] : ('0.0441605513347589',) no score found for photo 1379770589 We are sending mail with results at report@fotonower.com args[1379770588] : ('0.0441605513347589',) no score found for photo 1379770588 We are sending mail with results at report@fotonower.com args[1379770474] : ('0.0441605513347589',) no score found for photo 1379770474 We are sending mail with results at report@fotonower.com args[1379770473] : ('0.0441605513347589',) no score found for photo 1379770473 We are sending mail with results at report@fotonower.com args[1379770472] : ('0.0441605513347589',) no score found for photo 1379770472 We are sending mail with results at report@fotonower.com args[1379770351] : ('0.0441605513347589',) no score found for photo 1379770351 We are sending mail with results at report@fotonower.com args[1379770350] : ('0.0441605513347589',) no score found for photo 1379770350 We are sending mail with results at report@fotonower.com args[1379770349] : ('0.0441605513347589',) no score found for photo 1379770349 We are sending mail with results at report@fotonower.com args[1379770348] : ('0.0441605513347589',) no score found for photo 1379770348 We are sending mail with results at report@fotonower.com args[1379770347] : ('0.0441605513347589',) no score found for photo 1379770347 We are sending mail with results at report@fotonower.com args[1379770170] : ('0.0441605513347589',) no score found for photo 1379770170 We are sending mail with results at report@fotonower.com args[1379770169] : ('0.0441605513347589',) no score found for photo 1379770169 We are sending mail with results at report@fotonower.com args[1379770168] : ('0.0441605513347589',) no score found for photo 1379770168 We are sending mail with results at report@fotonower.com args[1379770167] : ('0.0441605513347589',) no score found for photo 1379770167 We are sending mail with results at report@fotonower.com args[1379769667] : ('0.0441605513347589',) no score found for photo 1379769667 We are sending mail with results at report@fotonower.com args[1379769664] : ('0.0441605513347589',) no score found for photo 1379769664 We are sending mail with results at report@fotonower.com args[1379768921] : ('0.0441605513347589',) no score found for photo 1379768921 We are sending mail with results at report@fotonower.com args[1379768919] : ('0.0441605513347589',) no score found for photo 1379768919 We are sending mail with results at report@fotonower.com args[1379768917] : ('0.0441605513347589',) no score found for photo 1379768917 We are sending mail with results at report@fotonower.com args[1379767372] : ('0.0441605513347589',) no score found for photo 1379767372 We are sending mail with results at report@fotonower.com args[1379767370] : ('0.0441605513347589',) no score found for photo 1379767370 We are sending mail with results at report@fotonower.com args[1379767368] : ('0.0441605513347589',) no score found for photo 1379767368 We are sending mail with results at report@fotonower.com args[1379767366] : ('0.0441605513347589',) no score found for photo 1379767366 We are sending mail with results at report@fotonower.com args[1379767364] : ('0.0441605513347589',) no score found for photo 1379767364 We are sending mail with results at report@fotonower.com args[1379766969] : ('0.0441605513347589',) no score found for photo 1379766969 We are sending mail with results at report@fotonower.com args[1379766967] : ('0.0441605513347589',) no score found for photo 1379766967 We are sending mail with results at report@fotonower.com args[1379766965] : ('0.0441605513347589',) no score found for photo 1379766965 We are sending mail with results at report@fotonower.com refus_total : 0.0441605513347589 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278273 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_P26278273_02-09-2025_11_56_01.pdf results_Auto_P26278273_02-09-2025_11_56_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278273_02-09-2025_11_56_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26278273','results_Auto_P26278273_02-09-2025_11_56_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278273_02-09-2025_11_56_01.pdf','pdf','','0.35','0.0441605513347589') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26278273]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] map_info['map_portfolio_photo'] : {26278273: [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965]} final : False mtd_id 4302 list_pids : [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] 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, '3651200') ('4302', '26278273', '1379771128', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '26278273', '1379771128', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200')] time used for this insertion : 0.020630598068237305 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.73453950881958 time spend to save output : 0.0211179256439209 total time spend for step 4 : 9.755657434463501 step5:split_time_score Tue Sep 2 11:56:09 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 : ['26278273'] 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 : [('26278273',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26278273) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379770697: {'path': 'temp/1756806959_2767376_1379770697_652cb5aec53ffb16c8c1792b588f105c_9402769.jpg', 'extension': 'jpg'}, 1379770700: {'path': 'temp/1756806959_2767376_1379770700_f4fa4315a6ff506509474340f9afbac2_15632433.jpg', 'extension': 'jpg'}, 1379770702: {'path': 'temp/1756806959_2767376_1379770702_4723420c60fbf4948bc05f8475578a7f_88866955.jpg', 'extension': 'jpg'}, 1379771128: {'path': 'temp/1756806959_2767376_1379771128_b272d6417a757ef8d2f217ecd985de08_1249050.jpg', 'extension': 'jpg'}, 1379768917: {'path': 'temp/1756806959_2767376_1379768917_11c075fdb791cb021635a8594dfbfc01_29643846.jpg', 'extension': 'jpg'}, 1379768919: {'path': 'temp/1756806959_2767376_1379768919_00d19f3a78a4bcc51e0d1376283f6983_78249588.jpg', 'extension': 'jpg'}, 1379768921: {'path': 'temp/1756806959_2767376_1379768921_7e58a4f16e8acc1287833bc07ec8bc2c_89750178.jpg', 'extension': 'jpg'}, 1379769664: {'path': 'temp/1756806959_2767376_1379769664_878f0db5fd7c731f86d934588c1d9d24_23388763.jpg', 'extension': 'jpg'}, 1379769667: {'path': 'temp/1756806959_2767376_1379769667_c0a19255402ebdbd42cd3d9b887beaa1_12238993.jpg', 'extension': 'jpg'}, 1379770167: {'path': 'temp/1756806959_2767376_1379770167_f0a630c9ffa5714e37602796872992cc_28172574.jpg', 'extension': 'jpg'}, 1379770168: {'path': 'temp/1756806959_2767376_1379770168_3ac077446c4fda09debfe53aabb4f41a_2947738.jpg', 'extension': 'jpg'}, 1379770169: {'path': 'temp/1756806959_2767376_1379770169_896fef3d9a3db06e315c3daec5a7bc3a_98949466.jpg', 'extension': 'jpg'}, 1379766965: {'path': 'temp/1756806959_2767376_1379766965_f46a3719138894d1750438106cbe973a_73168750.jpg', 'extension': 'jpg'}, 1379766967: {'path': 'temp/1756806959_2767376_1379766967_03bbb35e69e5e7917adbaaf412882056_76583517.jpg', 'extension': 'jpg'}, 1379766969: {'path': 'temp/1756806959_2767376_1379766969_163845dd4aefdf653057967cb4affeed_56935918.jpg', 'extension': 'jpg'}, 1379767364: {'path': 'temp/1756806959_2767376_1379767364_4787714f10e5afe85eeaa43fa149a7af_75266792.jpg', 'extension': 'jpg'}, 1379767366: {'path': 'temp/1756806959_2767376_1379767366_3ded9327b0e567045cfdef26100a3980_12157845.jpg', 'extension': 'jpg'}, 1379767368: {'path': 'temp/1756806959_2767376_1379767368_b44d99e68567b9e92d32013e7ce39830_18786386.jpg', 'extension': 'jpg'}, 1379767370: {'path': 'temp/1756806959_2767376_1379767370_da183e60e1e980bf26f398b44ade8e9a_90312068.jpg', 'extension': 'jpg'}, 1379767372: {'path': 'temp/1756806959_2767376_1379767372_403ffaeb43cb9ee351897d4f64023c38_59197744.jpg', 'extension': 'jpg'}, 1379770170: {'path': 'temp/1756806959_2767376_1379770170_07805079cc442f220206c0da9898cc5a_71219042.jpg', 'extension': 'jpg'}, 1379770347: {'path': 'temp/1756806959_2767376_1379770347_dd6a76aba93396e966a3aa0933ea7c0c_60351081.jpg', 'extension': 'jpg'}, 1379770348: {'path': 'temp/1756806959_2767376_1379770348_9e23ae6e87db6f01ff9bb4931c1083dd_57979127.jpg', 'extension': 'jpg'}, 1379770349: {'path': 'temp/1756806959_2767376_1379770349_c461ba61cccae3141cdfdeb3b552f6db_61347112.jpg', 'extension': 'jpg'}, 1379770350: {'path': 'temp/1756806959_2767376_1379770350_cdc394926aff3ddb50b45d2253e0589e_16005679.jpg', 'extension': 'jpg'}, 1379770351: {'path': 'temp/1756806959_2767376_1379770351_4a3622305c17b263aa955f3c35cd0af3_43488563.jpg', 'extension': 'jpg'}, 1379770472: {'path': 'temp/1756806959_2767376_1379770472_6467dfd64bd7ac284c956a09eb68dad3_21193998.jpg', 'extension': 'jpg'}, 1379770473: {'path': 'temp/1756806959_2767376_1379770473_17c69cf324efc4b62649c657070b0ca6_81037668.jpg', 'extension': 'jpg'}, 1379770474: {'path': 'temp/1756806959_2767376_1379770474_cac91054f63732b74b40c6559b18a9bd_11624250.jpg', 'extension': 'jpg'}, 1379770588: {'path': 'temp/1756806959_2767376_1379770588_6792ac0c864e7d69671c9122d0ae4e97_73513703.jpg', 'extension': 'jpg'}, 1379770589: {'path': 'temp/1756806959_2767376_1379770589_f0ceae635dfbb94dc07e91ee26c852af_52164012.jpg', 'extension': 'jpg'}, 1379770590: {'path': 'temp/1756806959_2767376_1379770590_eb12cdf9a5fdca6f3fea086d2881dd84_92301552.jpg', 'extension': 'jpg'}, 1379770591: {'path': 'temp/1756806959_2767376_1379770591_4e77822a24a4ac7454ecaad5e8d713e9_12897575.jpg', 'extension': 'jpg'}, 1379770592: {'path': 'temp/1756806959_2767376_1379770592_e4bdd984c6fd9b10487147a308b0ac61_94274411.jpg', 'extension': 'jpg'}, 1379770593: {'path': 'temp/1756806959_2767376_1379770593_6d9fbc45eeadb0fdc95e7e6bc56b8430_44150944.jpg', 'extension': 'jpg'}, 1379770695: {'path': 'temp/1756806959_2767376_1379770695_2b066be67412abc586ba8ae214aa3045_82821047.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 = 26278273; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26278273 group by h (('00', 36),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26278273 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 (26278273) 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 (26278273) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28082025 26278273 Nombre de photos uploadées : 36 / 23040 (0%) 28082025 26278273 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 28082025 26278273 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1379766969, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/28/163845dd4aefdf653057967cb4affeed_56935918.jpg', 'username': None, 'uploaded_at': 1756332072, 'text': 'image_28082025_00_00_14_010171m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1379766967, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/28/03bbb35e69e5e7917adbaaf412882056_76583517.jpg', 'username': None, 'uploaded_at': 1756332072, 'text': 'image_28082025_00_00_25_010188m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1379766965, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/28/f46a3719138894d1750438106cbe973a_73168750.jpg', 'username': None, 'uploaded_at': 1756332072, 'text': 'image_28082025_00_00_35_010212m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1379767372, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/28/403ffaeb43cb9ee351897d4f64023c38_59197744.jpg', 'username': None, 'uploaded_at': 1756332133, 'text': 'image_28082025_00_00_55_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 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018541812896728516 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26278273, '2025-08-28' ) 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-08-28' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2190679,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21556401252746582 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= 2190679 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26278273, 'dashboard_result_id': 14467766, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278273_29-08-2025_05_34_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26278275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26278276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26278277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26278278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26278279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26278280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26278281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26278282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26278283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26278284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26278285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26278286, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26278641, 'dashboard_result_id': 14467767, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278641_02-09-2025_11_55_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26278705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26278706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26278707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26278708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26278709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26278710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26278711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26278712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26278713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26278714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26278715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26278716, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26279136, 'dashboard_result_id': 14467768, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279136_02-09-2025_11_54_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26279154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26279155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26279156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26279157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26279158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26279159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26279160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26279161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26279162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26279163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26279164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26279165, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26279558, 'dashboard_result_id': 14467769, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279558_02-09-2025_11_54_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26279580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26279581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26279582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26279583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26279584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26279585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26279586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26279587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26279589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26279590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26279591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26279592, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26280345, 'dashboard_result_id': 14467770, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280345_02-09-2025_11_53_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280368, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26280472, 'dashboard_result_id': 14467771, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280472_02-09-2025_11_52_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280485, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26280603, 'dashboard_result_id': 14467772, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280603_02-09-2025_11_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280654, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26281009, 'dashboard_result_id': 14467773, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281009_02-09-2025_11_51_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281092, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26281324, 'dashboard_result_id': 14467774, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281324_02-09-2025_11_50_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281348, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26281574, 'dashboard_result_id': 14467775, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281574_02-09-2025_11_50_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281595, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26281768, 'dashboard_result_id': 14467776, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281768_02-09-2025_11_49_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281844, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26282113, 'dashboard_result_id': 14467777, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282113_02-09-2025_11_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282135, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26282316, 'dashboard_result_id': 14467778, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282316_02-09-2025_11_48_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282338, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26282469, 'dashboard_result_id': 14467779, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282469_02-09-2025_11_47_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26282481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282492, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26282674, 'dashboard_result_id': 14467780, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282674_02-09-2025_11_46_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282699, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26283621, 'dashboard_result_id': 14467781, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283621_02-09-2025_11_45_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283633, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26283647, 'dashboard_result_id': 14467782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283647_02-09-2025_11_45_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283664, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26283773, 'dashboard_result_id': 14467783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283773_02-09-2025_11_44_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283795, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26285809, 'dashboard_result_id': 14467784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26285809_02-09-2025_11_44_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26285820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26285821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26285822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26285823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26285824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26285825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26285826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26285827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26285828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26285829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26285830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26285831, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26286078, 'dashboard_result_id': 14467785, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286078_02-09-2025_11_43_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26286089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286100, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26286445, 'dashboard_result_id': 14467786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286445_02-09-2025_11_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26286530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286534, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26286907, 'dashboard_result_id': 14467787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286907_02-09-2025_11_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26286932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286935, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26287442, 'dashboard_result_id': 14467788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26287442_02-09-2025_11_41_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26287463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26287464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26287465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26287466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26287467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26287468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26287469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26287470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26287471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26287472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26287473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26287474, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26294658, 'dashboard_result_id': 14467789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294658_02-09-2025_11_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26294671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294680, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26294570, 'dashboard_result_id': 14467790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294570_02-09-2025_11_40_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26294578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294585, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26294896, 'dashboard_result_id': 14467791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294896_02-09-2025_11_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26294923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294934, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26295366, 'dashboard_result_id': 14467792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295366_02-09-2025_11_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26295417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26295418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26295419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26295420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26295421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26295422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26295423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26295424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26295425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26295426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26295427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26295428, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26295938, 'dashboard_result_id': 14467793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295938_02-09-2025_11_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26295953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26295954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26295955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26295956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26295957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26295958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26295959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26295960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26295961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26295962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26295963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26295964, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26296306, 'dashboard_result_id': 14467794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296306_02-09-2025_11_37_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26296360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26296361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26296362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26296363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26296364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26296365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26296366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26296367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26296368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26296369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26296370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26296371, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26296662, 'dashboard_result_id': 14467795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296662_02-09-2025_11_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26296690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26296691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26296692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26296693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26296694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26296695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26296696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26296697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26296698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26296699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26296700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26296701, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26297085, 'dashboard_result_id': 14467796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297085_02-09-2025_11_36_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26297091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26297094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297102, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26297345, 'dashboard_result_id': 14467797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297345_02-09-2025_11_35_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26297383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26297390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297394, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26297973, 'dashboard_result_id': 14467798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297973_02-09-2025_11_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26297983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26297989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297991, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26298141, 'dashboard_result_id': 14467799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298141_02-09-2025_11_34_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26298164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26298166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26298167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26298168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26298169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26298170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26298171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26298172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26298173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26298174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26298175, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26298526, 'dashboard_result_id': 14467800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298526_02-09-2025_11_33_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26298542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26298543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26298544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26298545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26298547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26298548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26298549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26298550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26298551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26298552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26298553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26298554, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26299932, 'dashboard_result_id': 14467801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26299932_02-09-2025_11_32_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26299995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26299996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26299997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26299998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26299999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300006, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26300371, 'dashboard_result_id': 14467802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300371_02-09-2025_11_32_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26300421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26300423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26300426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26300427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26300428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300430, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26300708, 'dashboard_result_id': 14467803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300708_02-09-2025_11_31_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26300761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26300763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26300765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26300767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26300769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300772, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26301188, 'dashboard_result_id': 14467804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301188_02-09-2025_11_30_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26301246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26301247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26301248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26301249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26301250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26301251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26301252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26301253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26301254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26301255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26301256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26301257, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26301709, 'dashboard_result_id': 14467805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301709_02-09-2025_11_30_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26301728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26301729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26301730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26301731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26301732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26301733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26301734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26301735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26301736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26301737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26301738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26301739, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26302205, 'dashboard_result_id': 14467806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302205_02-09-2025_11_29_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26302222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26302223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26302224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26302225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26302226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26302227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26302228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26302229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26302230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26302231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26302232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26302233, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26302724, 'dashboard_result_id': 14467807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302724_02-09-2025_11_28_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26302739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26302740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26302741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26302742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26302743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26302744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26302745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26302746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26302747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26302748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26302749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26302750, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26303129, 'dashboard_result_id': 14467808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303129_02-09-2025_11_28_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26303163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26303164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26303165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26303166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26303167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26303168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26303169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26303170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26303171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26303172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26303173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26303174, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26303614, 'dashboard_result_id': 14467809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303614_02-09-2025_11_27_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26303656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26303657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26303658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26303659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26303660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26303661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26303662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26303663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26303664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26303665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26303666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26303667, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26304061, 'dashboard_result_id': 14467810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304061_02-09-2025_11_26_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26304073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26304074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26304075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26304076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26304077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26304078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26304079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26304080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26304081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26304082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26304083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26304084, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26304498, 'dashboard_result_id': 14467811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304498_02-09-2025_11_26_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26304512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26304513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26304514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26304515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26304516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26304517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26304518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26304519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26304520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26304521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26304522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26304523, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26305771, 'dashboard_result_id': 14467812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26305771_02-09-2025_11_25_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26305812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26305813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26305814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26305815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26305816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26305817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26305818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26305819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26305820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26305821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26305822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26305823, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26306021, 'dashboard_result_id': 14467813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306021_02-09-2025_11_24_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306046, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26306336, 'dashboard_result_id': 14467814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306336_02-09-2025_11_24_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306359, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26306898, 'dashboard_result_id': 14467815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306898_02-09-2025_11_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306987, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306996, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26307342, 'dashboard_result_id': 14467816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307342_02-09-2025_11_22_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26307385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26307386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26307387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26307388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26307389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26307390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26307391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26307392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26307393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26307394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26307395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26307396, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26307883, 'dashboard_result_id': 14467817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307883_02-09-2025_11_22_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26307904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26307905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26307906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26307907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26307908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26307909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26307910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26307912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26307913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26307914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26307915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26307916, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26308297, 'dashboard_result_id': 14467818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308297_02-09-2025_11_21_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26308364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26308365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26308366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26308367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26308368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26308369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26308370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26308371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26308372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26308373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26308374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26308375, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26308853, 'dashboard_result_id': 14467819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308853_02-09-2025_11_20_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26308859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26308860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26308861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26308862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26308863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26308864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26308865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26308866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26308867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26308868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26308869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26308870, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26309276, 'dashboard_result_id': 14467820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309276_02-09-2025_11_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309316, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26309619, 'dashboard_result_id': 14467821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309619_02-09-2025_11_19_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309656, 'pht': 3726}}"}, {'dashboat_entry_day': 2190679, 'dashboard_run_id': 2207279, 'mtr_portfolio_id': 26309935, 'dashboard_result_id': 14467822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309935_02-09-2025_11_18_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309956, '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 = 26278273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651200, 'mtr_portfolio_id': 26278273, 'created_at': datetime.datetime(2025, 9, 2, 11, 55, 59), 'result': '0.0441605513347589', 'result_long': None, 'result_double': None}] Qualite : 0.0441605513347589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26278273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278273_02-09-2025_11_56_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26278273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278273_02-09-2025_11_56_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26278275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26278276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26278277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26278278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26278279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26278280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26278281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26278282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26278283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26278284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26278285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26278286, 'pht': 3726}}" where mtr_portfolio_id = 26278273 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26278273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467766, 0.0441605513347589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278273_02-09-2025_11_56_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26278275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26278276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26278277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26278278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26278279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26278280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26278281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26278282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26278283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26278284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26278285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26278286, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26278641 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651201, 'mtr_portfolio_id': 26278641, 'created_at': datetime.datetime(2025, 9, 2, 11, 55, 29), 'result': '0.06688219524626147', 'result_long': None, 'result_double': None}] Qualite : 0.06688219524626147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26278641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278641_02-09-2025_11_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26278641 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278641_02-09-2025_11_55_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26278705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26278706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26278707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26278708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26278709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26278710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26278711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26278712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26278713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26278714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26278715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26278716, 'pht': 3726}}" where mtr_portfolio_id = 26278641 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26278641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467767, 0.06688219524626147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26278641_02-09-2025_11_55_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26278705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26278706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26278707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26278708, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26278709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26278710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26278711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26278712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26278713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26278714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26278715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26278716, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26279136 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651202, 'mtr_portfolio_id': 26279136, 'created_at': datetime.datetime(2025, 9, 2, 11, 54, 27), 'result': '0.03847990579888985', 'result_long': None, 'result_double': None}] Qualite : 0.03847990579888985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26279136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279136_02-09-2025_11_54_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26279136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279136_02-09-2025_11_54_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26279154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26279155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26279156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26279157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26279158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26279159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26279160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26279161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26279162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26279163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26279164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26279165, 'pht': 3726}}" where mtr_portfolio_id = 26279136 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26279136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467768, 0.03847990579888985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279136_02-09-2025_11_54_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26279154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26279155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26279156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26279157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26279158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26279159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26279160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26279161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26279162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26279163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26279164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26279165, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26279558 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651203, 'mtr_portfolio_id': 26279558, 'created_at': datetime.datetime(2025, 9, 2, 11, 53, 58), 'result': '0.04107912667917506', 'result_long': None, 'result_double': None}] Qualite : 0.04107912667917506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26279558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279558_02-09-2025_11_54_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26279558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279558_02-09-2025_11_54_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26279580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26279581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26279582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26279583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26279584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26279585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26279586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26279587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26279589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26279590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26279591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26279592, 'pht': 3726}}" where mtr_portfolio_id = 26279558 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26279558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467769, 0.04107912667917506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26279558_02-09-2025_11_54_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26279580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26279581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26279582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26279583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26279584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26279585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26279586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26279587, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26279589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26279590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26279591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26279592, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26280345 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651204, 'mtr_portfolio_id': 26280345, 'created_at': datetime.datetime(2025, 9, 2, 11, 53, 28), 'result': '0.04677000963297553', 'result_long': None, 'result_double': None}] Qualite : 0.04677000963297553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26280345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280345_02-09-2025_11_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26280345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280345_02-09-2025_11_53_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280368, 'pht': 3726}}" where mtr_portfolio_id = 26280345 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26280345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467770, 0.04677000963297553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280345_02-09-2025_11_53_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26280472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651205, 'mtr_portfolio_id': 26280472, 'created_at': datetime.datetime(2025, 9, 2, 11, 52, 28), 'result': '0.05186411171120845', 'result_long': None, 'result_double': None}] Qualite : 0.05186411171120845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26280472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280472_02-09-2025_11_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26280472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280472_02-09-2025_11_52_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280485, 'pht': 3726}}" where mtr_portfolio_id = 26280472 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26280472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467771, 0.05186411171120845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280472_02-09-2025_11_52_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26280603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651206, 'mtr_portfolio_id': 26280603, 'created_at': datetime.datetime(2025, 9, 2, 11, 51, 59), 'result': '0.02915790346343562', 'result_long': None, 'result_double': None}] Qualite : 0.02915790346343562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26280603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280603_02-09-2025_11_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26280603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280603_02-09-2025_11_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280654, 'pht': 3726}}" where mtr_portfolio_id = 26280603 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26280603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467772, 0.02915790346343562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26280603_02-09-2025_11_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26280643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26280644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26280645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26280646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26280647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26280648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26280649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26280650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26280651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26280652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26280653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26280654, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26281009 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651207, 'mtr_portfolio_id': 26281009, 'created_at': datetime.datetime(2025, 9, 2, 11, 51, 29), 'result': '0.048724703527447344', 'result_long': None, 'result_double': None}] Qualite : 0.048724703527447344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26281009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281009_02-09-2025_11_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26281009 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281009_02-09-2025_11_51_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281092, 'pht': 3726}}" where mtr_portfolio_id = 26281009 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26281009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467773, 0.048724703527447344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281009_02-09-2025_11_51_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26281324 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651208, 'mtr_portfolio_id': 26281324, 'created_at': datetime.datetime(2025, 9, 2, 11, 50, 30), 'result': '0.0648026615059417', 'result_long': None, 'result_double': None}] Qualite : 0.0648026615059417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26281324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281324_02-09-2025_11_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26281324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281324_02-09-2025_11_50_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281348, 'pht': 3726}}" where mtr_portfolio_id = 26281324 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26281324 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467774, 0.0648026615059417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281324_02-09-2025_11_50_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281348, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26281574 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651209, 'mtr_portfolio_id': 26281574, 'created_at': datetime.datetime(2025, 9, 2, 11, 50), 'result': '0.06692008322202873', 'result_long': None, 'result_double': None}] Qualite : 0.06692008322202873 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26281574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281574_02-09-2025_11_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26281574 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281574_02-09-2025_11_50_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281595, 'pht': 3726}}" where mtr_portfolio_id = 26281574 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26281574 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467775, 0.06692008322202873, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281574_02-09-2025_11_50_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281595, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26281768 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651210, 'mtr_portfolio_id': 26281768, 'created_at': datetime.datetime(2025, 9, 2, 11, 49, 28), 'result': '0.044731636248453756', 'result_long': None, 'result_double': None}] Qualite : 0.044731636248453756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26281768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281768_02-09-2025_11_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26281768 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281768_02-09-2025_11_49_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281844, 'pht': 3726}}" where mtr_portfolio_id = 26281768 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26281768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467776, 0.044731636248453756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26281768_02-09-2025_11_49_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26281833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26281834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26281835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26281836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26281837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26281838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26281839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26281840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26281841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26281842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26281843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26281844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26282113 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651211, 'mtr_portfolio_id': 26282113, 'created_at': datetime.datetime(2025, 9, 2, 11, 48, 32), 'result': '0.049311268988160135', 'result_long': None, 'result_double': None}] Qualite : 0.049311268988160135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26282113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282113_02-09-2025_11_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26282113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282113_02-09-2025_11_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282135, 'pht': 3726}}" where mtr_portfolio_id = 26282113 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26282113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467777, 0.049311268988160135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282113_02-09-2025_11_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26282316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651212, 'mtr_portfolio_id': 26282316, 'created_at': datetime.datetime(2025, 9, 2, 11, 47, 59), 'result': '0.04446867457009969', 'result_long': None, 'result_double': None}] Qualite : 0.04446867457009969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26282316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282316_02-09-2025_11_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26282316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282316_02-09-2025_11_48_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282338, 'pht': 3726}}" where mtr_portfolio_id = 26282316 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26282316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467778, 0.04446867457009969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282316_02-09-2025_11_48_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282338, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26282469 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651213, 'mtr_portfolio_id': 26282469, 'created_at': datetime.datetime(2025, 9, 2, 11, 47, 30), 'result': '0.05982249850535343', 'result_long': None, 'result_double': None}] Qualite : 0.05982249850535343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26282469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282469_02-09-2025_11_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26282469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282469_02-09-2025_11_47_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26282481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282492, 'pht': 3726}}" where mtr_portfolio_id = 26282469 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26282469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467779, 0.05982249850535343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282469_02-09-2025_11_47_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26282481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282492, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26282674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651214, 'mtr_portfolio_id': 26282674, 'created_at': datetime.datetime(2025, 9, 2, 11, 46, 30), 'result': '0.04801700889299186', 'result_long': None, 'result_double': None}] Qualite : 0.04801700889299186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26282674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282674_02-09-2025_11_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26282674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282674_02-09-2025_11_46_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282699, 'pht': 3726}}" where mtr_portfolio_id = 26282674 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26282674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467780, 0.04801700889299186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26282674_02-09-2025_11_46_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26282688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26282689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26282690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26282691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26282692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26282693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26282694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26282695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26282696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26282697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26282698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26282699, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26283621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651215, 'mtr_portfolio_id': 26283621, 'created_at': datetime.datetime(2025, 9, 2, 11, 45, 58), 'result': '0.05600015620989096', 'result_long': None, 'result_double': None}] Qualite : 0.05600015620989096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26283621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283621_02-09-2025_11_45_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26283621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283621_02-09-2025_11_45_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283633, 'pht': 3726}}" where mtr_portfolio_id = 26283621 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26283621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467781, 0.05600015620989096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283621_02-09-2025_11_45_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26283647 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651216, 'mtr_portfolio_id': 26283647, 'created_at': datetime.datetime(2025, 9, 2, 11, 45, 31), 'result': '0.05279477245195245', 'result_long': None, 'result_double': None}] Qualite : 0.05279477245195245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26283647 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283647_02-09-2025_11_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26283647 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283647_02-09-2025_11_45_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283664, 'pht': 3726}}" where mtr_portfolio_id = 26283647 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26283647 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467782, 0.05279477245195245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283647_02-09-2025_11_45_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26283773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651217, 'mtr_portfolio_id': 26283773, 'created_at': datetime.datetime(2025, 9, 2, 11, 44, 29), 'result': '0.06609886572473704', 'result_long': None, 'result_double': None}] Qualite : 0.06609886572473704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26283773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283773_02-09-2025_11_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26283773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283773_02-09-2025_11_44_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283795, 'pht': 3726}}" where mtr_portfolio_id = 26283773 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26283773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467783, 0.06609886572473704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26283773_02-09-2025_11_44_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26283784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26283785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26283786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26283787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26283788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26283789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26283790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26283791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26283792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26283793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26283794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26283795, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26285809 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651218, 'mtr_portfolio_id': 26285809, 'created_at': datetime.datetime(2025, 9, 2, 11, 44), 'result': '0.06815955793108297', 'result_long': None, 'result_double': None}] Qualite : 0.06815955793108297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26285809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26285809_02-09-2025_11_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26285809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26285809_02-09-2025_11_44_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26285820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26285821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26285822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26285823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26285824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26285825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26285826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26285827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26285828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26285829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26285830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26285831, 'pht': 3726}}" where mtr_portfolio_id = 26285809 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26285809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467784, 0.06815955793108297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26285809_02-09-2025_11_44_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26285820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26285821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26285822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26285823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26285824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26285825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26285826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26285827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26285828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26285829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26285830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26285831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26286078 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651219, 'mtr_portfolio_id': 26286078, 'created_at': datetime.datetime(2025, 9, 2, 11, 43, 29), 'result': '0.04854170147979278', 'result_long': None, 'result_double': None}] Qualite : 0.04854170147979278 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26286078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286078_02-09-2025_11_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26286078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286078_02-09-2025_11_43_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26286089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286100, 'pht': 3726}}" where mtr_portfolio_id = 26286078 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26286078 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467785, 0.04854170147979278, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286078_02-09-2025_11_43_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26286089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26286445 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651220, 'mtr_portfolio_id': 26286445, 'created_at': datetime.datetime(2025, 9, 2, 11, 42, 29), 'result': '0.08143938439949618', 'result_long': None, 'result_double': None}] Qualite : 0.08143938439949618 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26286445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286445_02-09-2025_11_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26286445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286445_02-09-2025_11_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26286530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286534, 'pht': 3726}}" where mtr_portfolio_id = 26286445 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26286445 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467786, 0.08143938439949618, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286445_02-09-2025_11_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26286530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286534, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26286907 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651221, 'mtr_portfolio_id': 26286907, 'created_at': datetime.datetime(2025, 9, 2, 11, 42, 1), 'result': '0.07703289836072838', 'result_long': None, 'result_double': None}] Qualite : 0.07703289836072838 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26286907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286907_02-09-2025_11_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26286907 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286907_02-09-2025_11_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26286932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286935, 'pht': 3726}}" where mtr_portfolio_id = 26286907 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26286907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467787, 0.07703289836072838, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26286907_02-09-2025_11_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26286924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26286925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26286926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26286927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26286928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26286929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26286930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26286931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26286932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26286933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26286934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26286935, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26287442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651222, 'mtr_portfolio_id': 26287442, 'created_at': datetime.datetime(2025, 9, 2, 11, 41, 29), 'result': '0.05399133553038513', 'result_long': None, 'result_double': None}] Qualite : 0.05399133553038513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26287442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26287442_02-09-2025_11_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26287442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26287442_02-09-2025_11_41_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26287463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26287464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26287465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26287466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26287467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26287468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26287469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26287470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26287471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26287472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26287473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26287474, 'pht': 3726}}" where mtr_portfolio_id = 26287442 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26287442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467788, 0.05399133553038513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26287442_02-09-2025_11_41_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26287463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26287464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26287465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26287466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26287467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26287468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26287469, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26287470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26287471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26287472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26287473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26287474, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26294658 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651223, 'mtr_portfolio_id': 26294658, 'created_at': datetime.datetime(2025, 9, 2, 11, 40, 31), 'result': '0.06286491110438625', 'result_long': None, 'result_double': None}] Qualite : 0.06286491110438625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26294658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294658_02-09-2025_11_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26294658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294658_02-09-2025_11_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26294671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294680, 'pht': 3726}}" where mtr_portfolio_id = 26294658 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26294658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467789, 0.06286491110438625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294658_02-09-2025_11_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26294671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294680, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26294570 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651224, 'mtr_portfolio_id': 26294570, 'created_at': datetime.datetime(2025, 9, 2, 11, 39, 58), 'result': '0.039122541756428375', 'result_long': None, 'result_double': None}] Qualite : 0.039122541756428375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26294570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294570_02-09-2025_11_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26294570 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294570_02-09-2025_11_40_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26294578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294585, 'pht': 3726}}" where mtr_portfolio_id = 26294570 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26294570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467790, 0.039122541756428375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294570_02-09-2025_11_40_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26294578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294585, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26294896 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651225, 'mtr_portfolio_id': 26294896, 'created_at': datetime.datetime(2025, 9, 2, 11, 39, 29), 'result': '0.04576115616513861', 'result_long': None, 'result_double': None}] Qualite : 0.04576115616513861 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26294896 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294896_02-09-2025_11_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26294896 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294896_02-09-2025_11_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26294923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294934, 'pht': 3726}}" where mtr_portfolio_id = 26294896 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26294896 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467791, 0.04576115616513861, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26294896_02-09-2025_11_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26294923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26294924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26294925, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26294926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26294927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26294928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26294929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26294930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26294931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26294932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26294933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26294934, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26295366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651226, 'mtr_portfolio_id': 26295366, 'created_at': datetime.datetime(2025, 9, 2, 11, 38, 30), 'result': '0.04236992719747412', 'result_long': None, 'result_double': None}] Qualite : 0.04236992719747412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26295366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295366_02-09-2025_11_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26295366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295366_02-09-2025_11_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26295417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26295418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26295419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26295420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26295421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26295422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26295423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26295424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26295425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26295426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26295427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26295428, 'pht': 3726}}" where mtr_portfolio_id = 26295366 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26295366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467792, 0.04236992719747412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295366_02-09-2025_11_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26295417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26295418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26295419, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26295420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26295421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26295422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26295423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26295424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26295425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26295426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26295427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26295428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26295938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651227, 'mtr_portfolio_id': 26295938, 'created_at': datetime.datetime(2025, 9, 2, 11, 38, 1), 'result': '0.06739891309024233', 'result_long': None, 'result_double': None}] Qualite : 0.06739891309024233 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26295938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295938_02-09-2025_11_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26295938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295938_02-09-2025_11_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26295953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26295954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26295955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26295956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26295957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26295958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26295959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26295960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26295961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26295962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26295963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26295964, 'pht': 3726}}" where mtr_portfolio_id = 26295938 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26295938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467793, 0.06739891309024233, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26295938_02-09-2025_11_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26295953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26295954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26295955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26295956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26295957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26295958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26295959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26295960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26295961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26295962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26295963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26295964, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26296306 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651228, 'mtr_portfolio_id': 26296306, 'created_at': datetime.datetime(2025, 9, 2, 11, 37, 28), 'result': '0.046883755203016055', 'result_long': None, 'result_double': None}] Qualite : 0.046883755203016055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26296306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296306_02-09-2025_11_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26296306 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296306_02-09-2025_11_37_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26296360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26296361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26296362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26296363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26296364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26296365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26296366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26296367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26296368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26296369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26296370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26296371, 'pht': 3726}}" where mtr_portfolio_id = 26296306 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26296306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467794, 0.046883755203016055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296306_02-09-2025_11_37_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26296360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26296361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26296362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26296363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26296364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26296365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26296366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26296367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26296368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26296369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26296370, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26296371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26296662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651229, 'mtr_portfolio_id': 26296662, 'created_at': datetime.datetime(2025, 9, 2, 11, 36, 29), 'result': '0.096056092402689', 'result_long': None, 'result_double': None}] Qualite : 0.096056092402689 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26296662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296662_02-09-2025_11_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26296662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296662_02-09-2025_11_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26296690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26296691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26296692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26296693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26296694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26296695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26296696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26296697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26296698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26296699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26296700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26296701, 'pht': 3726}}" where mtr_portfolio_id = 26296662 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26296662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467795, 0.096056092402689, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26296662_02-09-2025_11_36_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26296690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26296691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26296692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26296693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26296694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26296695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26296696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26296697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26296698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26296699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26296700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26296701, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26297085 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651230, 'mtr_portfolio_id': 26297085, 'created_at': datetime.datetime(2025, 9, 2, 11, 36), 'result': '0.07141819374400964', 'result_long': None, 'result_double': None}] Qualite : 0.07141819374400964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26297085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297085_02-09-2025_11_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26297085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297085_02-09-2025_11_36_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26297091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26297094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297102, 'pht': 3726}}" where mtr_portfolio_id = 26297085 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26297085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467796, 0.07141819374400964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297085_02-09-2025_11_36_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26297091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26297094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297102, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26297345 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651231, 'mtr_portfolio_id': 26297345, 'created_at': datetime.datetime(2025, 9, 2, 11, 35, 30), 'result': '0.06550328493024687', 'result_long': None, 'result_double': None}] Qualite : 0.06550328493024687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26297345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297345_02-09-2025_11_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26297345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297345_02-09-2025_11_35_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26297383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26297390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297394, 'pht': 3726}}" where mtr_portfolio_id = 26297345 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26297345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467797, 0.06550328493024687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297345_02-09-2025_11_35_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26297383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26297390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297394, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26297973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651232, 'mtr_portfolio_id': 26297973, 'created_at': datetime.datetime(2025, 9, 2, 11, 35), 'result': '0.06672120628926383', 'result_long': None, 'result_double': None}] Qualite : 0.06672120628926383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26297973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297973_02-09-2025_11_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26297973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297973_02-09-2025_11_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26297983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26297989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297991, 'pht': 3726}}" where mtr_portfolio_id = 26297973 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26297973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467798, 0.06672120628926383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26297973_02-09-2025_11_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26297979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26297980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26297981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26297982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26297983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26297984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26297985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26297986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26297987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26297989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26297990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26297991, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26298141 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651233, 'mtr_portfolio_id': 26298141, 'created_at': datetime.datetime(2025, 9, 2, 11, 33, 58), 'result': '0.057902405605689766', 'result_long': None, 'result_double': None}] Qualite : 0.057902405605689766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26298141 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298141_02-09-2025_11_34_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26298141 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298141_02-09-2025_11_34_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26298164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26298166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26298167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26298168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26298169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26298170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26298171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26298172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26298173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26298174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26298175, 'pht': 3726}}" where mtr_portfolio_id = 26298141 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26298141 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467799, 0.057902405605689766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298141_02-09-2025_11_34_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26298164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26298166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26298167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26298168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26298169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26298170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26298171, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26298172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26298173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26298174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26298175, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26298526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651234, 'mtr_portfolio_id': 26298526, 'created_at': datetime.datetime(2025, 9, 2, 11, 33, 28), 'result': '0.053855766821136034', 'result_long': None, 'result_double': None}] Qualite : 0.053855766821136034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26298526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298526_02-09-2025_11_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26298526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298526_02-09-2025_11_33_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26298542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26298543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26298544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26298545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26298547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26298548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26298549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26298550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26298551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26298552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26298553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26298554, 'pht': 3726}}" where mtr_portfolio_id = 26298526 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26298526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467800, 0.053855766821136034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26298526_02-09-2025_11_33_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26298542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26298543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26298544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26298545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26298547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26298548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26298549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26298550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26298551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26298552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26298553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26298554, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26299932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651235, 'mtr_portfolio_id': 26299932, 'created_at': datetime.datetime(2025, 9, 2, 11, 32, 28), 'result': '0.06515059980364322', 'result_long': None, 'result_double': None}] Qualite : 0.06515059980364322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26299932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26299932_02-09-2025_11_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26299932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26299932_02-09-2025_11_32_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26299995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26299996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26299997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26299998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26299999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300006, 'pht': 3726}}" where mtr_portfolio_id = 26299932 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26299932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467801, 0.06515059980364322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26299932_02-09-2025_11_32_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26299995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26299996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26299997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26299998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26299999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26300371 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651236, 'mtr_portfolio_id': 26300371, 'created_at': datetime.datetime(2025, 9, 2, 11, 31, 58), 'result': '0.062077150382057376', 'result_long': None, 'result_double': None}] Qualite : 0.062077150382057376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26300371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300371_02-09-2025_11_32_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26300371 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300371_02-09-2025_11_32_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26300421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26300423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26300426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26300427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26300428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300430, 'pht': 3726}}" where mtr_portfolio_id = 26300371 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26300371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467802, 0.062077150382057376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300371_02-09-2025_11_32_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26300421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26300423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26300426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26300427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26300428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300430, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26300708 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651237, 'mtr_portfolio_id': 26300708, 'created_at': datetime.datetime(2025, 9, 2, 11, 31, 28), 'result': '0.061230790259081375', 'result_long': None, 'result_double': None}] Qualite : 0.061230790259081375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26300708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300708_02-09-2025_11_31_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26300708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300708_02-09-2025_11_31_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26300761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26300763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26300765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26300767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26300769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300772, 'pht': 3726}}" where mtr_portfolio_id = 26300708 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26300708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467803, 0.061230790259081375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26300708_02-09-2025_11_31_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26300761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26300762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26300763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26300764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26300765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26300766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26300767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26300768, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26300769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26300770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26300771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26300772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26301188 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651238, 'mtr_portfolio_id': 26301188, 'created_at': datetime.datetime(2025, 9, 2, 11, 30, 30), 'result': '0.06084305630532065', 'result_long': None, 'result_double': None}] Qualite : 0.06084305630532065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26301188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301188_02-09-2025_11_30_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26301188 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301188_02-09-2025_11_30_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26301246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26301247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26301248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26301249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26301250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26301251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26301252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26301253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26301254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26301255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26301256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26301257, 'pht': 3726}}" where mtr_portfolio_id = 26301188 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26301188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467804, 0.06084305630532065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301188_02-09-2025_11_30_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26301246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26301247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26301248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26301249, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26301250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26301251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26301252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26301253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26301254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26301255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26301256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26301257, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26301709 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651239, 'mtr_portfolio_id': 26301709, 'created_at': datetime.datetime(2025, 9, 2, 11, 29, 57), 'result': '0.04963773660286159', 'result_long': None, 'result_double': None}] Qualite : 0.04963773660286159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26301709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301709_02-09-2025_11_30_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26301709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301709_02-09-2025_11_30_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26301728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26301729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26301730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26301731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26301732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26301733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26301734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26301735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26301736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26301737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26301738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26301739, 'pht': 3726}}" where mtr_portfolio_id = 26301709 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26301709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467805, 0.04963773660286159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26301709_02-09-2025_11_30_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26301728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26301729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26301730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26301731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26301732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26301733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26301734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26301735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26301736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26301737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26301738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26301739, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26302205 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651240, 'mtr_portfolio_id': 26302205, 'created_at': datetime.datetime(2025, 9, 2, 11, 29, 31), 'result': '0.04749843389305647', 'result_long': None, 'result_double': None}] Qualite : 0.04749843389305647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26302205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302205_02-09-2025_11_29_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26302205 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302205_02-09-2025_11_29_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26302222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26302223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26302224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26302225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26302226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26302227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26302228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26302229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26302230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26302231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26302232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26302233, 'pht': 3726}}" where mtr_portfolio_id = 26302205 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26302205 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467806, 0.04749843389305647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302205_02-09-2025_11_29_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26302222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26302223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26302224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26302225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26302226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26302227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26302228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26302229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26302230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26302231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26302232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26302233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26302724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651241, 'mtr_portfolio_id': 26302724, 'created_at': datetime.datetime(2025, 9, 2, 11, 28, 31), 'result': '0.04543310910709055', 'result_long': None, 'result_double': None}] Qualite : 0.04543310910709055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26302724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302724_02-09-2025_11_28_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26302724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302724_02-09-2025_11_28_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26302739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26302740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26302741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26302742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26302743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26302744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26302745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26302746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26302747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26302748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26302749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26302750, 'pht': 3726}}" where mtr_portfolio_id = 26302724 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26302724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467807, 0.04543310910709055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26302724_02-09-2025_11_28_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26302739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26302740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26302741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26302742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26302743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26302744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26302745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26302746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26302747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26302748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26302749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26302750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26303129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651242, 'mtr_portfolio_id': 26303129, 'created_at': datetime.datetime(2025, 9, 2, 11, 27, 57), 'result': '0.053271588002630536', 'result_long': None, 'result_double': None}] Qualite : 0.053271588002630536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26303129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303129_02-09-2025_11_28_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26303129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303129_02-09-2025_11_28_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26303163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26303164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26303165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26303166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26303167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26303168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26303169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26303170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26303171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26303172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26303173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26303174, 'pht': 3726}}" where mtr_portfolio_id = 26303129 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26303129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467808, 0.053271588002630536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303129_02-09-2025_11_28_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26303163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26303164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26303165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26303166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26303167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26303168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26303169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26303170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26303171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26303172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26303173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26303174, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26303614 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651243, 'mtr_portfolio_id': 26303614, 'created_at': datetime.datetime(2025, 9, 2, 11, 27, 29), 'result': '0.06251570581219933', 'result_long': None, 'result_double': None}] Qualite : 0.06251570581219933 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26303614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303614_02-09-2025_11_27_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26303614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303614_02-09-2025_11_27_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26303656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26303657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26303658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26303659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26303660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26303661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26303662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26303663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26303664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26303665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26303666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26303667, 'pht': 3726}}" where mtr_portfolio_id = 26303614 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26303614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467809, 0.06251570581219933, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26303614_02-09-2025_11_27_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26303656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26303657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26303658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26303659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26303660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26303661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26303662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26303663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26303664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26303665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26303666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26303667, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26304061 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651244, 'mtr_portfolio_id': 26304061, 'created_at': datetime.datetime(2025, 9, 2, 11, 26, 30), 'result': '0.046315505662045106', 'result_long': None, 'result_double': None}] Qualite : 0.046315505662045106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26304061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304061_02-09-2025_11_26_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26304061 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304061_02-09-2025_11_26_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26304073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26304074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26304075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26304076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26304077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26304078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26304079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26304080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26304081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26304082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26304083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26304084, 'pht': 3726}}" where mtr_portfolio_id = 26304061 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26304061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467810, 0.046315505662045106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304061_02-09-2025_11_26_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26304073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26304074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26304075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26304076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26304077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26304078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26304079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26304080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26304081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26304082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26304083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26304084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26304498 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651245, 'mtr_portfolio_id': 26304498, 'created_at': datetime.datetime(2025, 9, 2, 11, 26, 2), 'result': '0.049659111015280304', 'result_long': None, 'result_double': None}] Qualite : 0.049659111015280304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26304498 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304498_02-09-2025_11_26_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26304498 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304498_02-09-2025_11_26_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26304512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26304513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26304514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26304515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26304516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26304517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26304518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26304519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26304520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26304521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26304522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26304523, 'pht': 3726}}" where mtr_portfolio_id = 26304498 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26304498 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467811, 0.049659111015280304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26304498_02-09-2025_11_26_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26304512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26304513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26304514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26304515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26304516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26304517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26304518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26304519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26304520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26304521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26304522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26304523, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26305771 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651246, 'mtr_portfolio_id': 26305771, 'created_at': datetime.datetime(2025, 9, 2, 11, 25, 31), 'result': '0.06916005387297038', 'result_long': None, 'result_double': None}] Qualite : 0.06916005387297038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26305771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26305771_02-09-2025_11_25_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26305771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26305771_02-09-2025_11_25_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26305812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26305813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26305814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26305815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26305816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26305817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26305818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26305819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26305820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26305821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26305822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26305823, 'pht': 3726}}" where mtr_portfolio_id = 26305771 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26305771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467812, 0.06916005387297038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26305771_02-09-2025_11_25_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26305812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26305813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26305814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26305815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26305816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26305817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26305818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26305819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26305820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26305821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26305822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26305823, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26306021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651247, 'mtr_portfolio_id': 26306021, 'created_at': datetime.datetime(2025, 9, 2, 11, 24, 31), 'result': '0.04798598442095483', 'result_long': None, 'result_double': None}] Qualite : 0.04798598442095483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26306021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306021_02-09-2025_11_24_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26306021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306021_02-09-2025_11_24_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306046, 'pht': 3726}}" where mtr_portfolio_id = 26306021 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26306021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467813, 0.04798598442095483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306021_02-09-2025_11_24_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306046, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26306336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651248, 'mtr_portfolio_id': 26306336, 'created_at': datetime.datetime(2025, 9, 2, 11, 23, 57), 'result': '0.09364429098400245', 'result_long': None, 'result_double': None}] Qualite : 0.09364429098400245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26306336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306336_02-09-2025_11_24_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26306336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306336_02-09-2025_11_24_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306359, 'pht': 3726}}" where mtr_portfolio_id = 26306336 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26306336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467814, 0.09364429098400245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306336_02-09-2025_11_24_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306359, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26306898 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651249, 'mtr_portfolio_id': 26306898, 'created_at': datetime.datetime(2025, 9, 2, 11, 23, 28), 'result': '0.05793190120745515', 'result_long': None, 'result_double': None}] Qualite : 0.05793190120745515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26306898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306898_02-09-2025_11_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26306898 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306898_02-09-2025_11_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306987, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306996, 'pht': 3726}}" where mtr_portfolio_id = 26306898 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26306898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467815, 0.05793190120745515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26306898_02-09-2025_11_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26306984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26306985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26306986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26306987, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26306988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26306989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26306990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26306992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26306993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26306994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26306995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26306996, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26307342 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651250, 'mtr_portfolio_id': 26307342, 'created_at': datetime.datetime(2025, 9, 2, 11, 22, 31), 'result': '0.049172119333644425', 'result_long': None, 'result_double': None}] Qualite : 0.049172119333644425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26307342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307342_02-09-2025_11_22_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26307342 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307342_02-09-2025_11_22_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26307385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26307386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26307387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26307388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26307389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26307390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26307391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26307392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26307393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26307394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26307395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26307396, 'pht': 3726}}" where mtr_portfolio_id = 26307342 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26307342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467816, 0.049172119333644425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307342_02-09-2025_11_22_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26307385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26307386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26307387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26307388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26307389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26307390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26307391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26307392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26307393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26307394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26307395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26307396, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26307883 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651251, 'mtr_portfolio_id': 26307883, 'created_at': datetime.datetime(2025, 9, 2, 11, 22, 1), 'result': '0.05075667297020664', 'result_long': None, 'result_double': None}] Qualite : 0.05075667297020664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26307883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307883_02-09-2025_11_22_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26307883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307883_02-09-2025_11_22_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26307904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26307905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26307906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26307907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26307908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26307909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26307910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26307912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26307913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26307914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26307915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26307916, 'pht': 3726}}" where mtr_portfolio_id = 26307883 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26307883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467817, 0.05075667297020664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26307883_02-09-2025_11_22_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26307904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26307905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26307906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26307907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26307908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26307909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26307910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26307912, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26307913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26307914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26307915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26307916, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26308297 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651252, 'mtr_portfolio_id': 26308297, 'created_at': datetime.datetime(2025, 9, 2, 11, 21, 31), 'result': '0.03761849073399771', 'result_long': None, 'result_double': None}] Qualite : 0.03761849073399771 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26308297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308297_02-09-2025_11_21_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26308297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308297_02-09-2025_11_21_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26308364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26308365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26308366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26308367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26308368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26308369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26308370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26308371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26308372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26308373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26308374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26308375, 'pht': 3726}}" where mtr_portfolio_id = 26308297 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26308297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467818, 0.03761849073399771, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308297_02-09-2025_11_21_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26308364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26308365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26308366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26308367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26308368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26308369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26308370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26308371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26308372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26308373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26308374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26308375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26308853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651253, 'mtr_portfolio_id': 26308853, 'created_at': datetime.datetime(2025, 9, 2, 11, 20, 29), 'result': '0.04508637007895848', 'result_long': None, 'result_double': None}] Qualite : 0.04508637007895848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26308853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308853_02-09-2025_11_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26308853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308853_02-09-2025_11_20_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26308859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26308860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26308861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26308862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26308863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26308864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26308865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26308866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26308867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26308868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26308869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26308870, 'pht': 3726}}" where mtr_portfolio_id = 26308853 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26308853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467819, 0.04508637007895848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26308853_02-09-2025_11_20_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26308859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26308860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26308861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26308862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26308863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26308864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26308865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26308866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26308867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26308868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26308869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26308870, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26309276 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651254, 'mtr_portfolio_id': 26309276, 'created_at': datetime.datetime(2025, 9, 2, 11, 19, 58), 'result': '0.03376908152587129', 'result_long': None, 'result_double': None}] Qualite : 0.03376908152587129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26309276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309276_02-09-2025_11_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26309276 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309276_02-09-2025_11_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309316, 'pht': 3726}}" where mtr_portfolio_id = 26309276 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26309276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467820, 0.03376908152587129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309276_02-09-2025_11_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26309619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651255, 'mtr_portfolio_id': 26309619, 'created_at': datetime.datetime(2025, 9, 2, 11, 19, 30), 'result': '0.03852475825390913', 'result_long': None, 'result_double': None}] Qualite : 0.03852475825390913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26309619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309619_02-09-2025_11_19_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26309619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309619_02-09-2025_11_19_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309656, 'pht': 3726}}" where mtr_portfolio_id = 26309619 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26309619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467821, 0.03852475825390913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309619_02-09-2025_11_19_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26309935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651256, 'mtr_portfolio_id': 26309935, 'created_at': datetime.datetime(2025, 9, 2, 11, 17, 58), 'result': '0.037305111333676054', 'result_long': None, 'result_double': None}] Qualite : 0.037305111333676054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26309935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309935_02-09-2025_11_18_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26309935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309935_02-09-2025_11_18_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309956, 'pht': 3726}}" where mtr_portfolio_id = 26309935 and dashboard_run_id = 2207279 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26309935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14467822, 0.037305111333676054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26309935_02-09-2025_11_18_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26309945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26309946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26309947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26309948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26309949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26309950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26309951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26309952, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26309953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26309954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26309955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26309956, '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 (26278273,26278641,26279136,26279558,26280345,26280472,26280603,26281009,26281324,26281574,26281768,26282113,26282316,26282469,26282674,26283621,26283647,26283773,26285809,26286078,26286445,26286907,26287442,26294658,26294570,26294896,26295366,26295938,26296306,26296662,26297085,26297345,26297973,26298141,26298526,26299932,26300371,26300708,26301188,26301709,26302205,26302724,26303129,26303614,26304061,26304498,26305771,26306021,26306336,26306898,26307342,26307883,26308297,26308853,26309276,26309619,26309935) result : ((1379766965,), (1379766967,), (1379766969,), (1379767364,), (1379767366,), (1379767368,), (1379767370,), (1379767372,), (1379768917,), (1379768919,), (1379768921,), (1379769664,), (1379769667,), (1379770167,), (1379770168,), (1379770169,), (1379770170,), (1379770347,), (1379770348,), (1379770349,), (1379770350,), (1379770351,), (1379770472,), (1379770473,), (1379770474,), (1379770588,), (1379770589,), (1379770590,), (1379770591,), (1379770592,), (1379770593,), (1379770695,), (1379770697,), (1379770700,), (1379770702,), (1379771128,), (1379771120,), (1379771122,), (1379771124,), (1379771126,), (1379771242,), (1379771243,), (1379771244,), (1379771245,), (1379771438,), (1379771439,), (1379771440,), (1379771441,), (1379771442,), (1379771443,), (1379771497,), (1379771498,), (1379771499,), (1379771500,), (1379771501,), (1379771502,), (1379771696,), (1379771698,), (1379771700,), (1379771702,), (1379771704,), (1379772310,), (1379772316,), (1379773148,), (1379773150,), (1379773152,), (1379773507,), (1379773512,), (1379773516,), (1379773520,), (1379773871,), (1379773872,), (1379773936,), (1379773937,), (1379773938,), (1379773939,), (1379773959,), (1379773960,), (1379773961,), (1379773962,), (1379773963,), (1379773964,), (1379774080,), (1379774178,), (1379774180,), (1379774182,), (1379774184,), (1379774186,), (1379774563,), (1379774565,), (1379774567,), (1379774962,), (1379774964,), (1379774966,), (1379774968,), (1379775113,), (1379775114,), (1379775115,), (1379775331,), (1379775321,), (1379775323,), (1379775325,), (1379775327,), (1379775329,), (1379775687,), (1379775689,), (1379776100,), (1379776102,), (1379776104,), (1379776106,), (1379776108,), (1379776327,), (1379776328,), (1379776329,), (1379776330,), (1379776331,), (1379776332,), (1379776520,), (1379776522,), (1379776524,), (1379776526,), (1379776702,), (1379776705,), (1379776706,), (1379776707,), (1379776731,), (1379776732,), (1379776733,), (1379776734,), (1379776735,), (1379776770,), (1379776771,), (1379776772,), (1379776773,), (1379776774,), (1379776775,), (1379776980,), (1379776981,), (1379776983,), (1379777370,), (1379777372,), (1379777374,), (1379777376,), (1379777726,), (1379777727,), (1379777920,), (1379777922,), (1379777958,), (1379777959,), (1379777960,), (1379777972,), (1379777973,), (1379777995,), (1379777996,), (1379778019,), (1379778018,), (1379778037,), (1379778038,), (1379778066,), (1379778067,), (1379778068,), (1379778069,), (1379778070,), (1379778151,), (1379778152,), (1379778153,), (1379778154,), (1379778155,), (1379778306,), (1379778336,), (1379778337,), (1379778338,), (1379778339,), (1379778340,), (1379778363,), (1379778364,), (1379778365,), (1379778433,), (1379778434,), (1379778435,), (1379778437,), (1379782480,), (1379782499,), (1379782468,), (1379782479,), (1379782494,), (1379782495,), (1379782496,), (1379782498,), (1379782512,), (1379782513,), (1379782514,), (1379782530,), (1379782531,), (1379782532,), (1379782533,), (1379782534,), (1379782553,), (1379782554,), (1379782555,), (1379782622,), (1379782623,), (1379782624,), (1379782625,), (1379782626,), (1379782627,), (1379782639,), (1379782640,), (1379782641,), (1379782642,), (1379782643,), (1379782660,), (1379782661,), (1379782663,), (1379782664,), (1379782665,), (1379782703,), (1379782704,), (1379782705,), (1379782706,), (1379782744,), (1379782745,), (1379782746,), (1379782747,), (1379782748,), (1379782776,), (1379782777,), (1379782778,), (1379782779,), (1379782780,), (1379782789,), (1379782790,), (1379782791,), (1379782792,), (1379782805,), (1379782806,), (1379782807,), (1379782808,), (1379782809,), (1379782823,), (1379782855,), (1379782856,), (1379782946,), (1379782942,), (1379782944,), (1379782945,), (1379782989,), (1379782990,), (1379783003,), (1379783004,), (1379783005,), (1379783007,), (1379783026,), (1379783027,), (1379783028,), (1379783029,), (1379783030,), (1379783048,), (1379783049,), (1379783050,), (1379783051,), (1379783072,), (1379783073,), (1379783074,), (1379783075,), (1379783092,), (1379783093,), (1379783094,), (1379783107,), (1379783108,), (1379783109,), (1379783122,), (1379783123,), (1379783124,), (1379783125,), (1379783126,), (1379783127,), (1379783145,), (1379783146,), (1379783147,), (1379783148,), (1379783149,), (1379783165,), (1379783166,), (1379783167,), (1379783168,), (1379783169,), (1379783207,), (1379783208,), (1379783249,), (1379783250,), (1379783251,), (1379783252,), (1379783253,), (1379783285,), (1379783286,), (1379783287,), (1379783288,), (1379783289,), (1379783290,), (1379783293,), (1379783294,), (1379783295,), (1379783296,), (1379783330,), (1379783328,), (1379783329,), (1379783370,), (1379783371,), (1379783372,), (1379783373,), (1379783444,), (1379783445,), (1379783446,), (1379783447,), (1379783681,), (1379783683,), (1379783685,), (1379783687,), (1379784363,), (1379784366,), (1379784369,), (1379784372,), (1379784375,), (1379784815,), (1379784816,), (1379784817,), (1379784954,), (1379784955,), (1379784957,), (1379784959,), (1379784963,), (1379785115,), (1379785117,), (1379785119,), (1379785121,), (1379785123,), (1379785520,), (1379785522,), (1379785524,), (1379785526,), (1379785528,), (1379786017,), (1379786020,), (1379786023,), (1379786026,), (1379786636,), (1379786638,), (1379786640,), (1379786642,), (1379786644,), (1379786891,), (1379786893,), (1379786895,), (1379786897,), (1379787169,), (1379787170,), (1379787172,), (1379787174,), (1379787176,), (1379787178,), (1379787582,), (1379787583,), (1379787584,), (1379787585,), (1379787586,), (1379787815,), (1379787816,), (1379787817,), (1379787819,), (1379787847,), (1379787848,), (1379787849,), (1379787858,), (1379787859,), (1379787844,), (1379787845,), (1379787846,), (1379787917,), (1379787918,), (1379787919,), (1379787920,), (1379787921,), (1379788147,), (1379788149,), (1379788151,), (1379788153,), (1379788526,), (1379788528,), (1379788530,), (1379788532,), (1379788534,), (1379788536,), (1379788876,), (1379788877,), (1379788878,), (1379788879,), (1379789083,), (1379789084,), (1379789221,), (1379789222,), (1379789223,), (1379789293,), (1379789294,), (1379789295,), (1379789296,), (1379789313,), (1379789314,), (1379789315,), (1379789316,), (1379789317,), (1379789327,), (1379789328,), (1379789349,), (1379789351,), (1379789352,), (1379789353,), (1379789354,), (1379789368,), (1379789369,), (1379789370,), (1379789371,), (1379789394,), (1379789395,), (1379789396,), (1379789397,), (1379789398,), (1379789399,), (1379789424,), (1379789425,), (1379789426,), (1379789427,), (1379789453,), (1379789454,), (1379789455,), (1379789456,), (1379789499,), (1379789495,), (1379789496,), (1379789497,), (1379789498,), (1379789539,), (1379789540,), (1379789541,), (1379789542,), (1379789543,), (1379789544,), (1379789554,), (1379789555,), (1379789556,), (1379789557,), (1379789618,), (1379789619,), (1379789620,), (1379789621,), (1379789622,), (1379789635,), (1379789636,), (1379789637,), (1379789638,), (1379789639,), (1379789655,), (1379789656,), (1379789657,), (1379789658,), (1379789756,), (1379789757,), (1379789758,), (1379789760,), (1379789795,), (1379789796,), (1379789797,), (1379789822,), (1379789823,), (1379789824,), (1379789844,), (1379789845,), (1379789871,), (1379789872,), (1379789890,), (1379789891,), (1379789908,), (1379789909,), (1379789910,), (1379789911,), (1379789928,), (1379789929,), (1379789943,), (1379789944,), (1379789945,), (1379789946,), (1379789947,), (1379789971,), (1379789968,), (1379789969,), (1379789970,), (1379789986,), (1379789987,), (1379789988,), (1379789999,), (1379790014,), (1379790015,), (1379790016,), (1379790080,), (1379790081,), (1379790082,), (1379790083,), (1379790130,), (1379790131,), (1379790132,), (1379790133,), (1379790134,), (1379790228,), (1379790229,), (1379790230,), (1379790231,), (1379790232,), (1379790233,), (1379790246,), (1379790250,), (1379790251,), (1379790252,), (1379790253,), (1379790267,), (1379790268,), (1379790284,), (1379790285,), (1379790286,), (1379790287,), (1379790288,), (1379790289,), (1379790307,), (1379790308,), (1379790309,), (1379790310,), (1379790321,), (1379790322,), (1379790323,), (1379790545,), (1379790547,), (1379790549,), (1379791015,), (1379791016,), (1379791018,), (1379791020,), (1379791028,), (1379791029,), (1379791030,), (1379791031,), (1379791289,), (1379791282,), (1379791285,), (1379791287,), (1379791639,), (1379791640,), (1379791641,), (1379791642,), (1379791643,), (1379791832,), (1379791916,), (1379791917,), (1379791918,), (1379791938,), (1379792262,), (1379792653,), (1379792655,), (1379792657,), (1379792659,), (1379792879,), (1379792880,), (1379792881,), (1379792882,), (1379792883,), (1379792884,), (1379793073,), (1379793074,), (1379793075,), (1379793090,), (1379793170,), (1379793171,), (1379793185,), (1379793186,), (1379793187,), (1379793188,), (1379793206,), (1379793207,), (1379793208,), (1379793210,), (1379793231,), (1379793227,), (1379793228,), (1379793229,), (1379793230,), (1379793245,), (1379793246,), (1379793263,), (1379793264,), (1379793280,), (1379793281,), (1379793282,), (1379793283,), (1379793302,), (1379793303,), (1379793304,), (1379793305,), (1379793334,), (1379793335,), (1379793336,), (1379793337,), (1379793380,), (1379793381,), (1379793382,), (1379793383,), (1379793400,), (1379793401,), (1379793402,), (1379793444,), (1379793445,), (1379793446,), (1379793447,), (1379793530,), (1379793531,), (1379793532,), (1379793557,), (1379793558,), (1379793559,), (1379793576,), (1379793577,), (1379793578,), (1379793596,), (1379793597,), (1379793598,), (1379793599,), (1379793618,), (1379793619,), (1379793620,), (1379793691,), (1379793692,), (1379793694,), (1379793788,), (1379793783,), (1379793784,), (1379793785,), (1379793786,), (1379793787,), (1379793803,), (1379793804,), (1379793805,), (1379793862,), (1379793863,), (1379793864,), (1379793875,), (1379793876,), (1379793877,), (1379793878,), (1379793879,), (1379793888,), (1379793889,), (1379793890,), (1379793891,), (1379793912,), (1379793913,), (1379793914,), (1379793915,), (1379793916,), (1379793930,), (1379793931,), (1379793932,), (1379793933,), (1379793986,), (1379793987,), (1379793988,), (1379794005,), (1379794006,), (1379794007,), (1379794008,), (1379794009,), (1379794031,), (1379794032,), (1379794033,), (1379794034,), (1379794035,), (1379794036,), (1379794058,), (1379794059,), (1379794060,), (1379794079,), (1379794080,), (1379794081,), (1379794082,), (1379794138,), (1379794139,), (1379794140,), (1379794163,), (1379794164,), (1379794165,), (1379794166,), (1379794180,), (1379794181,), (1379794182,), (1379794183,), (1379794185,), (1379794203,), (1379794197,), (1379794198,), (1379794199,), (1379794201,), (1379794202,), (1379794222,), (1379794223,), (1379794224,), (1379794225,), (1379794226,), (1379794288,), (1379794289,), (1379794290,), (1379794299,), (1379794300,), (1379794301,), (1379794302,), (1379794303,), (1379794325,), (1379794326,), (1379794327,), (1379794328,), (1379794329,), (1379794353,), (1379794354,), (1379794355,), (1379794379,), (1379794380,), (1379794381,), (1379794427,), (1379794428,), (1379794429,), (1379794430,), (1379794431,), (1379794448,), (1379794449,), (1379794450,), (1379794451,), (1379794471,), (1379794472,), (1379794473,), (1379794474,), (1379794475,), (1379794476,), (1379794496,), (1379794497,), (1379794498,), (1379794499,), (1379794500,), (1379794515,), (1379794516,), (1379794754,), (1379794756,), (1379794758,), (1379794760,), (1379794762,), (1379795135,), (1379795137,), (1379795139,), (1379795145,), (1379795146,), (1379795147,), (1379795193,), (1379795486,), (1379795188,), (1379795190,), (1379795191,), (1379795192,), (1379795429,), (1379795431,), (1379795433,), (1379795435,), (1379795437,), (1379795439,), (1379795484,), (1379795726,), (1379795728,), (1379795730,), (1379795732,), (1379795734,), (1379795888,), (1379795890,), (1379795891,), (1379795892,), (1379795893,), (1379795894,), (1379796127,), (1379796129,), (1379796131,), (1379796133,), (1379796135,), (1379796137,), (1379796204,), (1379796211,), (1379796212,), (1379796429,), (1379800926,), (1379800924,), (1379801603,), (1379801606,), (1379802190,), (1379802191,), (1379802192,), (1379802193,), (1379802219,), (1379802220,), (1379802274,), (1379802275,), (1379802276,), (1379802298,), (1379802299,), (1379802300,), (1379802301,), (1379802320,), (1379802321,), (1379802347,), (1379802348,), (1379802349,), (1379802350,), (1379802375,), (1379802376,), (1379802449,), (1379802448,), (1379802555,), (1379802556,), (1379802574,), (1379802575,), (1379802576,), (1379802602,), (1379802603,), (1379802604,), (1379802605,), (1379802606,), (1379802634,), (1379802635,), (1379802636,), (1379802637,), (1379802638,), (1379802715,), (1379802716,), (1379802717,), (1379802718,), (1379802719,), (1379802795,), (1379802796,), (1379802797,), (1379802798,), (1379802799,), (1379802886,), (1379802887,), (1379802888,), (1379802889,), (1379802958,), (1379802959,), (1379802960,), (1379802961,), (1379802962,), (1379802963,), (1379802983,), (1379802984,), (1379802985,), (1379802988,), (1379802991,), (1379803052,), (1379803053,), (1379803054,), (1379803089,), (1379803090,), (1379803091,), (1379803092,), (1379803093,), (1379803094,), (1379803121,), (1379803122,), (1379803123,), (1379803124,), (1379803125,), (1379803180,), (1379803181,), (1379803182,), (1379803233,), (1379803235,), (1379803236,), (1379803237,), (1379803238,), (1379803239,), (1379803329,), (1379803391,), (1379803323,), (1379803325,), (1379803326,), (1379803327,), (1379803328,), (1379803371,), (1379803372,), (1379803373,), (1379803375,), (1379803376,), (1379803377,), (1379803387,), (1379803388,), (1379803389,), (1379803390,), (1379803405,), (1379803406,), (1379803425,), (1379803426,), (1379813982,), (1379814056,), (1379814059,), (1379814060,), (1379814110,), (1379814111,), (1379814112,), (1379814113,), (1379814287,), (1379814288,), (1379814289,), (1379814290,), (1379814291,), (1379814315,), (1379814316,), (1379814317,), (1379814318,), (1379814343,), (1379814344,), (1379814345,), (1379814346,), (1379814432,), (1379814434,), (1379814436,), (1379814438,), (1379814440,), (1379814708,), (1379814709,), (1379814710,), (1379814711,), (1379814712,), (1379814791,), (1379814792,), (1379814793,), (1379814794,), (1379814822,), (1379814823,), (1379814824,), (1379814825,), (1379814826,), (1379814903,), (1379814904,), (1379814905,), (1379814906,), (1379815161,), (1379815162,), (1379815163,), (1379815164,), (1379815272,), (1379815274,), (1379815355,), (1379815356,), (1379815357,), (1379815358,), (1379815544,), (1379815546,), (1379815549,), (1379816206,), (1379816210,), (1379816214,), (1379816218,), (1379816349,), (1379816198,), (1379816202,), (1379816799,), (1379816802,), (1379816805,), (1379817226,), (1379817228,), (1379817230,), (1379817232,), (1379817272,), (1379817273,), (1379817274,), (1379817275,), (1379817276,), (1379817305,), (1379817306,), (1379817307,), (1379817308,), (1379817309,), (1379817322,), (1379817323,), (1379817324,), (1379817360,), (1379817361,), (1379817500,), (1379817502,), (1379817504,), (1379817506,), (1379817508,), (1379817876,), (1379817878,), (1379817880,), (1379817882,), (1379818080,), (1379818081,), (1379818082,), (1379818084,), (1379818086,), (1379818146,), (1379818147,), (1379818148,), (1379818149,), (1379818150,), (1379818222,), (1379818223,), (1379818532,), (1379818594,), (1379818596,), (1379818598,), (1379818783,), (1379818785,), (1379818787,), (1379818789,), (1379818791,), (1379818949,), (1379818950,), (1379818951,), (1379818952,), (1379819244,), (1379819240,), (1379819242,), (1379819617,), (1379819619,), (1379819621,), (1379819623,), (1379820242,), (1379820398,), (1379820494,), (1379820495,), (1379820496,), (1379820577,), (1379820578,), (1379820627,), (1379820660,), (1379820662,), (1379820664,), (1379820704,), (1379820705,), (1379820706,), (1379820707,), (1379820708,), (1379820727,), (1379820728,), (1379820729,), (1379820730,), (1379821248,), (1379821478,), (1379821479,), (1379821506,), (1379821507,), (1379821508,), (1379821509,), (1379821510,), (1379821554,), (1379821553,), (1379821606,), (1379821607,), (1379821629,), (1379821630,), (1379821631,), (1379821688,), (1379821689,), (1379821690,), (1379821691,), (1379822048,), (1379822050,), (1379822052,), (1379822054,), (1379822057,), (1379822382,), (1379822384,), (1379822386,), (1379822889,), (1379822892,), (1379823221,), (1379823222,), (1379823223,), (1379823224,), (1379823225,), (1379823226,), (1379823301,), (1379823302,), (1379823303,), (1379823304,), (1379823326,), (1379823327,), (1379823328,), (1379823464,), (1379823465,), (1379823466,), (1379823635,), (1379823746,), (1379823747,), (1379823787,), (1379823789,), (1379823840,), (1379823861,), (1379823862,), (1379824234,), (1379824235,), (1379824273,), (1379824299,), (1379824300,), (1379824329,), (1379824393,), (1379824422,), (1379824423,), (1379824572,), (1379824574,), (1379824576,), (1379824578,), (1379825051,), (1379825052,), (1379825080,), (1379825081,), (1379825082,), (1379825083,), (1379825310,), (1379825312,), (1379825314,), (1379825318,), (1379825321,), (1379825662,), (1379883940,), (1379883942,), (1379883944,), (1379883946,), (1379884063,), (1379884064,), (1379884065,), (1379884066,), (1379884067,), (1379884113,), (1379884114,), (1379884115,), (1379884116,), (1379884145,), (1379884146,), (1379884147,), (1379884148,), (1379884149,), (1379884182,), (1379884183,), (1379884184,), (1379884185,), (1379884186,), (1379884187,), (1379884236,), (1379884237,), (1379884238,), (1379884239,), (1379884328,), (1379884333,), (1379884337,), (1379884341,), (1379884440,), (1379884441,), (1379884442,), (1379884443,), (1379884444,), (1379884742,), (1379884744,), (1379884746,), (1379885026,), (1379885027,), (1379885066,), (1379885068,), (1379885070,), (1379885072,), (1379885467,), (1379885468,), (1379885469,), (1379885470,), (1379885471,), (1379886182,), (1379886184,), (1379886188,), (1379886193,), (1379886197,), (1379886637,), (1379883011,), (1379883345,), (1379883346,), (1379883347,), (1379883348,), (1379883349,), (1379883423,), (1379883424,), (1379883425,), (1379883426,), (1379883427,), (1379883461,), (1379883462,), (1379883464,), (1379883545,), (1379883546,), (1379883547,), (1379883606,), (1379883607,), (1379883608,), (1379883609,), (1379883610,), (1379883611,), (1379883651,), (1379883652,), (1379883653,), (1379883654,), (1379883655,), (1379883656,), (1379883695,), (1379883696,), (1379883948,), (1379886628,), (1379886630,), (1379886632,), (1379886634,), (1379887087,), (1379887088,), (1379887089,), (1379887090,), (1379887091,), (1379887092,), (1379887350,), (1379887351,), (1379887353,), (1379887354,), (1379887355,), (1379887398,), (1379887399,), (1379887400,), (1379887626,), (1379887628,), (1379887631,), (1379887634,), (1379887637,), (1379888244,), (1379888247,), (1379888250,), (1379888253,), (1379888256,), (1379888259,), (1379888555,), (1379888556,), (1379888557,), (1379888558,), (1379888559,), (1379888560,), (1379888584,), (1379889522,), (1379889524,), (1379889673,), (1379889674,), (1379889675,), (1379889731,), (1379889732,), (1379889733,), (1379889734,), (1379889802,), (1379889804,), (1379889806,), (1379890136,), (1379890153,), (1379890154,), (1379890155,), (1379890156,), (1379890283,), (1379890281,), (1379890282,), (1379890426,), (1379890427,), (1379890428,), (1379890431,), (1379890762,), (1379890763,), (1379890764,), (1379891057,), (1379891058,), (1379891059,), (1379891104,), (1379891105,), (1379891106,), (1379891529,), (1379891532,), (1379891535,), (1379891538,), (1379891541,), (1379891854,), (1379891855,), (1379891856,), (1379891857,), (1379891979,), (1379891981,), (1379891983,), (1379891985,), (1379891987,), (1379892128,), (1379892129,), (1379892191,), (1379892192,), (1379892193,), (1379892194,), (1379892195,), (1379892196,), (1379892556,), (1379892559,), (1379892562,), (1379892565,), (1379892568,), (1379892571,), (1379892927,), (1379892928,), (1379892929,), (1379893067,), (1379893068,), (1379893069,), (1379893070,), (1379893071,), (1379893202,), (1379893203,), (1379893204,), (1379893205,), (1379893289,), (1379893291,), (1379893293,), (1379893295,), (1379893723,), (1379893711,), (1379893714,), (1379893717,), (1379893720,), (1379893960,), (1379893962,), (1379893964,), (1379893966,), (1379894382,), (1379894383,), (1379894384,), (1379894385,), (1379894421,), (1379894448,), (1379894449,), (1379894450,), (1379894451,), (1379894695,), (1379894864,), (1379894865,), (1379894866,), (1379894867,), (1379894868,), (1379894869,), (1379894927,), (1379894928,), (1379894929,), (1379894930,), (1379894931,), (1379894932,), (1379894972,), (1379894973,), (1379894974,), (1379895015,), (1379895016,), (1379895017,), (1379895018,), (1379895019,), (1379895140,), (1379895142,), (1379895144,), (1379895146,), (1379895503,), (1379895504,), (1379895505,), (1379895506,), (1379895507,), (1379895677,), (1379895678,), (1379895679,), (1379895680,), (1379895712,), (1379895713,), (1379895714,), (1379895715,), (1379895809,), (1379895810,), (1379895811,), (1379896262,), (1379896258,), (1379896260,), (1379896689,), (1379896690,), (1379896934,), (1379896935,), (1379897435,), (1379897437,), (1379897439,), (1379897441,), (1379897697,), (1379897698,), (1379897699,), (1379897792,), (1379897793,), (1379897987,), (1379897988,), (1379897989,), (1379897990,), (1379897992,), (1379897993,), (1379898156,), (1379898157,), (1379898158,), (1379898159,), (1379898160,), (1379898364,), (1379898365,), (1379898366,), (1379898406,), (1379898407,), (1379898408,), (1379898409,), (1379899061,), (1379899062,), (1379899064,), (1379899067,), (1379899073,), (1379899074,), (1379899075,), (1379899302,), (1379899298,), (1379899299,), (1379899300,), (1379899301,), (1379899371,), (1379899372,), (1379899374,), (1379899376,), (1379899802,), (1379899804,), (1379900995,), (1379901151,), (1379901152,), (1379901267,), (1379901268,), (1379901305,), (1379901306,), (1379901350,), (1379901351,), (1379901401,), (1379901443,), (1379901444,), (1379901445,), (1379902286,), (1379902285,), (1379902328,), (1379902329,), (1379902330,), (1379902448,), (1379902449,), (1379902495,), (1379902496,), (1379902497,), (1379902498,), (1379902499,), (1379902500,), (1379902533,), (1379902534,), (1379902535,), (1379902536,), (1379902582,), (1379902583,), (1379902639,), (1379902640,), (1379902641,), (1379902642,), (1379902830,), (1379902832,), (1379902834,), (1379902836,), (1379902838,), (1379902839,), (1379902854,), (1379902855,), (1379902856,), (1379902857,), (1379902858,), (1379902952,), (1379902953,), (1379902954,), (1379902955,), (1379902982,), (1379902983,), (1379902984,), (1379902985,), (1379902986,), (1379902987,), (1379903159,), (1379903161,), (1379903163,), (1379903165,), (1379903167,), (1379903169,), (1379903236,), (1379903237,), (1379903238,), (1379903239,), (1379903266,), (1379903267,), (1379903268,), (1379903269,), (1379903270,), (1379903271,), (1379903321,), (1379903317,), (1379903318,), (1379903319,), (1379903320,), (1379903344,), (1379903345,), (1379903346,), (1379903347,), (1379903424,), (1379903425,), (1379903426,), (1379903427,), (1379903428,), (1379903455,), (1379903456,), (1379903457,), (1379903458,), (1379903484,), (1379903485,), (1379903486,), (1379903749,), (1379903750,), (1379903751,), (1379903752,), (1379903753,), (1379903872,), (1379903873,), (1379903874,), (1379903875,), (1379903934,), (1379903935,), (1379903936,), (1379903937,), (1379903938,), (1379904274,), (1379904276,), (1379904278,), (1379904280,), (1379904282,), (1379904451,), (1379904453,), (1379904455,), (1379904457,), (1379904459,), (1379904461,), (1379904816,), (1379904817,), (1379904818,), (1379904819,), (1379904914,), (1379904915,), (1379904916,), (1379905237,), (1379905303,), (1379905264,), (1379906396,), (1379906663,), (1379906738,), (1379906739,), (1379906761,), (1379906762,), (1379906763,), (1379906764,), (1379906765,), (1379906766,), (1379906793,), (1379906794,), (1379906847,), (1379906848,), (1379906849,), (1379906850,), (1379907203,), (1379907205,), (1379907207,), (1379907209,), (1379907213,), (1379907282,), (1379907284,), (1379907286,), (1379908013,), (1379907998,), (1379908001,), (1379908004,), (1379908007,), (1379908010,), (1379908422,), (1379908424,), (1379908426,), (1379908429,), (1379908623,), (1379908624,), (1379908625,), (1379908626,), (1379908627,), (1379908628,), (1379908660,), (1379908661,), (1379908662,), (1379908663,), (1379908664,), (1379908665,), (1379908784,), (1379908785,), (1379908786,), (1379908787,), (1379909076,), (1379909078,), (1379909080,), (1379909082,), (1379909084,), (1379909086,), (1379909470,), (1379909472,), (1379909474,), (1379909476,), (1379909996,), (1379909999,), (1379910003,), (1379910006,), (1379910008,), (1379910010,), (1379910201,), (1379910202,), (1379910203,), (1379910204,), (1379910205,), (1379910493,), (1379910495,), (1379910497,), (1379910500,), (1379910621,), (1379910622,), (1379910623,), (1379910624,), (1379910625,), (1379910656,), (1379910657,), (1379910658,), (1379910659,), (1379910660,), (1379910700,), (1379910701,), (1379910703,), (1379910704,), (1379910705,), (1379910935,), (1379910937,), (1379910939,), (1379911509,), (1379911512,), (1379911515,), (1379911518,), (1379911521,), (1379911524,), (1379911838,), (1379911830,), (1379911832,), (1379911834,), (1379911836,), (1379912168,), (1379912170,), (1379912172,), (1379912174,), (1379912177,), (1379912179,), (1379912413,), (1379912415,), (1379912417,), (1379912420,), (1379912455,), (1379912457,), (1379912459,), (1379912461,), (1379912785,), (1379912788,), (1379912791,), (1379912793,), (1379912795,), (1379913149,), (1379913151,), (1379913153,), (1379913545,), (1379913547,), (1379913549,), (1379913551,), (1379913554,), (1379913556,), (1379913864,), (1379913865,), (1379913866,), (1379913867,), (1379913868,), (1379913869,), (1379914307,), (1379914309,), (1379914310,), (1379914597,), (1379914599,), (1379914601,), (1379914603,), (1379914605,), (1379914607,), (1379914743,), (1379914746,), (1379914748,), (1379914750,), (1379914752,), (1379915199,), (1379915200,), (1379915201,), (1379915202,), (1379915310,), (1379915311,), (1379915312,), (1379915313,), (1379922130,), (1379922273,), (1379922275,), (1379922277,), (1379922279,), (1379922281,), (1379922283,), (1379922714,), (1379922716,), (1379922718,), (1379922720,), (1379922722,), (1379923224,), (1379923227,), (1379923230,), (1379923233,), (1379923236,), (1379923709,), (1379923711,), (1379923713,), (1379923715,), (1379924136,), (1379924139,), (1379924142,), (1379924145,), (1379924148,), (1379924289,), (1379924291,), (1379924292,), (1379924293,), (1379924354,), (1379924355,), (1379924356,), (1379924357,), (1379924358,), (1379924359,), (1379924765,), (1379924767,), (1379924769,), (1379925194,), (1379925196,), (1379925198,), (1379925200,), (1379925202,), (1379925204,), (1379925652,), (1379925654,), (1379925656,), (1379925658,), (1379925660,), (1379925885,), (1379925886,), (1379925887,), (1379926013,), (1379926014,), (1379926015,), (1379926016,), (1379926058,), (1379926059,), (1379926060,), (1379926061,), (1379926062,), (1379926063,), (1379926148,), (1379926149,), (1379926150,), (1379926151,), (1379926152,), (1379926187,), (1379926182,), (1379926183,), (1379926184,), (1379926185,), (1379926186,), (1379926230,), (1379926231,), (1379926232,), (1379926233,), (1379926466,), (1379926469,), (1379926472,), (1379926475,), (1379926478,), (1379926481,), (1379926743,), (1379926744,), (1379926745,), (1379926746,), (1379926747,), (1379926748,), (1379926885,), (1379926886,), (1379926887,), (1379926888,), (1379926920,), (1379926921,), (1379926922,), (1379926923,), (1379926955,), (1379926956,), (1379926957,), (1379926958,), (1379926959,), (1379926960,), (1379927359,), (1379927361,), (1379927363,), (1379927365,), (1379927367,), (1379927369,), (1379927430,), (1379927431,), (1379927432,), (1379927433,), (1379927434,), (1379927462,), (1379927463,), (1379927464,), (1379927465,), (1379927466,), (1379927467,), (1379927504,), (1379927506,), (1379927508,), (1379927510,), (1379927770,), (1379927772,), (1379927773,), (1379927774,), (1379927775,), (1379927777,), (1379927783,), (1379927784,), (1379927786,), (1379927838,), (1379927839,), (1379927840,), (1379927841,), (1379927842,), (1379927863,), (1379927864,), (1379927865,), (1379927866,), (1379927867,), (1379927868,), (1379927888,), (1379927889,), (1379927891,), (1379927892,), (1379927893,), (1379927894,), (1379927934,), (1379927931,), (1379927932,), (1379927933,), (1379927959,), (1379927960,), (1379927961,), (1379927962,), (1379928044,), (1379928045,), (1379928046,), (1379928047,), (1379928048,), (1379928049,), (1379928113,), (1379928115,), (1379928116,), (1379928117,), (1379928142,), (1379928143,), (1379928144,), (1379928145,), (1379928247,), (1379928316,), (1379928318,), (1379928320,), (1379928322,), (1379928688,), (1379928691,), (1379928694,), (1379928697,), (1379928700,), (1379929062,), (1379929064,), (1379929067,), (1379929069,), (1379929241,), (1379929242,), (1379929243,), (1379929244,), (1379929245,), (1379929246,), (1379929274,), (1379929275,), (1379929276,), (1379929277,), (1379929418,), (1379929419,), (1379929420,), (1379929422,), (1379929424,), (1379929426,), (1379929692,), (1379929694,), (1379929696,), (1379929698,), (1379929968,), (1379929969,), (1379929970,), (1379929971,), (1379929972,), (1379929973,), (1379930076,), (1379930077,), (1379930078,), (1379930079,), (1379930080,), (1379930081,), (1379930493,), (1379930495,), (1379930498,), (1379930500,), (1379930502,), (1379931017,), (1379931012,), (1379931013,), (1379931014,), (1379931015,), (1379931016,), (1379931114,), (1379931116,), (1379931118,), (1379931120,), (1379931122,), (1379931473,), (1379931474,), (1379931475,), (1379931477,), (1379931478,), (1379931507,), (1379931508,), (1379931509,), (1379931510,), (1379931511,), (1379931611,), (1379931612,), (1379931613,), (1379931752,), (1379931753,), (1379931754,), (1379931755,), (1379931756,), (1379931757,), (1379931798,), (1379931800,), (1379931802,), (1379931804,), (1379931806,), (1379931808,), (1379932085,), (1379932087,), (1379932089,), (1379932091,), (1379932508,), (1379932635,), (1379932639,), (1379932642,), (1379932645,), (1379932648,), (1379932851,), (1379932852,), (1379932853,), (1379932854,), (1379932881,), (1379932882,), (1379932883,), (1379932884,), (1379932885,), (1379932886,), (1379932908,), (1379932909,), (1379932910,), (1379932911,), (1379932912,), (1379933341,), (1379933653,), (1379933656,), (1379933659,), (1379933663,), (1379933774,), (1379933777,), (1379933780,), (1379933783,), (1379934369,), (1379934357,), (1379934360,), (1379934363,), (1379934366,), (1379934983,), (1379934984,), (1379934985,), (1379934986,), (1379934987,), (1379934988,), (1379935306,), (1379935308,), (1379935310,), (1379935312,), (1379935314,), (1379935911,), (1379936506,), (1379936508,), (1379936510,), (1379936946,), (1379936949,), (1379936952,), (1379936955,), (1379936958,), (1379936961,), (1379937295,), (1379937297,), (1379937299,), (1379937301,), (1379937303,), (1379937305,), (1379937369,), (1379937370,), (1379937497,), (1379937499,), (1379937501,), (1379937503,), (1379937610,), (1379937612,), (1379937614,), (1379937615,), (1379937696,), (1379937698,), (1379937700,), (1379937702,), (1379937704,), (1379937823,), (1379937824,), (1379937825,), (1379937915,), (1379937916,), (1379937917,), (1379937919,), (1379938044,), (1379938040,), (1379938042,), (1379938279,), (1379938281,), (1379938283,), (1379938285,), (1379938287,), (1379938289,), (1379938516,), (1379938517,), (1379938518,), (1379938519,), (1379938602,), (1379938603,), (1379938604,), (1379938605,), (1379938606,), (1379938715,), (1379938717,), (1379938719,), (1379938721,), (1379938724,), (1379938908,), (1379938910,), (1379938912,), (1379938914,), (1379938916,), (1379939067,), (1379939318,), (1379939320,), (1379939322,), (1379939412,), (1379939413,), (1379939414,), (1379939544,), (1379939545,), (1379939546,), (1379939689,), (1379939690,), (1379939691,), (1379939692,), (1379939832,), (1379939833,), (1379939834,), (1379939907,), (1379939908,), (1379939909,), (1379939910,), (1379939911,), (1379940123,), (1379940124,), (1379940126,), (1379940127,), (1379940375,), (1379940373,), (1379940374,), (1379940403,), (1379940404,), (1379940405,), (1379940647,), (1379940648,), (1379940649,), (1379940650,), (1379940652,), (1379940754,), (1379940755,), (1379940756,), (1379940757,), (1379940782,), (1379941000,), (1379941001,), (1379941193,), (1379941194,), (1379941195,), (1379941196,), (1379941258,), (1379941259,), (1379941260,), (1379941261,), (1379941378,), (1379941380,), (1379941382,), (1379941384,), (1379941386,), (1379941435,), (1379941436,), (1379941437,), (1379941438,), (1379941439,), (1379941440,), (1379941538,), (1379941540,), (1379941542,), (1379941544,), (1379941766,), (1379941768,), (1379941770,), (1379941771,), (1379941772,), (1379941773,), (1379941819,), (1379941820,), (1379941821,), (1379941822,), (1379941919,), (1379941921,), (1379941923,), (1379941925,), (1379941927,), (1379941929,), (1379942119,), (1379942120,), (1379942121,), (1379942122,), (1379942123,), (1379942124,), (1379942294,), (1379942292,), (1379942293,), (1379942395,), (1379942396,), (1379942397,), (1379942398,), (1379942399,), (1379942400,), (1379942554,), (1379942555,), (1379942556,), (1379942557,), (1379942558,), (1379942867,), (1379942869,), (1379942871,), (1379942873,), (1379943043,), (1379943045,), (1379943047,), (1379943049,), (1379943448,), (1379943449,), (1379943450,), (1379943451,), (1379943452,), (1379943453,), (1379943765,), (1379943766,), (1379943767,), (1379943768,), (1379943946,), (1379943947,), (1379943948,), (1379943949,), (1379943950,), (1379943951,), (1379944511,), (1379944515,), (1379944518,), (1379944521,), (1379944708,), (1379944710,), (1379944712,), (1379944714,), (1379944716,), (1379944718,), (1379944797,), (1379944798,), (1379944799,), (1379944800,), (1379944802,), (1379944803,), (1379944831,), (1379944832,), (1379944833,), (1379944860,), (1379944865,), (1379944866,), (1379944867,), (1379944868,), (1379944869,), (1379944904,), (1379944905,), (1379944906,), (1379944910,), (1379944913,), (1379944972,), (1379944974,), (1379944976,), (1379945395,), (1379945384,), (1379945386,), (1379945389,), (1379945391,), (1379945393,), (1379945634,), (1379945635,), (1379945636,), (1379945637,), (1379945638,), (1379945852,), (1379945853,), (1379945854,), (1379945882,), (1379945883,), (1379945884,), (1379945885,), (1379945886,), (1379945946,), (1379945947,), (1379945948,), (1379945949,), (1379945950,), (1379946346,), (1379946348,), (1379946350,), (1379946352,), (1379946843,), (1379946947,), (1379946950,), (1379946953,), (1379946958,), (1379947452,), (1379947453,), (1379947454,), (1379948037,), (1379948039,), (1379948041,), (1379948043,), (1379948045,), (1379948422,), (1379948424,), (1379948426,), (1379948663,), (1379948664,), (1379948665,), (1379948666,), (1379948904,), (1379948906,), (1379948908,), (1379948910,), (1379948912,), (1379948914,), (1379949206,), (1379949207,), (1379949208,), (1379949209,), (1379949210,), (1379949349,), (1379949566,), (1379949567,), (1379949568,), (1379949569,), (1379949570,), (1379949571,), (1379949600,), (1379949597,), (1379949598,), (1379949599,), (1379949640,), (1379949642,), (1379949644,), (1379949646,), (1379949776,), (1379949777,), (1379949779,), (1379950018,), (1379950020,), (1379950022,), (1379950023,), (1379950024,), (1379950257,), (1379950259,), (1379950261,), (1379950263,), (1379950571,), (1379950572,), (1379950573,), (1379950574,), (1379950907,), (1379950908,), (1379950909,), (1379950910,), (1379950989,), (1379950990,), (1379950991,), (1379951043,), (1379951044,), (1379951045,), (1379951065,), (1379951066,), (1379951067,), (1379951068,), (1379951069,), (1379951070,), (1379951096,), (1379951098,), (1379951100,), (1379951101,), (1379951102,), (1379951103,), (1379951139,), (1379951140,), (1379951141,), (1379951186,), (1379951188,), (1379951190,), (1379951192,), (1379951194,), (1379951327,), (1379951328,), (1379951329,), (1379951330,), (1379951331,), (1379951492,), (1379951494,), (1379951496,), (1379951498,), (1379951500,), (1379951784,), (1379951780,), (1379951781,), (1379951782,), (1379951783,), (1379951872,), (1379951873,), (1379952036,), (1379952040,), (1379952044,), (1379952048,), (1379952052,), (1379952056,), (1379952154,), (1379952155,), (1379952156,), (1379952157,), (1379952158,), (1379952267,), (1379952268,), (1379952269,), (1379952459,), (1379952460,), (1379952461,), (1379952462,), (1379952463,), (1379952558,), (1379952559,), (1379952560,), (1379952561,), (1379952583,), (1379952584,), (1379952585,), (1379952586,), (1379952608,), (1379952609,), (1379960452,), (1379960967,), (1379961053,), (1379961054,), (1379961055,), (1379961056,), (1379961057,), (1379961124,), (1379961126,), (1379961128,), (1379961130,), (1379961132,), (1379961316,), (1379961352,), (1379961533,), (1379961536,), (1379961782,), (1379961822,), (1379961823,), (1379961824,), (1379961825,), (1379961826,), (1379961967,), (1379961968,), (1379961969,), (1379961970,), (1379961971,), (1379961972,), (1379962012,), (1379962014,), (1379962016,), (1379962146,), (1379962147,), (1379962148,), (1379962149,), (1379962150,), (1379962151,), (1379962171,), (1379962173,), (1379962397,), (1379962399,), (1379962401,), (1379962403,), (1379962405,), (1379962407,), (1379962617,), (1379962619,), (1379962621,), (1379962623,), (1379962694,), (1379962695,), (1379962696,), (1379962697,), (1379962698,), (1379962831,), (1379962826,), (1379962827,), (1379962828,), (1379962829,), (1379962830,), (1379962865,), (1379962866,), (1379962867,), (1379962868,), (1379962869,), (1379962936,), (1379962937,), (1379962938,), (1379962939,), (1379962940,), (1379962941,), (1379963019,), (1379963021,), (1379963022,), (1379963023,), (1379963024,), (1379963025,), (1379963103,), (1379963105,), (1379963107,), (1379963269,), (1379963270,), (1379963271,), (1379963272,), (1379963273,), (1379963310,), (1379963311,), (1379963312,), (1379963313,), (1379963401,), (1379963402,), (1379963403,), (1379963404,), (1379963405,), (1379963622,), (1379963624,), (1379963626,), (1379963628,), (1379963630,), (1379963805,), (1379963806,), (1379963807,), (1379963808,), (1379963902,), (1379963903,), (1379963929,), (1379963930,), (1379963931,), (1379963932,), (1379963933,), (1379963934,), (1379964116,), (1379964118,), (1379964120,), (1379964122,), (1379964124,), (1379964516,), (1379964517,), (1379964518,), (1379964519,), (1379964520,), (1379964755,), (1379964757,), (1379964759,), (1379964761,), (1379964763,), (1379964911,), (1379964908,), (1379964909,), (1379964910,), (1379965013,), (1379965015,), (1379965016,), (1379965017,), (1379965207,), (1379965211,), (1379965213,), (1379965214,), (1379965215,), (1379965216,), (1379965315,), (1379965316,), (1379965317,), (1379965318,), (1379965319,), (1379965320,), (1379965420,), (1379965421,), (1379965422,), (1379965463,), (1379965464,), (1379965465,), (1379965495,), (1379965496,), (1379965497,), (1379965498,), (1379965499,), (1379965500,), (1379965687,), (1379965688,), (1379965689,), (1379965708,), (1379965709,), (1379965710,), (1379965711,), (1379965712,), (1379965754,), (1379965755,), (1379965756,), (1379965757,), (1379965758,), (1379965759,), (1379965776,), (1379965777,), (1379965778,), (1379965797,), (1379965798,), (1379965799,), (1379965800,), (1379965801,), (1379965802,), (1379965852,), (1379965853,), (1379965854,), (1379966168,), (1379966169,), (1379966170,), (1379966171,), (1379966172,), (1379966173,), (1379966179,), (1379966974,), (1379966970,), (1379966971,), (1379966972,), (1379966973,), (1379967010,), (1379967011,), (1379967012,), (1379967013,), (1379967014,), (1379967016,), (1379967046,), (1379967047,), (1379967048,), (1379967049,), (1379967050,), (1379967051,), (1379967064,), (1379967065,), (1379967066,), (1379967067,), (1379967068,), (1379967291,), (1379967293,), (1379967295,), (1379967297,), (1379967639,), (1379967640,), (1379967641,), (1379967642,), (1379967643,), (1379967644,), (1379967821,), (1379967822,), (1379967823,), (1379967824,), (1379967825,), (1379967976,), (1379967977,), (1379967978,), (1379967980,), (1379968008,), (1379968009,), (1379968010,), (1379968011,), (1379968012,), (1379968013,), (1379968161,), (1379968163,), (1379968165,), (1379968167,), (1379968546,), (1379968547,), (1379968548,), (1379968549,), (1379968550,), (1379968551,), (1379968800,), (1379968802,), (1379968804,), (1379968807,), (1379968809,), (1379968835,), (1379968836,), (1379968837,), (1379968838,), (1379968839,), (1379968880,), (1379968876,), (1379968877,), (1379968878,), (1379968879,), (1379968993,), (1379968995,), (1379968996,), (1379968997,), (1379969032,), (1379969033,), (1379969034,), (1379969035,), (1379969106,), (1379969108,), (1379969110,), (1379969112,), (1379969114,), (1379969116,), (1379969514,), (1379969516,), (1379969518,), (1379969520,), (1379969522,), (1379970018,), (1379970021,), (1379970024,), (1379970027,), (1379970030,), (1379970033,), (1379970311,), (1379970312,), (1379970313,), (1379970699,), (1379971043,), (1379971044,), (1379971045,), (1379971046,), (1379971047,), (1379971048,), (1379971251,), (1379971252,), (1379971253,), (1379971254,), (1379971255,), (1379971328,), (1379971329,), (1379971330,), (1379971470,), (1379971472,), (1379971473,), (1379971474,), (1379971475,), (1379971476,), (1379971504,), (1379971505,), (1379971506,), (1379971507,), (1379971508,), (1379971783,), (1379971779,), (1379971781,), (1379972174,), (1379972175,), (1379972176,), (1379972177,), (1379972178,), (1379972179,), (1379972377,), (1379972378,), (1379972379,), (1379972380,), (1379972402,), (1379972405,), (1379972406,), (1379972407,), (1379972408,), (1379972509,), (1379972511,), (1379972513,), (1379972515,), (1379972517,), (1379972519,), (1379972955,), (1379972957,), (1379972960,), (1379972962,), (1379972964,), (1379973352,), (1379973354,), (1379973356,), (1379973358,), (1379973360,), (1379973362,), (1379973511,), (1379973512,), (1379973513,), (1379973514,), (1379973911,), (1379973913,), (1379973915,), (1379973917,), (1379973919,), (1379974174,), (1379974176,), (1379974178,), (1379974180,), (1379974182,), (1379974184,), (1379974373,), (1379974374,), (1379974375,), (1379974376,), (1379974377,), (1379974405,), (1379974406,), (1379974407,), (1379974662,), (1379974664,), (1379974666,), (1379974668,), (1379974670,), (1379975025,), (1379975027,), (1379975029,), (1379975031,), (1379975033,), (1379975035,), (1379975177,), (1379975179,), (1379975181,), (1379975377,), (1379975374,), (1379975375,), (1379975376,), (1379975641,), (1379975643,), (1379975645,), (1379975647,), (1379975649,), (1379975651,), (1379976173,), (1379976175,), (1379976177,), (1379976179,), (1379976609,), (1379976611,), (1379976613,), (1379976615,), (1379976617,), (1379977087,), (1379977089,), (1379977091,), (1379977093,), (1379977095,), (1379977614,), (1379977616,), (1379977618,), (1379977620,), (1379977622,), (1379977624,), (1379977814,), (1379977815,), (1379977817,), (1379977818,), (1379977819,), (1379977904,), (1379977905,), (1379978286,), (1379978287,), (1379978288,), (1379978891,), (1379978895,), (1379978899,), (1379978903,), (1379979362,), (1379979364,), (1379979366,), (1379979368,), (1379979532,), (1379979534,), (1379979536,), (1379979538,), (1379979540,), (1379979542,), (1379979604,), (1379979608,), (1379979864,), (1379979865,), (1379979866,), (1379979867,), (1379979955,), (1379979956,), (1379979957,), (1379979958,), (1379979964,), (1379979966,), (1379979967,), (1379979968,), (1379980006,), (1379980004,), (1379980005,), (1379980040,), (1379980041,), (1379980042,), (1379980043,), (1379980206,), (1379980208,), (1379980210,), (1379980212,), (1379980214,), (1379980595,), (1379980597,), (1379980599,), (1379980601,), (1379980603,), (1379980605,), (1379981260,), (1379981263,), (1379982046,), (1379982050,), (1379982054,), (1379983113,), (1379983116,), (1379983120,), (1379983123,), (1379983126,), (1379983130,), (1379983278,), (1379983281,), (1379983587,), (1379983588,), (1379983589,), (1379983590,), (1379983591,), (1379983592,), (1379983993,), (1379983994,), (1379983995,), (1379984300,), (1379984302,), (1379984752,), (1379984754,), (1379984756,), (1379985189,), (1379985191,), (1379985193,), (1379985195,), (1379985197,), (1379985416,), (1379985418,), (1379985420,), (1379985716,), (1379985717,), (1379985718,), (1379985719,), (1379985742,), (1379985829,), (1379985739,), (1379985740,), (1379985741,), (1379985815,), (1379985816,), (1379985817,), (1379985818,), (1379985819,), (1379985820,), (1379985828,), (1379985846,), (1379985847,), (1379985848,), (1379985849,), (1379986143,), (1379986146,), (1379986149,), (1379986152,), (1379986348,), (1379986350,), (1379986352,), (1379986769,), (1379986771,), (1379986773,), (1379986775,), (1379986777,), (1379986779,), (1379987172,), (1379987576,), (1379987578,), (1379987748,), (1379987749,), (1379988033,), (1379988035,), (1379988037,), (1379988039,), (1379988041,), (1379988043,), (1379988429,), (1379988431,), (1379988433,), (1379988435,), (1379988808,), (1379988810,), (1379988812,), (1379989377,), (1379989379,), (1379989382,), (1379989385,), (1379989490,), (1379989491,), (1379989492,), (1379989493,), (1379989494,), (1379989495,), (1379989532,), (1379989529,), (1379989530,), (1379989531,), (1379989629,), (1379989630,), (1379989631,), (1379989632,), (1379989633,), (1379989646,), (1379989647,), (1379989648,), (1379989649,), (1379989650,), (1379989669,), (1379989670,), (1379989671,), (1379989672,), (1379989673,), (1379989674,), (1379989687,), (1379989688,), (1379989689,), (1379989690,), (1379989709,), (1379989710,), (1379989711,), (1379989712,), (1379989713,), (1379989714,), (1379989749,), (1379989750,), (1379989751,), (1379989752,), (1379989754,), (1379989755,), (1379989763,), (1379989764,), (1379989765,), (1379989766,), (1379989783,), (1379989784,), (1379989785,), (1379990046,), (1379990048,), (1379990051,), (1379990053,), (1379990055,), (1379990057,), (1379990456,), (1379990458,), (1379990460,), (1379990462,), (1379990464,), (1379990467,), (1379990920,), (1379990922,), (1379990924,), (1379991103,), (1379991105,), (1379991107,), (1379991109,), (1379991110,), (1379991111,), (1379991371,), (1379991373,), (1379991375,), (1379991377,), (1379991601,), (1379991603,), (1379991605,), (1379991607,), (1379991609,), (1379991644,), (1379991645,), (1379991682,), (1379991680,), (1379991681,), (1379991769,), (1379991771,), (1379991773,), (1379991775,), (1379991777,), (1379992155,), (1379992157,), (1379992159,), (1379992161,), (1379992163,), (1379992167,), (1379992887,), (1379992891,), (1379992894,), (1379992898,), (1379992901,), (1379993316,), (1379993318,), (1379993320,), (1379993669,), (1379993671,), (1379993673,), (1379993675,), (1379993779,), (1379993780,), (1379993781,), (1379993804,), (1379993805,), (1379993806,), (1379993807,), (1379993808,), (1379994178,), (1379994180,), (1379994182,), (1379994184,), (1379994575,), (1379994577,), (1379994579,), (1379994581,), (1379994584,), (1379994748,), (1379994749,), (1379994750,), (1379994751,), (1379995000,), (1379995002,), (1379995004,), (1379995006,), (1379995008,), (1379995010,), (1379995236,), (1379995238,), (1379995239,), (1379995240,), (1379995241,), (1379996004,), (1379996006,), (1379996007,), (1379996008,), (1379996009,), (1379996010,), (1379996018,), (1379996019,), (1379996218,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28082025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26278273]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] map_info['map_portfolio_photo'] : {26278273: [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965]} final : True mtd_id 4302 list_pids : [1379771128, 1379770702, 1379770700, 1379770697, 1379770695, 1379770593, 1379770592, 1379770591, 1379770590, 1379770589, 1379770588, 1379770474, 1379770473, 1379770472, 1379770351, 1379770350, 1379770349, 1379770348, 1379770347, 1379770170, 1379770169, 1379770168, 1379770167, 1379769667, 1379769664, 1379768921, 1379768919, 1379768917, 1379767372, 1379767370, 1379767368, 1379767366, 1379767364, 1379766969, 1379766967, 1379766965] Looping around the photos to save general results len do output : 1 /26278273Didn'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, '3651200') ('4302', '26278273', '1379771128', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200') ('4302', None, None, None, None, None, None, None, '3651200') ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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, '26278273', 'None', None, None, None, None, '3651200'), ('4302', '26278273', '1379771128', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770702', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770700', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770697', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770695', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770593', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770592', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770591', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770590', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770589', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770588', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770474', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770473', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770472', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770351', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770350', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770349', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770348', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770347', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770170', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770169', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770168', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379770167', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379769667', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379769664', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768921', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768919', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379768917', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767372', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767370', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767368', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767366', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379767364', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766969', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766967', None, None, None, None, None, '3651200'), ('4302', '26278273', '1379766965', None, None, None, None, None, '3651200')] time used for this insertion : 0.019843339920043945 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.259843111038208 time spend to save output : 0.020264148712158203 total time spend for step 5 : 4.280107259750366 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 (3651200) 3.17user 2.40system 0:17.71elapsed 31%CPU (0avgtext+0avgdata 168116maxresident)k 1768inputs+26176outputs (31major+78393minor)pagefaults 0swaps