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 : 2178814 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 (4286609) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4286609) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766117 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4286609'] with mtr_portfolio_ids : ['29766117'] and first list_photo_ids : [] new path : /proc/2178814/ Name: python3 Umask: 0002 State: R (running) Tgid: 2178814 Ngid: 0 Pid: 2178814 PPid: 2178813 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2178814 NSpid: 2178814 NSpgid: 2178445 NSsid: 2178445 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105616 kB VmRSS: 105616 kB RssAnon: 66300 kB RssFile: 39316 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 560 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: 43 nonvoluntary_ctxt_switches: 112 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2178814', 'Ngid': '0', 'Pid': '2178814', 'PPid': '2178813', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2178814', 'NSpid': '2178814', 'NSpgid': '2178445', 'NSsid': '2178445', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105616 kB', 'VmRSS': '105616 kB', 'RssAnon': '66300 kB', 'RssFile': '39316 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '560 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': '43', 'nonvoluntary_ctxt_switches': '112'} ('datou_batch_current', '2178814', '1113368', '0', '1113368', '872096', '105616', b'', 'marlene', '4286609') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29766117) 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 (4286609 ) ) 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 (29766117) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1401490580, 'portfolio_id': 29766117}, {'photo_id': 1401490161, 'portfolio_id': 29766117}, {'photo_id': 1401490159, 'portfolio_id': 29766117}, {'photo_id': 1401490112, 'portfolio_id': 29766117}, {'photo_id': 1401490109, 'portfolio_id': 29766117}, {'photo_id': 1401490105, 'portfolio_id': 29766117}, {'photo_id': 1401490101, 'portfolio_id': 29766117}, {'photo_id': 1401490099, 'portfolio_id': 29766117}, {'photo_id': 1401490097, 'portfolio_id': 29766117}, {'photo_id': 1401490083, 'portfolio_id': 29766117}, {'photo_id': 1401490079, 'portfolio_id': 29766117}, {'photo_id': 1401490075, 'portfolio_id': 29766117}, {'photo_id': 1401490073, 'portfolio_id': 29766117}, {'photo_id': 1401490072, 'portfolio_id': 29766117}, {'photo_id': 1401490071, 'portfolio_id': 29766117}, {'photo_id': 1401490045, 'portfolio_id': 29766117}, {'photo_id': 1401490044, 'portfolio_id': 29766117}, {'photo_id': 1401490043, 'portfolio_id': 29766117}, {'photo_id': 1401489904, 'portfolio_id': 29766117}, {'photo_id': 1401489900, 'portfolio_id': 29766117}, {'photo_id': 1401489898, 'portfolio_id': 29766117}, {'photo_id': 1401489896, 'portfolio_id': 29766117}, {'photo_id': 1401489893, 'portfolio_id': 29766117}, {'photo_id': 1401489851, 'portfolio_id': 29766117}, {'photo_id': 1401489848, 'portfolio_id': 29766117}, {'photo_id': 1401489846, 'portfolio_id': 29766117}, {'photo_id': 1401489843, 'portfolio_id': 29766117}, {'photo_id': 1401489822, 'portfolio_id': 29766117}, {'photo_id': 1401489820, 'portfolio_id': 29766117}, {'photo_id': 1401489792, 'portfolio_id': 29766117}, {'photo_id': 1401489791, 'portfolio_id': 29766117}, {'photo_id': 1401489789, 'portfolio_id': 29766117}, {'photo_id': 1401489786, 'portfolio_id': 29766117}, {'photo_id': 1401489750, 'portfolio_id': 29766117}, {'photo_id': 1401489715, 'portfolio_id': 29766117}, {'photo_id': 1401489606, 'portfolio_id': 29766117}, {'photo_id': 1401489505, 'portfolio_id': 29766117}, {'photo_id': 1401489501, 'portfolio_id': 29766117}] map_portfolio_id_photo_id: {29766117: [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501]} ##### 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.018194198608398438 #### 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 Dec 30 05:39:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29766117) 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 : 29766117 get user id for portfolio 29766117 get sub ptf for main ptf 29766117, type 3726 and hashtags ['plastique', 'Carton_gris', 'Carton_brun', 'metal', 'mal_croppe', 'cartonnette', 'kraft', 'environnement', 'papier', 'Teint_Dans_La_Masse', 'flou', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29766117 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','Carton_brun','metal','mal_croppe','cartonnette','kraft','environnement','papier','Teint_Dans_La_Masse','flou','autre_refus')) 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`=29766117 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','Carton_brun','metal','mal_croppe','cartonnette','kraft','environnement','papier','Teint_Dans_La_Masse','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29766117, 'sub_port_id': 29766151, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347459, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'plastique': {'main_port_id': 29766117, 'sub_port_id': 29766152, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347460, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'environnement': {'main_port_id': 29766117, 'sub_port_id': 29766153, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347461, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'mal_croppe': {'main_port_id': 29766117, 'sub_port_id': 29766154, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347462, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'metal': {'main_port_id': 29766117, 'sub_port_id': 29766155, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347463, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'cartonnette': {'main_port_id': 29766117, 'sub_port_id': 29766156, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347464, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'papier': {'main_port_id': 29766117, 'sub_port_id': 29766157, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347465, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'Carton_brun': {'main_port_id': 29766117, 'sub_port_id': 29766158, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347466, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'autre_refus': {'main_port_id': 29766117, 'sub_port_id': 29766159, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347467, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'kraft': {'main_port_id': 29766117, 'sub_port_id': 29766160, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347468, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'flou': {'main_port_id': 29766117, 'sub_port_id': 29766161, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347469, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 29766117, 'sub_port_id': 29766162, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347470, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 26), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29766151 , 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=29766117 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 (29766151) result : ((1401490059,), (1401490124,), (1401490125,), (1401490126,), (1401490127,), (1401490128,), (1401490130,), (1401490380,), (1401490382,), (1401490404,), (1401490405,), (1401490406,), (1401490407,), (1401490408,), (1401490409,), (1401490599,), (1401490600,), (1401490601,), (1401490667,), (1401490668,), (1401490669,), (1401491194,), (1401491195,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766152 , 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=29766117 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 (29766152) result : ((1401490131,), (1401490148,), (1401490149,), (1401490150,), (1401490410,), (1401490607,), (1401490608,), (1401490609,), (1401490673,), (1401490674,), (1401491199,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766153 , 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=29766117 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 (29766153) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766154 , 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=29766117 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 (29766154) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766155 , 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=29766117 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 (29766155) result : ((1401489781,), (1401494790,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766156 , 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=29766117 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 (29766156) result : ((1401490063,), (1401490064,), (1401490143,), (1401490144,), (1401490389,), (1401490603,), (1401490604,), (1401491197,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766157 , 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=29766117 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 (29766157) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766158 , 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=29766117 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 (29766158) result : ((1401490145,), (1401490146,), (1401490391,), (1401490392,), (1401490605,), (1401490606,), (1401490670,), (1401490671,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766159 , 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=29766117 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 (29766159) result : ((1401490139,), (1401490141,), (1401490596,), (1401490597,), (1401490666,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766160 , 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=29766117 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 (29766160) result : ((1401490132,), (1401490133,), (1401490419,), (1401490421,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766161 , 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=29766117 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 (29766161) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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 29766162 , 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=29766117 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 (29766162) result : ((1401489778,), (1401489779,), (1401489780,), (1401490056,), (1401490057,), (1401490058,), (1401490121,), (1401490134,), (1401490372,), (1401490373,), (1401490403,), (1401490663,), (1401490664,), (1401490665,), (1401494787,), (1401494788,), (1401494789,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29766117) result : ((1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,)) 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 (1401489900) 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`=29766117 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','Carton_brun','metal','mal_croppe','cartonnette','kraft','environnement','papier','Teint_Dans_La_Masse','flou','autre_refus')) 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`=29766117 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','Carton_brun','metal','mal_croppe','cartonnette','kraft','environnement','papier','Teint_Dans_La_Masse','flou','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29766117, 'sub_port_id': 29766163, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347471, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'plastique': {'main_port_id': 29766117, 'sub_port_id': 29766164, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347472, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'environnement': {'main_port_id': 29766117, 'sub_port_id': 29766165, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347473, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'mal_croppe': {'main_port_id': 29766117, 'sub_port_id': 29766166, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347474, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'metal': {'main_port_id': 29766117, 'sub_port_id': 29766167, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347475, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'cartonnette': {'main_port_id': 29766117, 'sub_port_id': 29766168, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347476, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'papier': {'main_port_id': 29766117, 'sub_port_id': 29766169, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347477, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'Carton_brun': {'main_port_id': 29766117, 'sub_port_id': 29766170, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347478, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'autre_refus': {'main_port_id': 29766117, 'sub_port_id': 29766171, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347479, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'kraft': {'main_port_id': 29766117, 'sub_port_id': 29766172, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347480, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'flou': {'main_port_id': 29766117, 'sub_port_id': 29766173, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347481, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 33, 29), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 29766117, 'sub_port_id': 29766174, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20347482, 'last_updated_at': datetime.datetime(2025, 12, 29, 8, 49, 27), 'last_updated_at_desc': datetime.datetime(2025, 12, 29, 8, 49, 27), 'last_updated_at_asc': datetime.datetime(2025, 12, 29, 8, 33, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766163,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766151 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766164,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766152 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766165,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766153 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766166,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766154 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766167,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766155 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766168,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766156 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766169,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766157 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766170,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766158 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766171,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766159 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766172,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766160 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766173,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766161 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29766174,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29766162 lien utilise dans velours : https://marlene.fotonower.com/velours/29766163,29766164,29766165,29766166,29766167,29766168,29766169,29766170,29766171,29766172,29766173,29766174?tags=Carton_gris,plastique,environnement,mal_croppe,metal,cartonnette,papier,Carton_brun,autre_refus,kraft,flou,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29766117]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] map_info['map_portfolio_photo'] : {29766117: [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501]} final : False mtd_id 4302 list_pids : [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] Looping around the photos to save general results len do output : 1 /29766117. 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, '4286609') ('4302', '29766117', '1401490580', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '29766117', "{'Carton_gris': 29766151, 'plastique': 29766152, 'environnement': 29766153, 'mal_croppe': 29766154, 'metal': 29766155, 'cartonnette': 29766156, 'papier': 29766157, 'Carton_brun': 29766158, 'autre_refus': 29766159, 'kraft': 29766160, 'flou': 29766161, 'Teint_Dans_La_Masse': 29766162}", None, None, None, None, '4286609'), ('4302', '29766117', '1401490580', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609')] time used for this insertion : 0.02457714080810547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5974807739257812 time spend to save output : 0.025036096572875977 total time spend for step 1 : 0.6225168704986572 step2:final Tue Dec 30 05:39:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29766117) 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 29766117 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1401489505,1401489501,1401489606,1401489750,1401489715,1401489792,1401489791,1401489789,1401489786,1401489822,1401489820,1401489851,1401489848,1401489846,1401489843,1401489904,1401489900,1401489898,1401489896,1401489893,1401490045,1401490044,1401490043,1401490083,1401490079,1401490075,1401490073,1401490072,1401490071,1401490112,1401490109,1401490105,1401490101,1401490099,1401490097,1401490161,1401490159,1401490580); 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([29766117]) Inside saveOutput : final : False verbose : True original output for save of step final : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} new output for save of step final : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] map_info['map_portfolio_photo'] : {29766117: [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501]} final : False mtd_id 4302 list_pids : [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] Looping around the photos to save general results len do output : 38 /1401490580.Didn't retrieve data . /1401490161.Didn't retrieve data . /1401490159.Didn't retrieve data . /1401490112.Didn't retrieve data . /1401490109.Didn't retrieve data . /1401490105.Didn't retrieve data . /1401490101.Didn't retrieve data . /1401490099.Didn't retrieve data . /1401490097.Didn't retrieve data . /1401490083.Didn't retrieve data . /1401490079.Didn't retrieve data . /1401490075.Didn't retrieve data . /1401490073.Didn't retrieve data . /1401490072.Didn't retrieve data . /1401490071.Didn't retrieve data . /1401490045.Didn't retrieve data . /1401490044.Didn't retrieve data . /1401490043.Didn't retrieve data . /1401489904.Didn't retrieve data . /1401489900.Didn't retrieve data . /1401489898.Didn't retrieve data . /1401489896.Didn't retrieve data . /1401489893.Didn't retrieve data . /1401489851.Didn't retrieve data . /1401489848.Didn't retrieve data . /1401489846.Didn't retrieve data . /1401489843.Didn't retrieve data . /1401489822.Didn't retrieve data . /1401489820.Didn't retrieve data . /1401489792.Didn't retrieve data . /1401489791.Didn't retrieve data . /1401489789.Didn't retrieve data . /1401489786.Didn't retrieve data . /1401489750.Didn't retrieve data . /1401489715.Didn't retrieve data . /1401489606.Didn't retrieve data . /1401489505.Didn't retrieve data . /1401489501.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, '4286609') ('4302', '29766117', '1401490580', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '29766117', '1401490580', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490161', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490159', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490112', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490109', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490105', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490101', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490099', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490097', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490083', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490079', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490075', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490073', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490072', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490071', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490045', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490044', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401490043', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489904', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489900', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489898', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489896', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489893', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489851', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489848', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489846', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489843', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489822', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489820', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489792', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489791', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489789', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489786', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489750', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489715', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489606', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489505', '0.06320390655793529', None, None, None, None, '4286609'), ('4302', '29766117', '1401489501', '0.06320390655793529', None, None, None, None, '4286609')] time used for this insertion : 0.025482654571533203 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08295989036560059 time spend to save output : 0.026929140090942383 total time spend for step 2 : 0.10988903045654297 step3:velours_tree Tue Dec 30 05:39:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29766117: [{'Carton_gris': 29766151, 'plastique': 29766152, 'environnement': 29766153, 'mal_croppe': 29766154, 'metal': 29766155, 'cartonnette': 29766156, 'papier': 29766157, 'Carton_brun': 29766158, 'autre_refus': 29766159, 'kraft': 29766160, 'flou': 29766161, 'Teint_Dans_La_Masse': 29766162}]} input_args_next_step : {29766117: ()} output_args : {29766117: [{'Carton_gris': 29766151, 'plastique': 29766152, 'environnement': 29766153, 'mal_croppe': 29766154, 'metal': 29766155, 'cartonnette': 29766156, 'papier': 29766157, 'Carton_brun': 29766158, 'autre_refus': 29766159, 'kraft': 29766160, 'flou': 29766161, 'Teint_Dans_La_Masse': 29766162}]} args : 29766117 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 : ({'Carton_gris': 29766151, 'plastique': 29766152, 'environnement': 29766153, 'mal_croppe': 29766154, 'metal': 29766155, 'cartonnette': 29766156, 'papier': 29766157, 'Carton_brun': 29766158, 'autre_refus': 29766159, 'kraft': 29766160, 'flou': 29766161, 'Teint_Dans_La_Masse': 29766162},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29766117) 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([29766117]) 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.24807143211364746 time spend to save output : 4.100799560546875e-05 total time spend for step 3 : 0.24811244010925293 step4:send_mail_cod Tue Dec 30 05:39:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} input_args_next_step : {1401490580: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490580 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490161 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490159 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490112 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490109 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490105 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490101 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490099 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490097 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490083 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490079 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490075 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490073 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490072 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490071 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490045 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490044 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401490043 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489904 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489900 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489898 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489896 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489893 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489851 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489848 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489846 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489843 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489822 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489820 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489792 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489791 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489789 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489786 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489750 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489715 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489606 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489505 depend.output_id : 0 input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ()} output_args : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',)} args : 1401489501 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 : {29766117: [{'Carton_gris': 29766151, 'plastique': 29766152, 'environnement': 29766153, 'mal_croppe': 29766154, 'metal': 29766155, 'cartonnette': 29766156, 'papier': 29766157, 'Carton_brun': 29766158, 'autre_refus': 29766159, 'kraft': 29766160, 'flou': 29766161, 'Teint_Dans_La_Masse': 29766162}]} input_args_next_step : {1401490580: ('0.06320390655793529',), 1401490161: ('0.06320390655793529',), 1401490159: ('0.06320390655793529',), 1401490112: ('0.06320390655793529',), 1401490109: ('0.06320390655793529',), 1401490105: ('0.06320390655793529',), 1401490101: ('0.06320390655793529',), 1401490099: ('0.06320390655793529',), 1401490097: ('0.06320390655793529',), 1401490083: ('0.06320390655793529',), 1401490079: ('0.06320390655793529',), 1401490075: ('0.06320390655793529',), 1401490073: ('0.06320390655793529',), 1401490072: ('0.06320390655793529',), 1401490071: ('0.06320390655793529',), 1401490045: ('0.06320390655793529',), 1401490044: ('0.06320390655793529',), 1401490043: ('0.06320390655793529',), 1401489904: ('0.06320390655793529',), 1401489900: ('0.06320390655793529',), 1401489898: ('0.06320390655793529',), 1401489896: ('0.06320390655793529',), 1401489893: ('0.06320390655793529',), 1401489851: ('0.06320390655793529',), 1401489848: ('0.06320390655793529',), 1401489846: ('0.06320390655793529',), 1401489843: ('0.06320390655793529',), 1401489822: ('0.06320390655793529',), 1401489820: ('0.06320390655793529',), 1401489792: ('0.06320390655793529',), 1401489791: ('0.06320390655793529',), 1401489789: ('0.06320390655793529',), 1401489786: ('0.06320390655793529',), 1401489750: ('0.06320390655793529',), 1401489715: ('0.06320390655793529',), 1401489606: ('0.06320390655793529',), 1401489505: ('0.06320390655793529',), 1401489501: ('0.06320390655793529',), 29766117: ()} output_args : {29766117: [{'Carton_gris': 29766151, 'plastique': 29766152, 'environnement': 29766153, 'mal_croppe': 29766154, 'metal': 29766155, 'cartonnette': 29766156, 'papier': 29766157, 'Carton_brun': 29766158, 'autre_refus': 29766159, 'kraft': 29766160, 'flou': 29766161, 'Teint_Dans_La_Masse': 29766162}]} args : 29766117 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 :39, first value : ('0.06320390655793529',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29766117) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1401490580,1401490161,1401490159,1401490112,1401490109,1401490105,1401490101,1401490099,1401490097,1401490083,1401490079,1401490075,1401490073,1401490072,1401490071,1401490045,1401490044,1401490043,1401489904,1401489900,1401489898,1401489896,1401489893,1401489851,1401489848,1401489846,1401489843,1401489822,1401489820,1401489792,1401489791,1401489789,1401489786,1401489750,1401489715,1401489606,1401489505,1401489501) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1401489501 begin to download photo : 1401489792 begin to download photo : 1401489896 begin to download photo : 1401490072 begin to download photo : 1401490105 download finish for photo 1401490072 begin to download photo : 1401490073 download finish for photo 1401489501 begin to download photo : 1401489505 download finish for photo 1401490105 begin to download photo : 1401490109 download finish for photo 1401489896 begin to download photo : 1401489898 download finish for photo 1401489792 begin to download photo : 1401489820 download finish for photo 1401490073 begin to download photo : 1401490075 download finish for photo 1401490109 begin to download photo : 1401490112 download finish for photo 1401489505 begin to download photo : 1401489606 download finish for photo 1401489898 begin to download photo : 1401489900 download finish for photo 1401489820 begin to download photo : 1401489822 download finish for photo 1401490075 begin to download photo : 1401490079 download finish for photo 1401490112 begin to download photo : 1401490159 download finish for photo 1401489606 begin to download photo : 1401489715 download finish for photo 1401489900 begin to download photo : 1401489904 download finish for photo 1401489822 begin to download photo : 1401489843 download finish for photo 1401490079 begin to download photo : 1401490083 download finish for photo 1401490159 begin to download photo : 1401490161 download finish for photo 1401489904 begin to download photo : 1401490043 download finish for photo 1401489715 begin to download photo : 1401489750 download finish for photo 1401489843 begin to download photo : 1401489846 download finish for photo 1401490083 begin to download photo : 1401490097 download finish for photo 1401490161 begin to download photo : 1401490580 download finish for photo 1401489846 begin to download photo : 1401489848 download finish for photo 1401489750 begin to download photo : 1401489786 download finish for photo 1401490043 begin to download photo : 1401490044 download finish for photo 1401490097 begin to download photo : 1401490099 download finish for photo 1401490580 download finish for photo 1401489786 begin to download photo : 1401489789 download finish for photo 1401489848 begin to download photo : 1401489851 download finish for photo 1401490044 download finish for photo 1401490099 begin to download photo : 1401490045 begin to download photo : 1401490101 download finish for photo 1401489789 begin to download photo : 1401489791 download finish for photo 1401489851 begin to download photo : 1401489893 download finish for photo 1401490045 begin to download photo : 1401490071 download finish for photo 1401490101 download finish for photo 1401489791 download finish for photo 1401489893 download finish for photo 1401490071 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 : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P29766117_30-12-2025_05_39_31.pdf 29766152 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766152 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490131: '1766994188_3268535_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326218_0.png', 1401490148: '1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326661_0.png', 1401490149: '1766994206_3269232_1401489843_fac22f846ac1d1cbf8d606c57e58b06e_rle_crop_4084326668_0.png', 1401490150: '1766994206_3269232_1401489843_fac22f846ac1d1cbf8d606c57e58b06e_rle_crop_4084326676_0.png', 1401490410: '1766994325_3274642_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326218_0.png', 1401490607: '1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328817_0.png', 1401490608: '1766994426_3280779_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61_rle_crop_4084328826_0.png', 1401490609: '1766994426_3280779_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61_rle_crop_4084328825_0.png', 1401490673: '1766994507_3284504_1401490072_e5bf2962f6bc262215c5696347c29058_rle_crop_4084328964_0.png', 1401490674: '1766994507_3284504_1401490071_a9d20f53bcc3b87425c5f5c46202e27c_rle_crop_4084328983_0.png', 1401491199: '1766994665_3291819_1401489851_bc4cafb1f34818c4b1f45fdd2a23d7eb_rle_crop_4084329684_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/5ddc2a04df3b748b0bf72dd703b441ba_6721349.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/011e24fc37a21b4e1ade6325ea7869af_21360132.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/50a8f6d53a95a22fb481cd12cb9ed93c_61601473.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/108ab444caaf65662a66cebf2566aa1b_93579616.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/5ddc2a04df3b748b0bf72dd703b441ba_15782554.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/7560702e56e8d5266636f716148d4961_7651690.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/ab014deccf9585dc9781f2e43c000669_3746633.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/ade48f60f2d55f1b89ceb9fe0491a557_44008091.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/299be11015617b6afd3838117b719462_64059339.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/1556633da9ab542de96a28bacb5f0c27_29114522.png change filename to text .imagette297661521767069571/ imagette297661521767069571/1766994426_3280779_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61_rle_crop_4084328826_0.png.png imagette297661521767069571/1766994206_3269232_1401489843_fac22f846ac1d1cbf8d606c57e58b06e_rle_crop_4084326676_0.png.png imagette297661521767069571/1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326661_0.png.png imagette297661521767069571/1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328817_0.png.png imagette297661521767069571/1766994188_3268535_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326218_0.png.png imagette297661521767069571/1766994206_3269232_1401489843_fac22f846ac1d1cbf8d606c57e58b06e_rle_crop_4084326668_0.png.png imagette297661521767069571/1766994507_3284504_1401490071_a9d20f53bcc3b87425c5f5c46202e27c_rle_crop_4084328983_0.png.png imagette297661521767069571/1766994507_3284504_1401490072_e5bf2962f6bc262215c5696347c29058_rle_crop_4084328964_0.png.png imagette297661521767069571/1766994426_3280779_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61_rle_crop_4084328825_0.png.png imagette297661521767069571/1766994325_3274642_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326218_0.png.png imagette297661521767069571/1766994665_3291819_1401489851_bc4cafb1f34818c4b1f45fdd2a23d7eb_rle_crop_4084329684_0.png.png imagette297661541767069572/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/4a721cfec2acd360647793029dc2bbd6_13050057.png imagette297661521767069571 29766154 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766154 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette297661541767069572 29766155 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766155 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401489781: '1766993786_3248797_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318455_0.png', 1401494790: '1766996245_3369224_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318455_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/769b13246e2293d1f386163432170caf_2720931.png change filename to text .imagette297661551767069572/ imagette297661551767069572/1766993786_3248797_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318455_0.png.png imagette297661551767069572/1766996245_3369224_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318455_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/769b13246e2293d1f386163432170caf_4895566.png imagette297661551767069572 29766156 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766156 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490063: '1766994067_3262033_1401489822_a52804a916c43164e8a96c8c4df49155_rle_crop_4084324731_0.png', 1401490064: '1766994067_3262033_1401489786_932a76b9222c45f6b2406a397db047c5_rle_crop_4084324826_0.png', 1401490143: '1766994206_3269232_1401489848_b510c86f1eecec8fd9810297e52cf955_rle_crop_4084326633_0.png', 1401490144: '1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326648_0.png', 1401490389: '1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327572_0.png', 1401490603: '1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328807_0.png', 1401490604: '1766994426_3280779_1401490097_2cc4592fe355a9aacbd9de444c597188_rle_crop_4084328839_0.png', 1401491197: '1766994665_3291819_1401489820_0a1744424daf5b6b30f4085796f782f0_rle_crop_4084329694_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/102cee6cd1f08895d3b0beeb75d7b84d_18893984.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/2ee8ef5f13fc9d0e8af8c0239129a418_63829919.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/656407a2f88a099b634a304e8c98b824_52017160.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/bc44c269544c30034f7065ab67b671d2_86547390.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/bd76295be9d6f45bf4312190c628098e_47865546.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/baf5aa28eb2f45e73d4179cfb0611db9_75516048.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/ce631d195ee4d56315be7279a2c764c0_2268958.png change filename to text .imagette297661561767069572/ imagette297661561767069572/1766994426_3280779_1401490097_2cc4592fe355a9aacbd9de444c597188_rle_crop_4084328839_0.png.png imagette297661561767069572/1766994067_3262033_1401489822_a52804a916c43164e8a96c8c4df49155_rle_crop_4084324731_0.png.png imagette297661561767069572/1766994067_3262033_1401489786_932a76b9222c45f6b2406a397db047c5_rle_crop_4084324826_0.png.png imagette297661561767069572/1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326648_0.png.png imagette297661561767069572/1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328807_0.png.png imagette297661561767069572/1766994665_3291819_1401489820_0a1744424daf5b6b30f4085796f782f0_rle_crop_4084329694_0.png.png imagette297661561767069572/1766994206_3269232_1401489848_b510c86f1eecec8fd9810297e52cf955_rle_crop_4084326633_0.png.png imagette297661561767069572/1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327572_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/ff091062f40ebdd6a3d8e102016f86c3_90130423.png imagette297661561767069572 29766159 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766159 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490139: '1766994206_3269232_1401489904_eea6b0493379818d2f39abadb9495d08_rle_crop_4084326541_0.png', 1401490141: '1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326656_0.png', 1401490596: '1766994426_3280779_1401490105_d6b3065c2926a9dbbec8059099cdcf08_rle_crop_4084328616_0.png', 1401490597: '1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328805_0.png', 1401490666: '1766994507_3284504_1401490072_e5bf2962f6bc262215c5696347c29058_rle_crop_4084328963_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/77f036f45bd36d99b71e44206aa24f73_21448325.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/04f968be99a072160d05e0e58b55b452_11995957.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/4941ad95c4345dbbe4afa90393653314_55718869.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/48f621b2e80a9d21f2bf869b8eecbf5b_16037475.png change filename to text .imagette297661591767069573/ imagette297661591767069573/1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326656_0.png.png imagette297661591767069573/1766994507_3284504_1401490072_e5bf2962f6bc262215c5696347c29058_rle_crop_4084328963_0.png.png imagette297661591767069573/1766994426_3280779_1401490105_d6b3065c2926a9dbbec8059099cdcf08_rle_crop_4084328616_0.png.png imagette297661591767069573/1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328805_0.png.png imagette297661591767069573/1766994206_3269232_1401489904_eea6b0493379818d2f39abadb9495d08_rle_crop_4084326541_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/2133241a2791252e641b7ad8d1e7b7c6_87370568.png imagette297661591767069573 29766160 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766160 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490132: '1766994188_3268535_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326222_0.png', 1401490133: '1766994188_3268535_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326318_0.png', 1401490419: '1766994325_3274642_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326222_0.png', 1401490421: '1766994325_3274642_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326318_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/95a4ad6305f4ddfa374d98c125a5ef68_37915525.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/19c015b2b8ac6c9c351eb54c2b5374e4_84063035.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/95a4ad6305f4ddfa374d98c125a5ef68_14155733.png change filename to text .imagette297661601767069574/ imagette297661601767069574/1766994188_3268535_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326222_0.png.png imagette297661601767069574/1766994325_3274642_1401489898_83ca31ca391a82739134cf01198c579b_rle_crop_4084326222_0.png.png imagette297661601767069574/1766994188_3268535_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326318_0.png.png imagette297661601767069574/1766994325_3274642_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326318_0.png.png imagette297661611767069574/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/19c015b2b8ac6c9c351eb54c2b5374e4_45015182.png imagette297661601767069574 29766161 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766161 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette297661611767069574 29766151 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766151 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490406: '1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326193_0.png', 1401491195: '1766994665_3291819_1401489820_0a1744424daf5b6b30f4085796f782f0_rle_crop_4084329687_0.png', 1401491194: '1766994665_3291819_1401489851_bc4cafb1f34818c4b1f45fdd2a23d7eb_rle_crop_4084329676_0.png', 1401490669: '1766994507_3284504_1401490073_894449b9ca42c5aa6e6ac410e15aade5_rle_crop_4084328956_0.png', 1401490668: '1766994507_3284504_1401490075_2d437566f10a3273f5ba84617c6f1a61_rle_crop_4084328938_0.png', 1401490667: '1766994507_3284504_1401490079_05646bbb3bfe097fe1da1150c528219d_rle_crop_4084328919_0.png', 1401490601: '1766994426_3280779_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61_rle_crop_4084328822_0.png', 1401490600: '1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328811_0.png', 1401490599: '1766994426_3280779_1401490161_bfd21ed36a7fcd6f097ff561aaa38314_rle_crop_4084328544_0.png', 1401490409: '1766994325_3274642_1401489896_8b658dd5cd51ce443e7a46502458fdcb_rle_crop_4084326230_0.png', 1401490408: '1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326202_0.png', 1401490407: '1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326199_0.png', 1401490059: '1766994067_3262033_1401489786_932a76b9222c45f6b2406a397db047c5_rle_crop_4084324820_0.png', 1401490405: '1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326197_0.png', 1401490404: '1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326198_0.png', 1401490382: '1766994307_3274282_1401490043_a8ce372121d9de12ec19cab473e875db_rle_crop_4084327585_0.png', 1401490380: '1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327565_0.png', 1401490130: '1766994188_3268535_1401489896_8b658dd5cd51ce443e7a46502458fdcb_rle_crop_4084326230_0.png', 1401490128: '1766994188_3268535_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326202_0.png', 1401490127: '1766994188_3268535_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326199_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/d67692c29ab7cc550dbd04305a379f20_21713557.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/0c7208c1ae114bf0d1bd3eb1414c2f84_38777121.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/c4e006808b3b13ec03fa7d7e4dda6d98_38128370.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/f314fc686ccfffcd0827241805004aa9_89228272.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/e2c25308f81b3c75ec2b6101d546fcbb_71763049.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/8bc71a8f1ccf1b55281dccfbe9eb3bf1_45957840.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/35b94836a4862c7bbf807ca1ff916b91_89806887.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/1ac8b23087e00604481c2ef0d1d3cc6d_11787627.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/3be8745a0c608d622f96f69ec346d829_89806867.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/686526b454b4a04abc147ea41a3c6452_13277345.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/66af1cba87db9e6fb1bd3585287083ab_62208141.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/756d80159f393fef4b5c1b044e261ab7_75605395.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/3984c50b890af4fa1d530f4ec9c15ee0_46384190.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/a78d24f370619c082a551382632c99a8_44960622.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/c8c5ec972978347c6ef531f06b4e714f_13691557.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/63630351e10c075acdc5c912a5a798a5_14808444.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/8faab9dfd69128d934b1ac8b3157b521_36935369.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/686526b454b4a04abc147ea41a3c6452_69865501.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/66af1cba87db9e6fb1bd3585287083ab_38589919.png change filename to text .imagette297661511767069574/ imagette297661511767069574/1766994507_3284504_1401490075_2d437566f10a3273f5ba84617c6f1a61_rle_crop_4084328938_0.png.png imagette297661511767069574/1766994188_3268535_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326202_0.png.png imagette297661511767069574/1766994665_3291819_1401489851_bc4cafb1f34818c4b1f45fdd2a23d7eb_rle_crop_4084329676_0.png.png imagette297661511767069574/1766994426_3280779_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61_rle_crop_4084328822_0.png.png imagette297661511767069574/1766994665_3291819_1401489820_0a1744424daf5b6b30f4085796f782f0_rle_crop_4084329687_0.png.png imagette297661511767069574/1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328811_0.png.png imagette297661511767069574/1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327565_0.png.png imagette297661511767069574/1766994426_3280779_1401490161_bfd21ed36a7fcd6f097ff561aaa38314_rle_crop_4084328544_0.png.png imagette297661511767069574/1766994067_3262033_1401489786_932a76b9222c45f6b2406a397db047c5_rle_crop_4084324820_0.png.png imagette297661511767069574/1766994188_3268535_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326199_0.png.png imagette297661511767069574/1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326199_0.png.png imagette297661511767069574/1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326197_0.png.png imagette297661511767069574/1766994507_3284504_1401490073_894449b9ca42c5aa6e6ac410e15aade5_rle_crop_4084328956_0.png.png imagette297661511767069574/1766994188_3268535_1401489896_8b658dd5cd51ce443e7a46502458fdcb_rle_crop_4084326230_0.png.png imagette297661511767069574/1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326202_0.png.png imagette297661511767069574/1766994325_3274642_1401489896_8b658dd5cd51ce443e7a46502458fdcb_rle_crop_4084326230_0.png.png imagette297661511767069574/1766994507_3284504_1401490079_05646bbb3bfe097fe1da1150c528219d_rle_crop_4084328919_0.png.png imagette297661511767069574/1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326198_0.png.png imagette297661511767069574/1766994325_3274642_1401489900_dec499a8029a8c8368899c133a5b9f40_rle_crop_4084326193_0.png.png imagette297661511767069574/1766994307_3274282_1401490043_a8ce372121d9de12ec19cab473e875db_rle_crop_4084327585_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/756d80159f393fef4b5c1b044e261ab7_48434963.png imagette297661511767069574 29766158 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766158 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490145: '1766994206_3269232_1401489904_eea6b0493379818d2f39abadb9495d08_rle_crop_4084326542_0.png', 1401490146: '1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326658_0.png', 1401490391: '1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327580_0.png', 1401490392: '1766994307_3274282_1401490043_a8ce372121d9de12ec19cab473e875db_rle_crop_4084327591_0.png', 1401490605: '1766994426_3280779_1401490161_bfd21ed36a7fcd6f097ff561aaa38314_rle_crop_4084328543_0.png', 1401490606: '1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328808_0.png', 1401490670: '1766994507_3284504_1401490112_5476278174e96765535c8cbc4d703ef1_rle_crop_4084328904_0.png', 1401490671: '1766994507_3284504_1401490073_894449b9ca42c5aa6e6ac410e15aade5_rle_crop_4084328951_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/c7b24157d1c039121ff5fb84139a18cf_75433162.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/d90bea3663779eeb1ae29fcb6ef58a14_84421924.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/415bba42a7b0a582b4d59b70c29e48eb_24091445.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/8ace1dd228785ac6824106bdaa59302a_67676134.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/2ac5f9780bcd95da9155c88f11e8f79c_58923473.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/361b78da553692fd4c0e38fe0270bef8_48780108.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/803ccc84945c6221fd2351becbc90ef6_35551059.png change filename to text .imagette297661581767069576/ imagette297661581767069576/1766994307_3274282_1401490043_a8ce372121d9de12ec19cab473e875db_rle_crop_4084327591_0.png.png imagette297661581767069576/1766994206_3269232_1401489846_500872d45a8feb29aa25ab6086871063_rle_crop_4084326658_0.png.png imagette297661581767069576/1766994426_3280779_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87_rle_crop_4084328808_0.png.png imagette297661581767069576/1766994426_3280779_1401490161_bfd21ed36a7fcd6f097ff561aaa38314_rle_crop_4084328543_0.png.png imagette297661581767069576/1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327580_0.png.png imagette297661581767069576/1766994507_3284504_1401490073_894449b9ca42c5aa6e6ac410e15aade5_rle_crop_4084328951_0.png.png imagette297661581767069576/1766994206_3269232_1401489904_eea6b0493379818d2f39abadb9495d08_rle_crop_4084326542_0.png.png imagette297661581767069576/1766994507_3284504_1401490112_5476278174e96765535c8cbc4d703ef1_rle_crop_4084328904_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/064c899eaabad9e26582cdf9d2c1d25f_52734690.png imagette297661581767069576 29766162 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766162 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401490372: '1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327576_0.png', 1401494789: '1766996245_3369224_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318462_0.png', 1401494788: '1766996245_3369224_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318442_0.png', 1401494787: '1766996245_3369224_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318445_0.png', 1401490665: '1766994507_3284504_1401490071_a9d20f53bcc3b87425c5f5c46202e27c_rle_crop_4084328978_0.png', 1401490664: '1766994507_3284504_1401490073_894449b9ca42c5aa6e6ac410e15aade5_rle_crop_4084328948_0.png', 1401490663: '1766994507_3284504_1401490075_2d437566f10a3273f5ba84617c6f1a61_rle_crop_4084328936_0.png', 1401490403: '1766994325_3274642_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326317_0.png', 1401490373: '1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327573_0.png', 1401489778: '1766993786_3248797_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318445_0.png', 1401490134: '1766994206_3269232_1401489848_b510c86f1eecec8fd9810297e52cf955_rle_crop_4084326640_0.png', 1401490121: '1766994188_3268535_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326317_0.png', 1401490058: '1766994067_3262033_1401489786_932a76b9222c45f6b2406a397db047c5_rle_crop_4084324824_0.png', 1401490057: '1766994067_3262033_1401489789_82eb0aa762a828e4b05cbe5e91b465b0_rle_crop_4084324756_0.png', 1401490056: '1766994067_3262033_1401489791_05274bf261f620c2b7ca56e7070df018_rle_crop_4084324745_0.png', 1401489780: '1766993786_3248797_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318462_0.png', 1401489779: '1766993786_3248797_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318442_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/c38d8e08d54d0e89578c6f7c21fd304a_33318849.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/0bf2239aeac8ed7b229d8466576d2d79_15662650.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/dc63a3aa4391f078c5322bb1e86d0b10_90315278.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/432d2f5e589ecc0cca4d723dad2db26a_78709352.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/0795385627b647fd5287f582d5914227_67290638.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/31e7cc4726f76441e52596100613f649_62912689.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/b1bd75839d3dbc2bfcac9b010ab6c897_97649223.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/2c06fca18b11d7ab25cc7b14c235f169_42563471.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/b75b75ff9b2b9c055fe8618e98af2d1f_387143.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/432d2f5e589ecc0cca4d723dad2db26a_11829895.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/fd12ab6f2c2abd9e03bfd8bf8975139b_97494833.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/2c06fca18b11d7ab25cc7b14c235f169_87933188.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/e061184be2dbb8173693b2383721e112_10226164.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/5e3645e23c98c5d95063c53d1f99c32e_50237520.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/04b6e2a13d75903dfca1ed0434d6eb39_44014831.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/0bf2239aeac8ed7b229d8466576d2d79_45247461.png change filename to text .imagette297661621767069577/ imagette297661621767069577/1766996245_3369224_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318442_0.png.png imagette297661621767069577/1766993786_3248797_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318462_0.png.png imagette297661621767069577/1766994325_3274642_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326317_0.png.png imagette297661621767069577/1766994067_3262033_1401489791_05274bf261f620c2b7ca56e7070df018_rle_crop_4084324745_0.png.png imagette297661621767069577/1766996245_3369224_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318445_0.png.png imagette297661621767069577/1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327573_0.png.png imagette297661621767069577/1766993786_3248797_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318442_0.png.png imagette297661621767069577/1766994206_3269232_1401489848_b510c86f1eecec8fd9810297e52cf955_rle_crop_4084326640_0.png.png imagette297661621767069577/1766994507_3284504_1401490071_a9d20f53bcc3b87425c5f5c46202e27c_rle_crop_4084328978_0.png.png imagette297661621767069577/1766994188_3268535_1401489893_8cb119414f061c9e97009f3101baf978_rle_crop_4084326317_0.png.png imagette297661621767069577/1766994507_3284504_1401490075_2d437566f10a3273f5ba84617c6f1a61_rle_crop_4084328936_0.png.png imagette297661621767069577/1766996245_3369224_1401489501_7a718213e26c3696d28ea07336daeb5a_rle_crop_4084318462_0.png.png imagette297661621767069577/1766993786_3248797_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd_rle_crop_4084318445_0.png.png imagette297661621767069577/1766994067_3262033_1401489789_82eb0aa762a828e4b05cbe5e91b465b0_rle_crop_4084324756_0.png.png imagette297661621767069577/1766994307_3274282_1401490044_c6a8d5f139034a419450eac4b7ef9a3f_rle_crop_4084327576_0.png.png imagette297661621767069577/1766994507_3284504_1401490073_894449b9ca42c5aa6e6ac410e15aade5_rle_crop_4084328948_0.png.png imagette297661621767069577/1766994067_3262033_1401489786_932a76b9222c45f6b2406a397db047c5_rle_crop_4084324824_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/dc63a3aa4391f078c5322bb1e86d0b10_67574200.png imagette297661621767069577 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29766117 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29766163,29766164,29766165,29766166,29766167,29766168,29766169,29766170,29766171,29766172,29766173,29766174?tags=Carton_gris,plastique,environnement,mal_croppe,metal,cartonnette,papier,Carton_brun,autre_refus,kraft,flou,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1401490580] : ('0.06320390655793529',) no score found for photo 1401490580 We are sending mail with results at report@fotonower.com args[1401490161] : ('0.06320390655793529',) no score found for photo 1401490161 We are sending mail with results at report@fotonower.com args[1401490159] : ('0.06320390655793529',) no score found for photo 1401490159 We are sending mail with results at report@fotonower.com args[1401490112] : ('0.06320390655793529',) no score found for photo 1401490112 We are sending mail with results at report@fotonower.com args[1401490109] : ('0.06320390655793529',) no score found for photo 1401490109 We are sending mail with results at report@fotonower.com args[1401490105] : ('0.06320390655793529',) no score found for photo 1401490105 We are sending mail with results at report@fotonower.com args[1401490101] : ('0.06320390655793529',) no score found for photo 1401490101 We are sending mail with results at report@fotonower.com args[1401490099] : ('0.06320390655793529',) no score found for photo 1401490099 We are sending mail with results at report@fotonower.com args[1401490097] : ('0.06320390655793529',) no score found for photo 1401490097 We are sending mail with results at report@fotonower.com args[1401490083] : ('0.06320390655793529',) no score found for photo 1401490083 We are sending mail with results at report@fotonower.com args[1401490079] : ('0.06320390655793529',) no score found for photo 1401490079 We are sending mail with results at report@fotonower.com args[1401490075] : ('0.06320390655793529',) no score found for photo 1401490075 We are sending mail with results at report@fotonower.com args[1401490073] : ('0.06320390655793529',) no score found for photo 1401490073 We are sending mail with results at report@fotonower.com args[1401490072] : ('0.06320390655793529',) no score found for photo 1401490072 We are sending mail with results at report@fotonower.com args[1401490071] : ('0.06320390655793529',) no score found for photo 1401490071 We are sending mail with results at report@fotonower.com args[1401490045] : ('0.06320390655793529',) no score found for photo 1401490045 We are sending mail with results at report@fotonower.com args[1401490044] : ('0.06320390655793529',) no score found for photo 1401490044 We are sending mail with results at report@fotonower.com args[1401490043] : ('0.06320390655793529',) no score found for photo 1401490043 We are sending mail with results at report@fotonower.com args[1401489904] : ('0.06320390655793529',) no score found for photo 1401489904 We are sending mail with results at report@fotonower.com args[1401489900] : ('0.06320390655793529',) no score found for photo 1401489900 We are sending mail with results at report@fotonower.com args[1401489898] : ('0.06320390655793529',) no score found for photo 1401489898 We are sending mail with results at report@fotonower.com args[1401489896] : ('0.06320390655793529',) no score found for photo 1401489896 We are sending mail with results at report@fotonower.com args[1401489893] : ('0.06320390655793529',) no score found for photo 1401489893 We are sending mail with results at report@fotonower.com args[1401489851] : ('0.06320390655793529',) no score found for photo 1401489851 We are sending mail with results at report@fotonower.com args[1401489848] : ('0.06320390655793529',) no score found for photo 1401489848 We are sending mail with results at report@fotonower.com args[1401489846] : ('0.06320390655793529',) no score found for photo 1401489846 We are sending mail with results at report@fotonower.com args[1401489843] : ('0.06320390655793529',) no score found for photo 1401489843 We are sending mail with results at report@fotonower.com args[1401489822] : ('0.06320390655793529',) no score found for photo 1401489822 We are sending mail with results at report@fotonower.com args[1401489820] : ('0.06320390655793529',) no score found for photo 1401489820 We are sending mail with results at report@fotonower.com args[1401489792] : ('0.06320390655793529',) no score found for photo 1401489792 We are sending mail with results at report@fotonower.com args[1401489791] : ('0.06320390655793529',) no score found for photo 1401489791 We are sending mail with results at report@fotonower.com args[1401489789] : ('0.06320390655793529',) no score found for photo 1401489789 We are sending mail with results at report@fotonower.com args[1401489786] : ('0.06320390655793529',) no score found for photo 1401489786 We are sending mail with results at report@fotonower.com args[1401489750] : ('0.06320390655793529',) no score found for photo 1401489750 We are sending mail with results at report@fotonower.com args[1401489715] : ('0.06320390655793529',) no score found for photo 1401489715 We are sending mail with results at report@fotonower.com args[1401489606] : ('0.06320390655793529',) no score found for photo 1401489606 We are sending mail with results at report@fotonower.com args[1401489505] : ('0.06320390655793529',) no score found for photo 1401489505 We are sending mail with results at report@fotonower.com args[1401489501] : ('0.06320390655793529',) no score found for photo 1401489501 We are sending mail with results at report@fotonower.com refus_total : 0.06320390655793529 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766117 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_P29766117_30-12-2025_05_39_31.pdf results_Auto_P29766117_30-12-2025_05_39_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766117_30-12-2025_05_39_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','29766117','results_Auto_P29766117_30-12-2025_05_39_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766117_30-12-2025_05_39_31.pdf','pdf','','0.5','0.06320390655793529') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29766117]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] map_info['map_portfolio_photo'] : {29766117: [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501]} final : False mtd_id 4302 list_pids : [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] 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, '4286609') ('4302', '29766117', '1401490580', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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', '29766117', '1401490580', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609')] time used for this insertion : 0.022670984268188477 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.683412551879883 time spend to save output : 0.022942781448364258 total time spend for step 4 : 12.706355333328247 step5:split_time_score Tue Dec 30 05:39:42 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 : ['29766117'] 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 : [('29766117',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29766117) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1401490105: {'path': 'temp/1767069569_2178814_1401490105_d6b3065c2926a9dbbec8059099cdcf08.jpg', 'extension': 'jpg'}, 1401490109: {'path': 'temp/1767069569_2178814_1401490109_4710be0529d8c3074da4765e2e80781b.jpg', 'extension': 'jpg'}, 1401490112: {'path': 'temp/1767069569_2178814_1401490112_5476278174e96765535c8cbc4d703ef1.jpg', 'extension': 'jpg'}, 1401490159: {'path': 'temp/1767069569_2178814_1401490159_c6945dfe3d8901eff9ed50a34f99abbf.jpg', 'extension': 'jpg'}, 1401490161: {'path': 'temp/1767069569_2178814_1401490161_bfd21ed36a7fcd6f097ff561aaa38314.jpg', 'extension': 'jpg'}, 1401490580: {'path': 'temp/1767069569_2178814_1401490580_38446c4d0b3375e3b284494656adf8e8.jpg', 'extension': 'jpg'}, 1401490072: {'path': 'temp/1767069569_2178814_1401490072_e5bf2962f6bc262215c5696347c29058.jpg', 'extension': 'jpg'}, 1401490073: {'path': 'temp/1767069569_2178814_1401490073_894449b9ca42c5aa6e6ac410e15aade5.jpg', 'extension': 'jpg'}, 1401490075: {'path': 'temp/1767069569_2178814_1401490075_2d437566f10a3273f5ba84617c6f1a61.jpg', 'extension': 'jpg'}, 1401490079: {'path': 'temp/1767069569_2178814_1401490079_05646bbb3bfe097fe1da1150c528219d.jpg', 'extension': 'jpg'}, 1401490083: {'path': 'temp/1767069569_2178814_1401490083_776634962798653ac33442a2a00a1e5b.jpg', 'extension': 'jpg'}, 1401490097: {'path': 'temp/1767069569_2178814_1401490097_2cc4592fe355a9aacbd9de444c597188.jpg', 'extension': 'jpg'}, 1401490099: {'path': 'temp/1767069569_2178814_1401490099_55afc1ff2d5022ed5f5c258bd36cdc61.jpg', 'extension': 'jpg'}, 1401490101: {'path': 'temp/1767069569_2178814_1401490101_7d7d70ab66bfc73b99f5e6084a6ced87.jpg', 'extension': 'jpg'}, 1401489501: {'path': 'temp/1767069569_2178814_1401489501_7a718213e26c3696d28ea07336daeb5a.jpg', 'extension': 'jpg'}, 1401489505: {'path': 'temp/1767069569_2178814_1401489505_14b67d6e302935a577f0ac9bf7ccb7bd.jpg', 'extension': 'jpg'}, 1401489606: {'path': 'temp/1767069569_2178814_1401489606_fc93597d8f00b6d972ebb78f19e0ad2c.jpg', 'extension': 'jpg'}, 1401489715: {'path': 'temp/1767069569_2178814_1401489715_29573216232b97ad0fbef18c72f4c9cd.jpg', 'extension': 'jpg'}, 1401489750: {'path': 'temp/1767069569_2178814_1401489750_931d6a79af3041f54bf5502371467b7d.jpg', 'extension': 'jpg'}, 1401489786: {'path': 'temp/1767069569_2178814_1401489786_932a76b9222c45f6b2406a397db047c5.jpg', 'extension': 'jpg'}, 1401489789: {'path': 'temp/1767069569_2178814_1401489789_82eb0aa762a828e4b05cbe5e91b465b0.jpg', 'extension': 'jpg'}, 1401489791: {'path': 'temp/1767069569_2178814_1401489791_05274bf261f620c2b7ca56e7070df018.jpg', 'extension': 'jpg'}, 1401489792: {'path': 'temp/1767069569_2178814_1401489792_c28aae09903c830f34bc717d727fb77c.jpg', 'extension': 'jpg'}, 1401489820: {'path': 'temp/1767069569_2178814_1401489820_0a1744424daf5b6b30f4085796f782f0.jpg', 'extension': 'jpg'}, 1401489822: {'path': 'temp/1767069569_2178814_1401489822_a52804a916c43164e8a96c8c4df49155.jpg', 'extension': 'jpg'}, 1401489843: {'path': 'temp/1767069569_2178814_1401489843_fac22f846ac1d1cbf8d606c57e58b06e.jpg', 'extension': 'jpg'}, 1401489846: {'path': 'temp/1767069569_2178814_1401489846_500872d45a8feb29aa25ab6086871063.jpg', 'extension': 'jpg'}, 1401489848: {'path': 'temp/1767069569_2178814_1401489848_b510c86f1eecec8fd9810297e52cf955.jpg', 'extension': 'jpg'}, 1401489851: {'path': 'temp/1767069569_2178814_1401489851_bc4cafb1f34818c4b1f45fdd2a23d7eb.jpg', 'extension': 'jpg'}, 1401489893: {'path': 'temp/1767069569_2178814_1401489893_8cb119414f061c9e97009f3101baf978.jpg', 'extension': 'jpg'}, 1401489896: {'path': 'temp/1767069569_2178814_1401489896_8b658dd5cd51ce443e7a46502458fdcb.jpg', 'extension': 'jpg'}, 1401489898: {'path': 'temp/1767069569_2178814_1401489898_83ca31ca391a82739134cf01198c579b.jpg', 'extension': 'jpg'}, 1401489900: {'path': 'temp/1767069569_2178814_1401489900_dec499a8029a8c8368899c133a5b9f40.jpg', 'extension': 'jpg'}, 1401489904: {'path': 'temp/1767069569_2178814_1401489904_eea6b0493379818d2f39abadb9495d08.jpg', 'extension': 'jpg'}, 1401490043: {'path': 'temp/1767069569_2178814_1401490043_a8ce372121d9de12ec19cab473e875db.jpg', 'extension': 'jpg'}, 1401490044: {'path': 'temp/1767069569_2178814_1401490044_c6a8d5f139034a419450eac4b7ef9a3f.jpg', 'extension': 'jpg'}, 1401490045: {'path': 'temp/1767069569_2178814_1401490045_024754f8c70f916a48ff92b145d6afc8.jpg', 'extension': 'jpg'}, 1401490071: {'path': 'temp/1767069569_2178814_1401490071_a9d20f53bcc3b87425c5f5c46202e27c.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 = 29766117; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29766117 group by h (('08', 38),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29766117 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 (29766117) 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 (29766117) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29122025 29766117 Nombre de photos uploadées : 38 / 23040 (0%) 29122025 29766117 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 29122025 29766117 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1401489505, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/14b67d6e302935a577f0ac9bf7ccb7bd.jpg', 'username': None, 'uploaded_at': 1766993467, 'text': 'image_29122025_08_30_04_009152m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1401489501, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/7a718213e26c3696d28ea07336daeb5a.jpg', 'username': None, 'uploaded_at': 1766993467, 'text': 'image_29122025_08_30_14_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1401489606, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/fc93597d8f00b6d972ebb78f19e0ad2c.jpg', 'username': None, 'uploaded_at': 1766993647, 'text': 'image_29122025_08_30_24_010133m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1401489750, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/29/931d6a79af3041f54bf5502371467b7d.jpg', 'username': None, 'uploaded_at': 1766993767, 'text': 'image_29122025_08_33_44_9124.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010061264038085938 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29766117, '2025-12-29' ) 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-12-29' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2804132,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24950337409973145 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= 2804132 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29759841, 'dashboard_result_id': 18825355, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29759841_30-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29759843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29759844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29759845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29759846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29759847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29759848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29759849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29759850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29759851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29759852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29759853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29759854, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29760025, 'dashboard_result_id': 18825356, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760025_30-12-2025_05_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29760034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760040, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29760415, 'dashboard_result_id': 18825357, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760415_30-12-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29760426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760431, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29760792, 'dashboard_result_id': 18825358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760792_30-12-2025_05_35_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29760799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760810, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29761190, 'dashboard_result_id': 18825359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761190_30-12-2025_05_36_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29761191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29761192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29761193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29761194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29761195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29761196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29761197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29761198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29761199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29761200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29761201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29761202, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29761669, 'dashboard_result_id': 18825360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761669_30-12-2025_05_36_13.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29761670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29761671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29761672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29761673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29761674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29761675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29761676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29761677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29761678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29761679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29761680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29761681, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29762108, 'dashboard_result_id': 18825361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762108_30-12-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29762112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29762113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29762114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29762115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29762116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29762117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29762118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29762119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29762120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29762121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29762122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29762123, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29762558, 'dashboard_result_id': 18825362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762558_30-12-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29762565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29762566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29762567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29762568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29762569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29762570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29762571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29762572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29762573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29762574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29762575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29762577, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29763091, 'dashboard_result_id': 18825363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763091_30-12-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29763114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29763115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29763116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29763117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29763118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29763119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29763120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29763121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29763122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29763123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29763124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29763125, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29763540, 'dashboard_result_id': 18825364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763540_30-12-2025_05_37_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29763548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29763549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29763550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29763551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29763552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29763553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29763554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29763555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29763556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29763557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29763558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29763559, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29764069, 'dashboard_result_id': 18825365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764069_30-12-2025_05_38_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764087, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29764454, 'dashboard_result_id': 18825366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764454_30-12-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764497, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29764909, 'dashboard_result_id': 18825367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764909_30-12-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764945, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29765674, 'dashboard_result_id': 18825368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29765674_29-12-2025_08_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29765699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29765700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29765701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29765702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29765703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29765704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29765705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29765706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29765707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29765708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29765709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29765710, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29766117, 'dashboard_result_id': 18825369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766117_29-12-2025_08_49_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29766151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29766152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29766153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29766154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29766155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29766156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29766157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29766158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29766159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29766160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29766161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29766162, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29766642, 'dashboard_result_id': 18825370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766642_29-12-2025_09_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29766643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29766644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29766645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29766646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29766647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29766648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29766649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29766650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29766651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29766652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29766653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29766654, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29767477, 'dashboard_result_id': 18825371, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767477_29-12-2025_09_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29767478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29767479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29767480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29767481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29767482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29767483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29767484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29767485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29767486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29767487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29767488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29767489, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29767665, 'dashboard_result_id': 18825372, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767665_29-12-2025_10_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29767668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29767669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29767670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29767671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29767672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29767673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29767674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29767675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29767676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29767677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29767678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29767679, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29768087, 'dashboard_result_id': 18825373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768087_29-12-2025_10_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29768134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29768135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29768136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29768137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29768138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29768139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29768140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29768141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29768142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29768143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29768144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29768145, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29768619, 'dashboard_result_id': 18825374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768619_29-12-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29768627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29768628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29768629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29768630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29768631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29768632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29768633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29768634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29768635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29768636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29768637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29768638, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29769133, 'dashboard_result_id': 18825375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29769133_29-12-2025_10_54_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29769134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29769135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29769136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29769137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29769138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29769139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29769140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29769141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29769142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29769143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29769144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29769145, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29770021, 'dashboard_result_id': 18825376, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770021_29-12-2025_11_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770071, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29770262, 'dashboard_result_id': 18825377, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770262_29-12-2025_11_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770335, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29770810, 'dashboard_result_id': 18825378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770810_29-12-2025_11_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770874, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29771257, 'dashboard_result_id': 18825379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771257_29-12-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29771260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29771261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29771262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29771263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29771264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29771265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29771266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29771267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29771268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29771269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29771270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29771271, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29771652, 'dashboard_result_id': 18825380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771652_29-12-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29771678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29771679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29771680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29771681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29771682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29771683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29771684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29771685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29771686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29771687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29771688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29771689, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29772124, 'dashboard_result_id': 18825381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772124_29-12-2025_12_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29772159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29772160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29772162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29772163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29772164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29772165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29772166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29772167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29772168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29772169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29772170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29772171, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29772905, 'dashboard_result_id': 18825382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772905_29-12-2025_12_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29772913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29772914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29772915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29772916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29772917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29772918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29772920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29772921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29772922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29772923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29772924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29772925, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29773378, 'dashboard_result_id': 18825383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29773378_29-12-2025_13_06_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29773397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29773398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29773400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29773401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29773402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29773403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29773404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29773405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29773406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29773407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29773408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29773409, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29774190, 'dashboard_result_id': 18825384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774190_29-12-2025_13_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29774195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774204, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29774327, 'dashboard_result_id': 18825385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774327_29-12-2025_13_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29774332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774343, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29774777, 'dashboard_result_id': 18825386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774777_29-12-2025_13_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29774784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774791, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29775073, 'dashboard_result_id': 18825387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775073_29-12-2025_14_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29775081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29775082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29775083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29775084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29775085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29775086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29775087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29775088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29775089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29775090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29775091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29775092, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29775744, 'dashboard_result_id': 18825388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775744_29-12-2025_14_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29775748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29775749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29775750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29775751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29775752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29775753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29775754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29775755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29775756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29775757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29775758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29775759, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29775993, 'dashboard_result_id': 18825389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775993_29-12-2025_14_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29776014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29776015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29776016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29776017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29776018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29776019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29776020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29776021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29776023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29776024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29776025, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29776384, 'dashboard_result_id': 18825390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29776384_29-12-2025_14_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29776418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29776419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29776420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29776421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29776422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29776423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29776424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29776425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29776426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29776427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29776428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29776430, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29777052, 'dashboard_result_id': 18825391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777052_29-12-2025_15_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29777073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29777074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29777075, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29777076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29777077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29777078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29777079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29777080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29777081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29777082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29777083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29777084, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29777400, 'dashboard_result_id': 18825392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777400_29-12-2025_15_20_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29777471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29777472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29777473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29777474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29777475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29777476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29777477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29777478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29777479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29777480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29777481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29777482, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29778749, 'dashboard_result_id': 18825393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29778749_29-12-2025_16_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29778767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29778768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29778769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29778770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29778771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29778772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29778773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29778774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29778775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29778776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29778777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29778778, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29779005, 'dashboard_result_id': 18825394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779005_29-12-2025_16_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29779009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779020, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29779427, 'dashboard_result_id': 18825395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779427_29-12-2025_16_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29779445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779453, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29779867, 'dashboard_result_id': 18825396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779867_29-12-2025_17_06_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29779881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779887, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29780382, 'dashboard_result_id': 18825397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29780382_29-12-2025_17_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29780391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29780392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29780393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29780394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29780395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29780396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29780397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29780398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29780399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29780400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29780401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29780402, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29781070, 'dashboard_result_id': 18825398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781070_29-12-2025_17_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29781102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781106, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29781472, 'dashboard_result_id': 18825399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781472_29-12-2025_17_47_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29781517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781521, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29781769, 'dashboard_result_id': 18825400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781769_29-12-2025_18_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29781774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781785, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29782307, 'dashboard_result_id': 18825401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782307_29-12-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782321, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29782673, 'dashboard_result_id': 18825402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782673_29-12-2025_19_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782696, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29782950, 'dashboard_result_id': 18825403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782950_29-12-2025_19_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782965, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29783294, 'dashboard_result_id': 18825404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783294_29-12-2025_19_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29783311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29783312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29783313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29783314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29783315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29783316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29783317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29783318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29783319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29783320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29783321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29783322, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29783838, 'dashboard_result_id': 18825405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783838_29-12-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29783842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29783843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29783844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29783845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29783846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29783847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29783848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29783849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29783850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29783851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29783852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29783853, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29784175, 'dashboard_result_id': 18825406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784175_29-12-2025_20_19_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29784194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29784195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29784196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29784197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29784198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29784199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29784200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29784201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29784202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29784203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29784204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29784205, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29784919, 'dashboard_result_id': 18825407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784919_29-12-2025_20_33_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29784940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29784941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29784942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29784943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29784944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29784945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29784946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29784947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29784948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29784949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29784950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29784951, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29785290, 'dashboard_result_id': 18825408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29785290_29-12-2025_21_04_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29785294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29785295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29785296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29785297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29785298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29785299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29785300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29785301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29785302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29785303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29785304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29785305, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29786281, 'dashboard_result_id': 18825409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786281_29-12-2025_21_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29786301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29786302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29786303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29786304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29786305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29786306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29786307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29786308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29786309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29786310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29786311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29786312, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29786628, 'dashboard_result_id': 18825410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786628_29-12-2025_21_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29786641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29786642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29786643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29786644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29786645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29786646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29786647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29786648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29786649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29786650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29786651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29786652, 'pht': 3726}}"}, {'dashboat_entry_day': 2804132, 'dashboard_run_id': 2816579, 'mtr_portfolio_id': 29787191, 'dashboard_result_id': 18825411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29787191_29-12-2025_22_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29787195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29787196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29787197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29787198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29787199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29787200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29787201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29787202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29787203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29787204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29787205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29787206, '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 = 29759841 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286595, 'mtr_portfolio_id': 29759841, 'created_at': datetime.datetime(2025, 12, 30, 5, 34, 29), 'result': '0.05708075561860494', 'result_long': None, 'result_double': None}] Qualite : 0.05708075561860494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29759841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29759841_30-12-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29759841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29759841_30-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29759843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29759844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29759845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29759846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29759847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29759848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29759849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29759850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29759851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29759852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29759853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29759854, 'pht': 3726}}" where mtr_portfolio_id = 29759841 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29759841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825355, 0.05708075561860494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29759841_30-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29759843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29759844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29759845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29759846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29759847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29759848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29759849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29759850, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29759851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29759852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29759853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29759854, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29760025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286596, 'mtr_portfolio_id': 29760025, 'created_at': datetime.datetime(2025, 12, 30, 5, 34, 58), 'result': '0.06684805249788722', 'result_long': None, 'result_double': None}] Qualite : 0.06684805249788722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29760025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760025_30-12-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29760025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760025_30-12-2025_05_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29760034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760040, 'pht': 3726}}" where mtr_portfolio_id = 29760025 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29760025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825356, 0.06684805249788722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760025_30-12-2025_05_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29760034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760040, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29760415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286597, 'mtr_portfolio_id': 29760415, 'created_at': datetime.datetime(2025, 12, 30, 5, 35, 27), 'result': '0.05745335699694585', 'result_long': None, 'result_double': None}] Qualite : 0.05745335699694585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29760415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760415_30-12-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29760415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760415_30-12-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29760426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760431, 'pht': 3726}}" where mtr_portfolio_id = 29760415 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29760415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825357, 0.05745335699694585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760415_30-12-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29760426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760431, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29760792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286598, 'mtr_portfolio_id': 29760792, 'created_at': datetime.datetime(2025, 12, 30, 5, 35, 30), 'result': '0.054777665341055694', 'result_long': None, 'result_double': None}] Qualite : 0.054777665341055694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29760792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760792_30-12-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29760792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760792_30-12-2025_05_35_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29760799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760810, 'pht': 3726}}" where mtr_portfolio_id = 29760792 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29760792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825358, 0.054777665341055694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29760792_30-12-2025_05_35_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29760799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29760800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29760801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29760802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29760803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29760804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29760805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29760806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29760807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29760808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29760809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29760810, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29761190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286599, 'mtr_portfolio_id': 29761190, 'created_at': datetime.datetime(2025, 12, 30, 5, 35, 59), 'result': '0.044807681681196636', 'result_long': None, 'result_double': None}] Qualite : 0.044807681681196636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29761190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761190_30-12-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29761190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761190_30-12-2025_05_36_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29761191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29761192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29761193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29761194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29761195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29761196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29761197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29761198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29761199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29761200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29761201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29761202, 'pht': 3726}}" where mtr_portfolio_id = 29761190 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29761190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825359, 0.044807681681196636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761190_30-12-2025_05_36_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29761191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29761192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29761193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29761194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29761195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29761196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29761197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29761198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29761199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29761200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29761201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29761202, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29761669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286600, 'mtr_portfolio_id': 29761669, 'created_at': datetime.datetime(2025, 12, 30, 5, 36, 9), 'result': '0.03903644568978023', 'result_long': None, 'result_double': None}] Qualite : 0.03903644568978023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29761669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761669_30-12-2025_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29761669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761669_30-12-2025_05_36_13.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29761670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29761671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29761672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29761673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29761674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29761675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29761676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29761677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29761678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29761679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29761680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29761681, 'pht': 3726}}" where mtr_portfolio_id = 29761669 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29761669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825360, 0.03903644568978023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29761669_30-12-2025_05_36_13.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29761670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29761671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29761672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29761673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29761674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29761675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29761676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29761677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29761678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29761679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29761680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29761681, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29762108 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286601, 'mtr_portfolio_id': 29762108, 'created_at': datetime.datetime(2025, 12, 30, 5, 36, 31), 'result': '0.026744333655664674', 'result_long': None, 'result_double': None}] Qualite : 0.026744333655664674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29762108 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762108_30-12-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29762108 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762108_30-12-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29762112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29762113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29762114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29762115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29762116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29762117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29762118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29762119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29762120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29762121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29762122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29762123, 'pht': 3726}}" where mtr_portfolio_id = 29762108 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29762108 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825361, 0.026744333655664674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762108_30-12-2025_05_36_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29762112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29762113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29762114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29762115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29762116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29762117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29762118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29762119, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29762120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29762121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29762122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29762123, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29762558 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286602, 'mtr_portfolio_id': 29762558, 'created_at': datetime.datetime(2025, 12, 30, 5, 36, 58), 'result': '0.04586598418511159', 'result_long': None, 'result_double': None}] Qualite : 0.04586598418511159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29762558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762558_30-12-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29762558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762558_30-12-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29762565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29762566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29762567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29762568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29762569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29762570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29762571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29762572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29762573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29762574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29762575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29762577, 'pht': 3726}}" where mtr_portfolio_id = 29762558 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29762558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825362, 0.04586598418511159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29762558_30-12-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29762565, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29762566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29762567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29762568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29762569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29762570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29762571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29762572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29762573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29762574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29762575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29762577, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29763091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286603, 'mtr_portfolio_id': 29763091, 'created_at': datetime.datetime(2025, 12, 30, 5, 37, 29), 'result': '0.046983137971147844', 'result_long': None, 'result_double': None}] Qualite : 0.046983137971147844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29763091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763091_30-12-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29763091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763091_30-12-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29763114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29763115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29763116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29763117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29763118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29763119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29763120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29763121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29763122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29763123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29763124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29763125, 'pht': 3726}}" where mtr_portfolio_id = 29763091 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29763091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825363, 0.046983137971147844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763091_30-12-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29763114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29763115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29763116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29763117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29763118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29763119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29763120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29763121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29763122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29763123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29763124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29763125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29763540 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286604, 'mtr_portfolio_id': 29763540, 'created_at': datetime.datetime(2025, 12, 30, 5, 37, 29), 'result': '0.03584361958849693', 'result_long': None, 'result_double': None}] Qualite : 0.03584361958849693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29763540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763540_30-12-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29763540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763540_30-12-2025_05_37_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29763548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29763549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29763550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29763551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29763552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29763553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29763554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29763555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29763556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29763557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29763558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29763559, 'pht': 3726}}" where mtr_portfolio_id = 29763540 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29763540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825364, 0.03584361958849693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29763540_30-12-2025_05_37_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29763548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29763549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29763550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29763551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29763552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29763553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29763554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29763555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29763556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29763557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29763558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29763559, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29764069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286605, 'mtr_portfolio_id': 29764069, 'created_at': datetime.datetime(2025, 12, 30, 5, 38), 'result': '0.039146251403449635', 'result_long': None, 'result_double': None}] Qualite : 0.039146251403449635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29764069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764069_30-12-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29764069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764069_30-12-2025_05_38_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764087, 'pht': 3726}}" where mtr_portfolio_id = 29764069 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29764069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825365, 0.039146251403449635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764069_30-12-2025_05_38_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29764454 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286606, 'mtr_portfolio_id': 29764454, 'created_at': datetime.datetime(2025, 12, 30, 5, 38, 28), 'result': '0.07023742586388484', 'result_long': None, 'result_double': None}] Qualite : 0.07023742586388484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29764454 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764454_30-12-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29764454 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764454_30-12-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764497, 'pht': 3726}}" where mtr_portfolio_id = 29764454 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29764454 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825366, 0.07023742586388484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764454_30-12-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29764909 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286607, 'mtr_portfolio_id': 29764909, 'created_at': datetime.datetime(2025, 12, 30, 5, 38, 59), 'result': '0.06537571548669209', 'result_long': None, 'result_double': None}] Qualite : 0.06537571548669209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29764909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764909_30-12-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29764909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764909_30-12-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764945, 'pht': 3726}}" where mtr_portfolio_id = 29764909 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29764909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825367, 0.06537571548669209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29764909_30-12-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29764934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29764935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29764936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29764937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29764938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29764939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29764940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29764941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29764942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29764943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29764944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29764945, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29765674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286608, 'mtr_portfolio_id': 29765674, 'created_at': datetime.datetime(2025, 12, 30, 5, 39, 31), 'result': '0.05415231064821701', 'result_long': None, 'result_double': None}] Qualite : 0.05415231064821701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29765674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29765674_29-12-2025_08_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29765674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29765674_29-12-2025_08_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29765699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29765700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29765701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29765702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29765703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29765704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29765705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29765706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29765707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29765708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29765709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29765710, 'pht': 3726}}" where mtr_portfolio_id = 29765674 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29765674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825368, 0.05415231064821701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29765674_29-12-2025_08_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29765699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29765700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29765701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29765702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29765703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29765704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29765705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29765706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29765707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29765708, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29765709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29765710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29766117 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4286609, 'mtr_portfolio_id': 29766117, 'created_at': datetime.datetime(2025, 12, 30, 5, 39, 29), 'result': '0.06320390655793529', 'result_long': None, 'result_double': None}] Qualite : 0.06320390655793529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29766117 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766117_30-12-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29766117 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766117_30-12-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29766151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29766152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29766153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29766154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29766155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29766156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29766157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29766158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29766159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29766160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29766161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29766162, 'pht': 3726}}" where mtr_portfolio_id = 29766117 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29766117 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825369, 0.06320390655793529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766117_30-12-2025_05_39_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29766151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29766152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29766153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29766154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29766155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29766156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29766157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29766158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29766159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29766160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29766161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29766162, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29766642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4282735, 'mtr_portfolio_id': 29766642, 'created_at': datetime.datetime(2025, 12, 29, 9, 2, 59), 'result': '0.05412083754821904', 'result_long': None, 'result_double': None}] Qualite : 0.05412083754821904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29766642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766642_29-12-2025_09_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29766642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766642_29-12-2025_09_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29766643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29766644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29766645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29766646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29766647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29766648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29766649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29766650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29766651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29766652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29766653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29766654, 'pht': 3726}}" where mtr_portfolio_id = 29766642 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29766642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825370, 0.05412083754821904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29766642_29-12-2025_09_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29766643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29766644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29766645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29766646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29766647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29766648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29766649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29766650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29766651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29766652, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29766653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29766654, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29767477 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4282864, 'mtr_portfolio_id': 29767477, 'created_at': datetime.datetime(2025, 12, 29, 9, 46, 58), 'result': '0.12418911248807929', 'result_long': None, 'result_double': None}] Qualite : 0.12418911248807929 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29767477 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767477_29-12-2025_09_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29767477 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767477_29-12-2025_09_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29767478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29767479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29767480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29767481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29767482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29767483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29767484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29767485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29767486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29767487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29767488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29767489, 'pht': 3726}}" where mtr_portfolio_id = 29767477 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29767477 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825371, 0.12418911248807929, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767477_29-12-2025_09_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29767478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29767479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29767480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29767481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29767482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29767483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29767484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29767485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29767486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29767487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29767488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29767489, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29767665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4282885, 'mtr_portfolio_id': 29767665, 'created_at': datetime.datetime(2025, 12, 29, 10, 2, 59), 'result': '0.05459227628170282', 'result_long': None, 'result_double': None}] Qualite : 0.05459227628170282 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29767665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767665_29-12-2025_10_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29767665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767665_29-12-2025_10_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29767668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29767669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29767670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29767671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29767672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29767673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29767674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29767675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29767676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29767677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29767678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29767679, 'pht': 3726}}" where mtr_portfolio_id = 29767665 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29767665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825372, 0.05459227628170282, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29767665_29-12-2025_10_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29767668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29767669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29767670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29767671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29767672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29767673, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29767674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29767675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29767676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29767677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29767678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29767679, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29768087 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4282941, 'mtr_portfolio_id': 29768087, 'created_at': datetime.datetime(2025, 12, 29, 10, 16, 59), 'result': '0.047152037568448206', 'result_long': None, 'result_double': None}] Qualite : 0.047152037568448206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29768087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768087_29-12-2025_10_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29768087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768087_29-12-2025_10_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29768134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29768135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29768136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29768137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29768138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29768139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29768140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29768141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29768142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29768143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29768144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29768145, 'pht': 3726}}" where mtr_portfolio_id = 29768087 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29768087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825373, 0.047152037568448206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768087_29-12-2025_10_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29768134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29768135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29768136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29768137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29768138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29768139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29768140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29768141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29768142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29768143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29768144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29768145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29768619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283006, 'mtr_portfolio_id': 29768619, 'created_at': datetime.datetime(2025, 12, 29, 10, 32, 59), 'result': '0.07655217277378325', 'result_long': None, 'result_double': None}] Qualite : 0.07655217277378325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29768619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768619_29-12-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29768619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768619_29-12-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29768627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29768628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29768629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29768630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29768631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29768632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29768633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29768634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29768635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29768636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29768637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29768638, 'pht': 3726}}" where mtr_portfolio_id = 29768619 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29768619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825374, 0.07655217277378325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29768619_29-12-2025_10_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29768627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29768628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29768629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29768630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29768631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29768632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29768633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29768634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29768635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29768636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29768637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29768638, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29769133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283080, 'mtr_portfolio_id': 29769133, 'created_at': datetime.datetime(2025, 12, 29, 10, 54, 58), 'result': '0.04852222538986073', 'result_long': None, 'result_double': None}] Qualite : 0.04852222538986073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29769133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29769133_29-12-2025_10_54_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29769133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29769133_29-12-2025_10_54_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29769134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29769135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29769136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29769137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29769138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29769139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29769140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29769141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29769142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29769143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29769144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29769145, 'pht': 3726}}" where mtr_portfolio_id = 29769133 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29769133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825375, 0.04852222538986073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29769133_29-12-2025_10_54_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29769134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29769135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29769136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29769137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29769138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29769139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29769140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29769141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29769142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29769143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29769144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29769145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29770021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283173, 'mtr_portfolio_id': 29770021, 'created_at': datetime.datetime(2025, 12, 29, 11, 3), 'result': '0.028859417652131635', 'result_long': None, 'result_double': None}] Qualite : 0.028859417652131635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29770021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770021_29-12-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29770021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770021_29-12-2025_11_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770071, 'pht': 3726}}" where mtr_portfolio_id = 29770021 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29770021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825376, 0.028859417652131635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770021_29-12-2025_11_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770071, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29770262 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283196, 'mtr_portfolio_id': 29770262, 'created_at': datetime.datetime(2025, 12, 29, 11, 19), 'result': '0.06942251952817603', 'result_long': None, 'result_double': None}] Qualite : 0.06942251952817603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29770262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770262_29-12-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29770262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770262_29-12-2025_11_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770335, 'pht': 3726}}" where mtr_portfolio_id = 29770262 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29770262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825377, 0.06942251952817603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770262_29-12-2025_11_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29770810 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283247, 'mtr_portfolio_id': 29770810, 'created_at': datetime.datetime(2025, 12, 29, 11, 32, 29), 'result': '0.05947469880358067', 'result_long': None, 'result_double': None}] Qualite : 0.05947469880358067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29770810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770810_29-12-2025_11_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29770810 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770810_29-12-2025_11_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770874, 'pht': 3726}}" where mtr_portfolio_id = 29770810 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29770810 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825378, 0.05947469880358067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29770810_29-12-2025_11_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29770863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29770864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29770865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29770866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29770867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29770868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29770869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29770870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29770871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29770872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29770873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29770874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29771257 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283321, 'mtr_portfolio_id': 29771257, 'created_at': datetime.datetime(2025, 12, 29, 11, 46, 59), 'result': '0.05399985850413568', 'result_long': None, 'result_double': None}] Qualite : 0.05399985850413568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29771257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771257_29-12-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29771257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771257_29-12-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29771260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29771261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29771262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29771263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29771264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29771265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29771266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29771267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29771268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29771269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29771270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29771271, 'pht': 3726}}" where mtr_portfolio_id = 29771257 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29771257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825379, 0.05399985850413568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771257_29-12-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29771260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29771261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29771262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29771263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29771264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29771265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29771266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29771267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29771268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29771269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29771270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29771271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29771652 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283371, 'mtr_portfolio_id': 29771652, 'created_at': datetime.datetime(2025, 12, 29, 12, 3), 'result': '0.05989100033748124', 'result_long': None, 'result_double': None}] Qualite : 0.05989100033748124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29771652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771652_29-12-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29771652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771652_29-12-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29771678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29771679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29771680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29771681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29771682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29771683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29771684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29771685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29771686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29771687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29771688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29771689, 'pht': 3726}}" where mtr_portfolio_id = 29771652 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29771652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825380, 0.05989100033748124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29771652_29-12-2025_12_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29771678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29771679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29771680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29771681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29771682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29771683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29771684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29771685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29771686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29771687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29771688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29771689, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29772124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283461, 'mtr_portfolio_id': 29772124, 'created_at': datetime.datetime(2025, 12, 29, 12, 19, 1), 'result': '0.05353284923463343', 'result_long': None, 'result_double': None}] Qualite : 0.05353284923463343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29772124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772124_29-12-2025_12_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29772124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772124_29-12-2025_12_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29772159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29772160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29772162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29772163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29772164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29772165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29772166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29772167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29772168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29772169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29772170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29772171, 'pht': 3726}}" where mtr_portfolio_id = 29772124 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29772124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825381, 0.05353284923463343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772124_29-12-2025_12_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29772159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29772160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29772162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29772163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29772164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29772165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29772166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29772167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29772168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29772169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29772170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29772171, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29772905 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283532, 'mtr_portfolio_id': 29772905, 'created_at': datetime.datetime(2025, 12, 29, 12, 32, 59), 'result': '0.03966797458702354', 'result_long': None, 'result_double': None}] Qualite : 0.03966797458702354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29772905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772905_29-12-2025_12_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29772905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772905_29-12-2025_12_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29772913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29772914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29772915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29772916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29772917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29772918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29772920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29772921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29772922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29772923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29772924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29772925, 'pht': 3726}}" where mtr_portfolio_id = 29772905 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29772905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825382, 0.03966797458702354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29772905_29-12-2025_12_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29772913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29772914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29772915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29772916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29772917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29772918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29772920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29772921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29772922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29772923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29772924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29772925, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29773378 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283590, 'mtr_portfolio_id': 29773378, 'created_at': datetime.datetime(2025, 12, 29, 13, 6, 31), 'result': '0.042004718058045974', 'result_long': None, 'result_double': None}] Qualite : 0.042004718058045974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29773378 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29773378_29-12-2025_13_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29773378 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29773378_29-12-2025_13_06_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29773397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29773398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29773400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29773401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29773402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29773403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29773404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29773405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29773406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29773407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29773408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29773409, 'pht': 3726}}" where mtr_portfolio_id = 29773378 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29773378 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825383, 0.042004718058045974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29773378_29-12-2025_13_06_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29773397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29773398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29773400, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29773401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29773402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29773403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29773404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29773405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29773406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29773407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29773408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29773409, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29774190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283722, 'mtr_portfolio_id': 29774190, 'created_at': datetime.datetime(2025, 12, 29, 13, 16, 59), 'result': '0.030183100429531585', 'result_long': None, 'result_double': None}] Qualite : 0.030183100429531585 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29774190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774190_29-12-2025_13_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29774190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774190_29-12-2025_13_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29774195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774204, 'pht': 3726}}" where mtr_portfolio_id = 29774190 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29774190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825384, 0.030183100429531585, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774190_29-12-2025_13_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29774195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774204, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29774327 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283733, 'mtr_portfolio_id': 29774327, 'created_at': datetime.datetime(2025, 12, 29, 13, 34, 59), 'result': '0.07544743194364643', 'result_long': None, 'result_double': None}] Qualite : 0.07544743194364643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29774327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774327_29-12-2025_13_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29774327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774327_29-12-2025_13_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29774332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774343, 'pht': 3726}}" where mtr_portfolio_id = 29774327 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29774327 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825385, 0.07544743194364643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774327_29-12-2025_13_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29774332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774343, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29774777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283788, 'mtr_portfolio_id': 29774777, 'created_at': datetime.datetime(2025, 12, 29, 13, 47), 'result': '0.07440135643375823', 'result_long': None, 'result_double': None}] Qualite : 0.07440135643375823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29774777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774777_29-12-2025_13_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29774777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774777_29-12-2025_13_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29774784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774791, 'pht': 3726}}" where mtr_portfolio_id = 29774777 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29774777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825386, 0.07440135643375823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29774777_29-12-2025_13_47_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29774780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29774781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29774782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29774783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29774784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29774785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29774786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29774787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29774788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29774789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29774790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29774791, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29775073 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283827, 'mtr_portfolio_id': 29775073, 'created_at': datetime.datetime(2025, 12, 29, 14, 2, 57), 'result': '0.06031871430324952', 'result_long': None, 'result_double': None}] Qualite : 0.06031871430324952 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29775073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775073_29-12-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29775073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775073_29-12-2025_14_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29775081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29775082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29775083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29775084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29775085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29775086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29775087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29775088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29775089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29775090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29775091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29775092, 'pht': 3726}}" where mtr_portfolio_id = 29775073 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29775073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825387, 0.06031871430324952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775073_29-12-2025_14_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29775081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29775082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29775083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29775084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29775085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29775086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29775087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29775088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29775089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29775090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29775091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29775092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29775744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283950, 'mtr_portfolio_id': 29775744, 'created_at': datetime.datetime(2025, 12, 29, 14, 19), 'result': '0.06522809419963121', 'result_long': None, 'result_double': None}] Qualite : 0.06522809419963121 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29775744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775744_29-12-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29775744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775744_29-12-2025_14_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29775748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29775749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29775750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29775751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29775752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29775753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29775754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29775755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29775756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29775757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29775758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29775759, 'pht': 3726}}" where mtr_portfolio_id = 29775744 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29775744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825388, 0.06522809419963121, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775744_29-12-2025_14_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29775748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29775749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29775750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29775751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29775752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29775753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29775754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29775755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29775756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29775757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29775758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29775759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29775993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4283977, 'mtr_portfolio_id': 29775993, 'created_at': datetime.datetime(2025, 12, 29, 14, 32, 59), 'result': '0.05129565516443627', 'result_long': None, 'result_double': None}] Qualite : 0.05129565516443627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29775993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775993_29-12-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29775993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775993_29-12-2025_14_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29776014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29776015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29776016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29776017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29776018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29776019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29776020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29776021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29776023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29776024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29776025, 'pht': 3726}}" where mtr_portfolio_id = 29775993 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29775993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825389, 0.05129565516443627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29775993_29-12-2025_14_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29776014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29776015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29776016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29776017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29776018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29776019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29776020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29776021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29776022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29776023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29776024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29776025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29776384 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284043, 'mtr_portfolio_id': 29776384, 'created_at': datetime.datetime(2025, 12, 29, 14, 48, 59), 'result': '0.058735730817289764', 'result_long': None, 'result_double': None}] Qualite : 0.058735730817289764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29776384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29776384_29-12-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29776384 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29776384_29-12-2025_14_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29776418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29776419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29776420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29776421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29776422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29776423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29776424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29776425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29776426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29776427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29776428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29776430, 'pht': 3726}}" where mtr_portfolio_id = 29776384 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29776384 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825390, 0.058735730817289764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29776384_29-12-2025_14_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29776418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29776419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29776420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29776421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29776422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29776423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29776424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29776425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29776426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29776427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29776428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29776430, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29777052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284113, 'mtr_portfolio_id': 29777052, 'created_at': datetime.datetime(2025, 12, 29, 15, 2, 59), 'result': '0.04878737780224383', 'result_long': None, 'result_double': None}] Qualite : 0.04878737780224383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29777052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777052_29-12-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29777052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777052_29-12-2025_15_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29777073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29777074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29777075, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29777076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29777077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29777078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29777079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29777080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29777081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29777082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29777083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29777084, 'pht': 3726}}" where mtr_portfolio_id = 29777052 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29777052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825391, 0.04878737780224383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777052_29-12-2025_15_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29777073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29777074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29777075, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29777076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29777077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29777078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29777079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29777080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29777081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29777082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29777083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29777084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29777400 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284198, 'mtr_portfolio_id': 29777400, 'created_at': datetime.datetime(2025, 12, 29, 15, 20, 59), 'result': '0.043635163383535874', 'result_long': None, 'result_double': None}] Qualite : 0.043635163383535874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29777400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777400_29-12-2025_15_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29777400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777400_29-12-2025_15_20_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29777471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29777472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29777473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29777474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29777475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29777476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29777477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29777478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29777479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29777480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29777481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29777482, 'pht': 3726}}" where mtr_portfolio_id = 29777400 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29777400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825392, 0.043635163383535874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29777400_29-12-2025_15_20_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29777471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29777472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29777473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29777474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29777475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29777476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29777477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29777478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29777479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29777480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29777481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29777482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29778749 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284391, 'mtr_portfolio_id': 29778749, 'created_at': datetime.datetime(2025, 12, 29, 16, 16, 58), 'result': '0.05117182441145193', 'result_long': None, 'result_double': None}] Qualite : 0.05117182441145193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29778749 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29778749_29-12-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29778749 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29778749_29-12-2025_16_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29778767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29778768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29778769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29778770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29778771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29778772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29778773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29778774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29778775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29778776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29778777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29778778, 'pht': 3726}}" where mtr_portfolio_id = 29778749 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29778749 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825393, 0.05117182441145193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29778749_29-12-2025_16_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29778767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29778768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29778769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29778770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29778771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29778772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29778773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29778774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29778775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29778776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29778777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29778778, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29779005 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284408, 'mtr_portfolio_id': 29779005, 'created_at': datetime.datetime(2025, 12, 29, 16, 33), 'result': '0.05587308057514997', 'result_long': None, 'result_double': None}] Qualite : 0.05587308057514997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29779005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779005_29-12-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29779005 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779005_29-12-2025_16_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29779009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779020, 'pht': 3726}}" where mtr_portfolio_id = 29779005 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29779005 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825394, 0.05587308057514997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779005_29-12-2025_16_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29779009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779020, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29779427 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284470, 'mtr_portfolio_id': 29779427, 'created_at': datetime.datetime(2025, 12, 29, 16, 46, 59), 'result': '0.08066051618703798', 'result_long': None, 'result_double': None}] Qualite : 0.08066051618703798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29779427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779427_29-12-2025_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29779427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779427_29-12-2025_16_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29779445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779453, 'pht': 3726}}" where mtr_portfolio_id = 29779427 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29779427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825395, 0.08066051618703798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779427_29-12-2025_16_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29779445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779452, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779453, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29779867 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284535, 'mtr_portfolio_id': 29779867, 'created_at': datetime.datetime(2025, 12, 29, 17, 6, 57), 'result': '0.05842838497005544', 'result_long': None, 'result_double': None}] Qualite : 0.05842838497005544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29779867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779867_29-12-2025_17_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29779867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779867_29-12-2025_17_06_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29779881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779887, 'pht': 3726}}" where mtr_portfolio_id = 29779867 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29779867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825396, 0.05842838497005544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29779867_29-12-2025_17_06_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29779876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29779877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29779878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29779879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29779880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29779881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29779882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29779883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29779884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29779885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29779886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29779887, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29780382 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284630, 'mtr_portfolio_id': 29780382, 'created_at': datetime.datetime(2025, 12, 29, 17, 19, 1), 'result': '0.058525359356280296', 'result_long': None, 'result_double': None}] Qualite : 0.058525359356280296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29780382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29780382_29-12-2025_17_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29780382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29780382_29-12-2025_17_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29780391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29780392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29780393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29780394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29780395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29780396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29780397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29780398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29780399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29780400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29780401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29780402, 'pht': 3726}}" where mtr_portfolio_id = 29780382 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29780382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825397, 0.058525359356280296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29780382_29-12-2025_17_19_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29780391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29780392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29780393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29780394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29780395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29780396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29780397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29780398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29780399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29780400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29780401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29780402, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29781070 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284711, 'mtr_portfolio_id': 29781070, 'created_at': datetime.datetime(2025, 12, 29, 17, 32, 59), 'result': '0.04445132560981247', 'result_long': None, 'result_double': None}] Qualite : 0.04445132560981247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29781070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781070_29-12-2025_17_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29781070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781070_29-12-2025_17_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29781102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781106, 'pht': 3726}}" where mtr_portfolio_id = 29781070 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29781070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825398, 0.04445132560981247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781070_29-12-2025_17_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29781102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781106, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29781472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284767, 'mtr_portfolio_id': 29781472, 'created_at': datetime.datetime(2025, 12, 29, 17, 47, 31), 'result': '0.05670522349468126', 'result_long': None, 'result_double': None}] Qualite : 0.05670522349468126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29781472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781472_29-12-2025_17_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29781472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781472_29-12-2025_17_47_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29781517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781521, 'pht': 3726}}" where mtr_portfolio_id = 29781472 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29781472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825399, 0.05670522349468126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781472_29-12-2025_17_47_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29781517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29781769 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284798, 'mtr_portfolio_id': 29781769, 'created_at': datetime.datetime(2025, 12, 29, 18, 2, 58), 'result': '0.07146078352716209', 'result_long': None, 'result_double': None}] Qualite : 0.07146078352716209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29781769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781769_29-12-2025_18_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29781769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781769_29-12-2025_18_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29781774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781785, 'pht': 3726}}" where mtr_portfolio_id = 29781769 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29781769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825400, 0.07146078352716209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29781769_29-12-2025_18_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29781774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29781775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29781776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29781777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29781778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29781779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29781780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29781781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29781782, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29781783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29781784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29781785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29782307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284925, 'mtr_portfolio_id': 29782307, 'created_at': datetime.datetime(2025, 12, 29, 19, 2, 59), 'result': '0.054334835781533926', 'result_long': None, 'result_double': None}] Qualite : 0.054334835781533926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29782307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782307_29-12-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29782307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782307_29-12-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782321, 'pht': 3726}}" where mtr_portfolio_id = 29782307 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29782307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825401, 0.054334835781533926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782307_29-12-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782321, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29782673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4284988, 'mtr_portfolio_id': 29782673, 'created_at': datetime.datetime(2025, 12, 29, 19, 18, 59), 'result': '0.0483369389313569', 'result_long': None, 'result_double': None}] Qualite : 0.0483369389313569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29782673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782673_29-12-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29782673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782673_29-12-2025_19_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782696, 'pht': 3726}}" where mtr_portfolio_id = 29782673 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29782673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825402, 0.0483369389313569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782673_29-12-2025_19_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782696, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29782950 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285019, 'mtr_portfolio_id': 29782950, 'created_at': datetime.datetime(2025, 12, 29, 19, 32, 59), 'result': '0.0512941717328648', 'result_long': None, 'result_double': None}] Qualite : 0.0512941717328648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29782950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782950_29-12-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29782950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782950_29-12-2025_19_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782965, 'pht': 3726}}" where mtr_portfolio_id = 29782950 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29782950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825403, 0.0512941717328648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29782950_29-12-2025_19_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29782954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29782955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29782956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29782957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29782958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29782959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29782960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29782961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29782962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29782963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29782964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29782965, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29783294 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285066, 'mtr_portfolio_id': 29783294, 'created_at': datetime.datetime(2025, 12, 29, 19, 49), 'result': '0.040717734909499266', 'result_long': None, 'result_double': None}] Qualite : 0.040717734909499266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29783294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783294_29-12-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29783294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783294_29-12-2025_19_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29783311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29783312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29783313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29783314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29783315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29783316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29783317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29783318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29783319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29783320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29783321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29783322, 'pht': 3726}}" where mtr_portfolio_id = 29783294 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29783294 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825404, 0.040717734909499266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783294_29-12-2025_19_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29783311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29783312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29783313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29783314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29783315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29783316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29783317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29783318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29783319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29783320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29783321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29783322, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29783838 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285129, 'mtr_portfolio_id': 29783838, 'created_at': datetime.datetime(2025, 12, 29, 20, 2, 59), 'result': '0.05969323293789237', 'result_long': None, 'result_double': None}] Qualite : 0.05969323293789237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29783838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783838_29-12-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29783838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783838_29-12-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29783842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29783843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29783844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29783845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29783846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29783847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29783848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29783849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29783850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29783851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29783852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29783853, 'pht': 3726}}" where mtr_portfolio_id = 29783838 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29783838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825405, 0.05969323293789237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29783838_29-12-2025_20_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29783842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29783843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29783844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29783845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29783846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29783847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29783848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29783849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29783850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29783851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29783852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29783853, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29784175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285194, 'mtr_portfolio_id': 29784175, 'created_at': datetime.datetime(2025, 12, 29, 20, 19, 28), 'result': '0.05120005934740104', 'result_long': None, 'result_double': None}] Qualite : 0.05120005934740104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29784175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784175_29-12-2025_20_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29784175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784175_29-12-2025_20_19_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29784194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29784195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29784196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29784197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29784198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29784199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29784200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29784201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29784202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29784203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29784204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29784205, 'pht': 3726}}" where mtr_portfolio_id = 29784175 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29784175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825406, 0.05120005934740104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784175_29-12-2025_20_19_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29784194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29784195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29784196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29784197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29784198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29784199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29784200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29784201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29784202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29784203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29784204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29784205, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29784919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285270, 'mtr_portfolio_id': 29784919, 'created_at': datetime.datetime(2025, 12, 29, 20, 33, 28), 'result': '0.056731780855631554', 'result_long': None, 'result_double': None}] Qualite : 0.056731780855631554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29784919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784919_29-12-2025_20_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29784919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784919_29-12-2025_20_33_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29784940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29784941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29784942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29784943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29784944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29784945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29784946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29784947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29784948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29784949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29784950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29784951, 'pht': 3726}}" where mtr_portfolio_id = 29784919 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29784919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825407, 0.056731780855631554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29784919_29-12-2025_20_33_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29784940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29784941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29784942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29784943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29784944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29784945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29784946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29784947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29784948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29784949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29784950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29784951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29785290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285323, 'mtr_portfolio_id': 29785290, 'created_at': datetime.datetime(2025, 12, 29, 21, 4, 58), 'result': '0.06747670791248374', 'result_long': None, 'result_double': None}] Qualite : 0.06747670791248374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29785290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29785290_29-12-2025_21_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29785290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29785290_29-12-2025_21_04_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29785294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29785295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29785296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29785297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29785298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29785299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29785300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29785301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29785302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29785303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29785304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29785305, 'pht': 3726}}" where mtr_portfolio_id = 29785290 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29785290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825408, 0.06747670791248374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29785290_29-12-2025_21_04_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29785294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29785295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29785296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29785297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29785298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29785299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29785300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29785301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29785302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29785303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29785304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29785305, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29786281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285458, 'mtr_portfolio_id': 29786281, 'created_at': datetime.datetime(2025, 12, 29, 21, 32, 59), 'result': '0.0601267997702634', 'result_long': None, 'result_double': None}] Qualite : 0.0601267997702634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29786281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786281_29-12-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29786281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786281_29-12-2025_21_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29786301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29786302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29786303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29786304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29786305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29786306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29786307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29786308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29786309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29786310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29786311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29786312, 'pht': 3726}}" where mtr_portfolio_id = 29786281 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29786281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825409, 0.0601267997702634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786281_29-12-2025_21_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29786301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29786302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29786303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29786304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29786305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29786306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29786307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29786308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29786309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29786310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29786311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29786312, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29786628 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285502, 'mtr_portfolio_id': 29786628, 'created_at': datetime.datetime(2025, 12, 29, 21, 47, 1), 'result': '0.039037219512718', 'result_long': None, 'result_double': None}] Qualite : 0.039037219512718 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29786628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786628_29-12-2025_21_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29786628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786628_29-12-2025_21_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29786641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29786642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29786643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29786644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29786645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29786646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29786647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29786648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29786649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29786650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29786651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29786652, 'pht': 3726}}" where mtr_portfolio_id = 29786628 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29786628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825410, 0.039037219512718, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29786628_29-12-2025_21_47_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29786641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29786642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29786643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29786644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29786645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29786646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29786647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29786648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29786649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29786650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29786651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29786652, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29787191 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4285576, 'mtr_portfolio_id': 29787191, 'created_at': datetime.datetime(2025, 12, 29, 22, 3, 1), 'result': '0.060989184580809534', 'result_long': None, 'result_double': None}] Qualite : 0.060989184580809534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29787191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29787191_29-12-2025_22_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29787191 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29787191_29-12-2025_22_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29787195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29787196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29787197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29787198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29787199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29787200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29787201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29787202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29787203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29787204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29787205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29787206, 'pht': 3726}}" where mtr_portfolio_id = 29787191 and dashboard_run_id = 2816579 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29787191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18825411, 0.060989184580809534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29787191_29-12-2025_22_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29787195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29787196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29787197, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29787198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29787199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29787200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29787201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29787202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29787203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29787204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29787205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29787206, '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 (29759841,29760025,29760415,29760792,29761190,29761669,29762108,29762558,29763091,29763540,29764069,29764454,29764909,29765674,29766117,29766642,29767477,29767665,29768087,29768619,29769133,29770021,29770262,29770810,29771257,29771652,29772124,29772905,29773378,29774190,29774327,29774777,29775073,29775744,29775993,29776384,29777052,29777400,29778749,29779005,29779427,29779867,29780382,29781070,29781472,29781769,29782307,29782673,29782950,29783294,29783838,29784175,29784919,29785290,29786281,29786628,29787191) result : ((1401477787,), (1401477791,), (1401477793,), (1401477855,), (1401477873,), (1401477875,), (1401477887,), (1401477888,), (1401477889,), (1401477891,), (1401477894,), (1401477905,), (1401477907,), (1401477922,), (1401477923,), (1401477924,), (1401477925,), (1401477927,), (1401477947,), (1401477950,), (1401477952,), (1401477955,), (1401477965,), (1401477967,), (1401477969,), (1401477971,), (1401477975,), (1401477977,), (1401478008,), (1401478009,), (1401478015,), (1401478019,), (1401478021,), (1401478023,), (1401478026,), (1401478001,), (1401478003,), (1401478005,), (1401478007,), (1401478031,), (1401478032,), (1401478033,), (1401478047,), (1401478049,), (1401478051,), (1401478054,), (1401478056,), (1401478067,), (1401478070,), (1401478073,), (1401478076,), (1401478079,), (1401478108,), (1401478111,), (1401478112,), (1401478113,), (1401478114,), (1401478125,), (1401478126,), (1401478128,), (1401478162,), (1401478164,), (1401478168,), (1401478170,), (1401478173,), (1401478175,), (1401478198,), (1401478202,), (1401478206,), (1401478208,), (1401478215,), (1401478218,), (1401478248,), (1401478252,), (1401478255,), (1401478267,), (1401478270,), (1401478278,), (1401478281,), (1401478283,), (1401478286,), (1401478294,), (1401478296,), (1401478298,), (1401478301,), (1401478304,), (1401478306,), (1401478339,), (1401478352,), (1401478369,), (1401478372,), (1401478373,), (1401478375,), (1401478376,), (1401478396,), (1401478402,), (1401478404,), (1401478406,), (1401478417,), (1401478420,), (1401478422,), (1401478424,), (1401478427,), (1401478429,), (1401478444,), (1401478447,), (1401478448,), (1401478496,), (1401478493,), (1401478494,), (1401478495,), (1401478514,), (1401478517,), (1401478518,), (1401478520,), (1401478522,), (1401478525,), (1401478541,), (1401478543,), (1401478546,), (1401478549,), (1401478552,), (1401478561,), (1401478568,), (1401478569,), (1401478571,), (1401478578,), (1401478579,), (1401478581,), (1401478583,), (1401478585,), (1401478588,), (1401478596,), (1401478598,), (1401478599,), (1401478600,), (1401478624,), (1401478626,), (1401478627,), (1401478628,), (1401478639,), (1401478640,), (1401478641,), (1401478643,), (1401478646,), (1401478691,), (1401478693,), (1401478695,), (1401478697,), (1401478700,), (1401478714,), (1401478715,), (1401478716,), (1401478717,), (1401478740,), (1401478742,), (1401478743,), (1401478745,), (1401478748,), (1401478759,), (1401478761,), (1401478763,), (1401478765,), (1401478768,), (1401478788,), (1401478790,), (1401478791,), (1401478792,), (1401478794,), (1401478807,), (1401478808,), (1401478809,), (1401478841,), (1401478842,), (1401478843,), (1401478845,), (1401478847,), (1401478856,), (1401478860,), (1401478862,), (1401478864,), (1401478867,), (1401478870,), (1401478898,), (1401478896,), (1401478897,), (1401478910,), (1401478911,), (1401478912,), (1401478914,), (1401478917,), (1401478920,), (1401478928,), (1401478930,), (1401478932,), (1401478933,), (1401478948,), (1401478950,), (1401478951,), (1401478952,), (1401478954,), (1401478956,), (1401478978,), (1401478979,), (1401478980,), (1401478982,), (1401478985,), (1401478988,), (1401478997,), (1401478999,), (1401479001,), (1401479003,), (1401479026,), (1401479032,), (1401479033,), (1401479034,), (1401479036,), (1401479038,), (1401479049,), (1401479050,), (1401479051,), (1401479053,), (1401479085,), (1401479087,), (1401479088,), (1401479091,), (1401479094,), (1401479107,), (1401479109,), (1401479110,), (1401479111,), (1401479113,), (1401479114,), (1401479143,), (1401479146,), (1401479148,), (1401479151,), (1401479153,), (1401479155,), (1401479162,), (1401479165,), (1401479190,), (1401479194,), (1401479195,), (1401479197,), (1401479216,), (1401479220,), (1401479223,), (1401479226,), (1401479235,), (1401479236,), (1401479237,), (1401479238,), (1401479239,), (1401479240,), (1401479253,), (1401479248,), (1401479251,), (1401479273,), (1401479274,), (1401479276,), (1401479279,), (1401479304,), (1401479306,), (1401479309,), (1401479311,), (1401479313,), (1401479314,), (1401479340,), (1401479342,), (1401479344,), (1401479346,), (1401479349,), (1401479351,), (1401479366,), (1401479369,), (1401479371,), (1401479373,), (1401479393,), (1401479394,), (1401479397,), (1401479402,), (1401479411,), (1401479414,), (1401479420,), (1401479422,), (1401479430,), (1401479435,), (1401479444,), (1401479448,), (1401479450,), (1401479471,), (1401479474,), (1401479476,), (1401479477,), (1401479479,), (1401479492,), (1401479493,), (1401479495,), (1401479521,), (1401479523,), (1401479525,), (1401479552,), (1401479553,), (1401479554,), (1401479555,), (1401479558,), (1401479577,), (1401479578,), (1401479579,), (1401479581,), (1401479583,), (1401479611,), (1401479614,), (1401479616,), (1401479617,), (1401479646,), (1401479656,), (1401479659,), (1401479660,), (1401479682,), (1401479684,), (1401479687,), (1401479693,), (1401479729,), (1401479727,), (1401479746,), (1401479748,), (1401479749,), (1401479750,), (1401479753,), (1401479755,), (1401479774,), (1401479777,), (1401479781,), (1401479786,), (1401479792,), (1401479812,), (1401479814,), (1401479816,), (1401479818,), (1401479821,), (1401479848,), (1401479850,), (1401479851,), (1401479869,), (1401479871,), (1401479872,), (1401479874,), (1401479877,), (1401479879,), (1401479897,), (1401479900,), (1401479903,), (1401479928,), (1401479930,), (1401479932,), (1401479934,), (1401479936,), (1401479938,), (1401479948,), (1401479958,), (1401479960,), (1401479987,), (1401479992,), (1401479995,), (1401479998,), (1401480002,), (1401480018,), (1401480021,), (1401480023,), (1401480045,), (1401480050,), (1401480052,), (1401480056,), (1401480060,), (1401480064,), (1401480089,), (1401480091,), (1401480093,), (1401480095,), (1401480113,), (1401480115,), (1401480116,), (1401480149,), (1401480150,), (1401480152,), (1401480154,), (1401480186,), (1401480180,), (1401480182,), (1401480184,), (1401480213,), (1401480215,), (1401480216,), (1401480217,), (1401480233,), (1401480235,), (1401480236,), (1401480238,), (1401480242,), (1401480263,), (1401480265,), (1401480267,), (1401480293,), (1401480295,), (1401480296,), (1401480322,), (1401480323,), (1401480325,), (1401480328,), (1401480331,), (1401480334,), (1401480340,), (1401480341,), (1401480347,), (1401480349,), (1401480352,), (1401480355,), (1401480358,), (1401480379,), (1401480382,), (1401480399,), (1401480402,), (1401480404,), (1401480435,), (1401480437,), (1401480439,), (1401480441,), (1401480457,), (1401480459,), (1401480462,), (1401480466,), (1401480492,), (1401480495,), (1401480497,), (1401480512,), (1401480514,), (1401480516,), (1401480519,), (1401480544,), (1401480547,), (1401480550,), (1401480569,), (1401480572,), (1401480574,), (1401480614,), (1401480609,), (1401480612,), (1401480632,), (1401480634,), (1401480637,), (1401480639,), (1401480664,), (1401480665,), (1401480668,), (1401480670,), (1401480674,), (1401480692,), (1401480694,), (1401480695,), (1401480696,), (1401480720,), (1401480721,), (1401480722,), (1401480741,), (1401480742,), (1401480744,), (1401480746,), (1401480750,), (1401480766,), (1401480768,), (1401480769,), (1401480790,), (1401480792,), (1401480795,), (1401480800,), (1401480831,), (1401480833,), (1401480835,), (1401480837,), (1401480855,), (1401480856,), (1401480879,), (1401480880,), (1401480881,), (1401480883,), (1401480905,), (1401480907,), (1401480909,), (1401480911,), (1401480935,), (1401480936,), (1401480937,), (1401480938,), (1401481307,), (1401481405,), (1401481425,), (1401481430,), (1401481445,), (1401481469,), (1401481812,), (1401481708,), (1401481742,), (1401481777,), (1401482035,), (1401482073,), (1401482106,), (1401482143,), (1401482179,), (1401482280,), (1401482306,), (1401482340,), (1401482378,), (1401482710,), (1401482714,), (1401482716,), (1401482718,), (1401482885,), (1401482888,), (1401482889,), (1401482890,), (1401483119,), (1401483203,), (1401483287,), (1401483381,), (1401483482,), (1401483698,), (1401483699,), (1401483733,), (1401483735,), (1401483763,), (1401483772,), (1401483798,), (1401483800,), (1401483801,), (1401483802,), (1401483805,), (1401483806,), (1401483821,), (1401483822,), (1401483823,), (1401483860,), (1401483862,), (1401483864,), (1401483867,), (1401483888,), (1401483890,), (1401483927,), (1401483928,), (1401483929,), (1401483931,), (1401483934,), (1401483955,), (1401483958,), (1401483960,), (1401483962,), (1401483965,), (1401484004,), (1401484008,), (1401484010,), (1401484034,), (1401484035,), (1401484037,), (1401484039,), (1401484075,), (1401484066,), (1401484069,), (1401484072,), (1401484094,), (1401484097,), (1401484100,), (1401484103,), (1401484107,), (1401484122,), (1401484124,), (1401484126,), (1401484128,), (1401484155,), (1401484161,), (1401484162,), (1401484165,), (1401484168,), (1401484171,), (1401484188,), (1401484192,), (1401484195,), (1401484198,), (1401484201,), (1401484225,), (1401484228,), (1401484229,), (1401484230,), (1401484253,), (1401484259,), (1401484263,), (1401484291,), (1401484293,), (1401484296,), (1401484299,), (1401484303,), (1401484306,), (1401484326,), (1401484328,), (1401484330,), (1401484332,), (1401484349,), (1401484352,), (1401484355,), (1401484379,), (1401484383,), (1401484385,), (1401484387,), (1401484408,), (1401484410,), (1401484411,), (1401484413,), (1401484417,), (1401484445,), (1401484450,), (1401484452,), (1401484454,), (1401484458,), (1401484461,), (1401484486,), (1401484488,), (1401484489,), (1401484517,), (1401484524,), (1401484526,), (1401484528,), (1401484574,), (1401484557,), (1401484562,), (1401484564,), (1401484568,), (1401484571,), (1401484586,), (1401484588,), (1401484589,), (1401484590,), (1401484593,), (1401484612,), (1401484613,), (1401484615,), (1401484618,), (1401484621,), (1401484625,), (1401484637,), (1401484639,), (1401484641,), (1401484642,), (1401484643,), (1401484645,), (1401484648,), (1401484651,), (1401484655,), (1401484676,), (1401484682,), (1401484684,), (1401484688,), (1401484693,), (1401484696,), (1401484720,), (1401484721,), (1401484722,), (1401484725,), (1401484727,), (1401484730,), (1401484746,), (1401484749,), (1401484751,), (1401484756,), (1401484757,), (1401484759,), (1401484763,), (1401484767,), (1401484788,), (1401484790,), (1401484793,), (1401484795,), (1401484798,), (1401484802,), (1401484828,), (1401484831,), (1401484832,), (1401484834,), (1401484865,), (1401484868,), (1401484870,), (1401484873,), (1401484876,), (1401484879,), (1401484886,), (1401484888,), (1401484890,), (1401484942,), (1401484943,), (1401484944,), (1401484946,), (1401484968,), (1401484970,), (1401484974,), (1401484976,), (1401485012,), (1401485013,), (1401485014,), (1401485015,), (1401485018,), (1401485020,), (1401485035,), (1401485036,), (1401485037,), (1401485039,), (1401485043,), (1401485047,), (1401485075,), (1401485071,), (1401485073,), (1401485098,), (1401485100,), (1401485101,), (1401485102,), (1401485120,), (1401485122,), (1401485124,), (1401485126,), (1401485149,), (1401485151,), (1401485154,), (1401485156,), (1401485159,), (1401485196,), (1401485202,), (1401485231,), (1401485232,), (1401485233,), (1401485235,), (1401485238,), (1401485239,), (1401485269,), (1401485270,), (1401485271,), (1401485273,), (1401485277,), (1401485281,), (1401485291,), (1401485293,), (1401485296,), (1401485336,), (1401485342,), (1401485343,), (1401485381,), (1401485382,), (1401485383,), (1401485385,), (1401485414,), (1401485416,), (1401485418,), (1401485420,), (1401485424,), (1401485425,), (1401485439,), (1401485440,), (1401485441,), (1401485442,), (1401485461,), (1401486018,), (1401486082,), (1401486115,), (1401486163,), (1401486450,), (1401486395,), (1401486434,), (1401486448,), (1401486565,), (1401486567,), (1401486568,), (1401486834,), (1401486863,), (1401486871,), (1401486874,), (1401486881,), (1401487407,), (1401487409,), (1401487411,), (1401487413,), (1401487443,), (1401487659,), (1401487660,), (1401487661,), (1401487688,), (1401487690,), (1401487691,), (1401487711,), (1401487715,), (1401487728,), (1401487731,), (1401487841,), (1401487871,), (1401487873,), (1401487875,), (1401487878,), (1401487897,), (1401487906,), (1401487908,), (1401487911,), (1401487915,), (1401487934,), (1401487936,), (1401487939,), (1401488021,), (1401488022,), (1401488024,), (1401488027,), (1401488365,), (1401488370,), (1401488374,), (1401488379,), (1401488640,), (1401488673,), (1401488695,), (1401488697,), (1401488699,), (1401488703,), (1401488712,), (1401488714,), (1401488716,), (1401488724,), (1401488725,), (1401488727,), (1401488731,), (1401488735,), (1401488753,), (1401488756,), (1401488757,), (1401488806,), (1401488793,), (1401488795,), (1401488797,), (1401488799,), (1401488803,), (1401488829,), (1401488832,), (1401488833,), (1401488836,), (1401488872,), (1401488873,), (1401488874,), (1401488876,), (1401488880,), (1401488885,), (1401488918,), (1401488921,), (1401488923,), (1401488925,), (1401488929,), (1401488933,), (1401489119,), (1401489134,), (1401489135,), (1401489142,), (1401489169,), (1401489170,), (1401489171,), (1401489173,), (1401489177,), (1401489209,), (1401489213,), (1401489215,), (1401489243,), (1401489244,), (1401489245,), (1401489246,), (1401489277,), (1401489285,), (1401489289,), (1401489292,), (1401489295,), (1401489298,), (1401489313,), (1401489317,), (1401489321,), (1401489352,), (1401489355,), (1401489378,), (1401489381,), (1401489383,), (1401489385,), (1401489388,), (1401489407,), (1401489409,), (1401489410,), (1401489412,), (1401489415,), (1401489427,), (1401489430,), (1401489433,), (1401489436,), (1401489468,), (1401489471,), (1401489507,), (1401489501,), (1401489505,), (1401489606,), (1401489715,), (1401489750,), (1401489786,), (1401489789,), (1401489791,), (1401489792,), (1401489820,), (1401489822,), (1401489843,), (1401489846,), (1401489848,), (1401489851,), (1401489893,), (1401489896,), (1401489898,), (1401489900,), (1401489904,), (1401490043,), (1401490044,), (1401490045,), (1401490071,), (1401490072,), (1401490073,), (1401490075,), (1401490079,), (1401490083,), (1401490097,), (1401490099,), (1401490101,), (1401490105,), (1401490109,), (1401490112,), (1401490159,), (1401490161,), (1401490580,), (1401490625,), (1401490627,), (1401490672,), (1401490675,), (1401490676,), (1401490678,), (1401490681,), (1401490713,), (1401491113,), (1401491145,), (1401491148,), (1401491151,), (1401491154,), (1401491159,), (1401491181,), (1401491185,), (1401491187,), (1401491189,), (1401491222,), (1401491223,), (1401491225,), (1401491228,), (1401491241,), (1401491276,), (1401491549,), (1401491552,), (1401491554,), (1401491557,), (1401491561,), (1401491580,), (1401491585,), (1401491587,), (1401491600,), (1401491602,), (1401491604,), (1401491643,), (1401491644,), (1401491647,), (1401491651,), (1401491655,), (1401491657,), (1401491690,), (1401491703,), (1401491741,), (1401491747,), (1401491764,), (1401491767,), (1401491771,), (1401491791,), (1401491794,), (1401491912,), (1401491948,), (1401492406,), (1401495152,), (1401495176,), (1401495179,), (1401495339,), (1401495365,), (1401495368,), (1401495388,), (1401495463,), (1401495523,), (1401495556,), (1401495601,), (1401495714,), (1401495721,), (1401495755,), (1401495788,), (1401495822,), (1401495901,), (1401495903,), (1401495976,), (1401495972,), (1401495974,), (1401495997,), (1401495999,), (1401496002,), (1401496005,), (1401496034,), (1401496035,), (1401496037,), (1401496039,), (1401496042,), (1401496220,), (1401496341,), (1401496371,), (1401496385,), (1401496391,), (1401496393,), (1401496413,), (1401496415,), (1401496417,), (1401496420,), (1401496424,), (1401496428,), (1401496440,), (1401496443,), (1401496446,), (1401496488,), (1401496491,), (1401496494,), (1401496499,), (1401496502,), (1401496507,), (1401496545,), (1401496550,), (1401496551,), (1401496553,), (1401496556,), (1401496630,), (1401496662,), (1401496695,), (1401496730,), (1401496850,), (1401496853,), (1401496872,), (1401496894,), (1401496991,), (1401496993,), (1401496995,), (1401496998,), (1401497001,), (1401497003,), (1401497012,), (1401497014,), (1401497016,), (1401497020,), (1401497021,), (1401497024,), (1401497062,), (1401497068,), (1401497071,), (1401497074,), (1401497107,), (1401497113,), (1401497117,), (1401497122,), (1401497126,), (1401497134,), (1401497160,), (1401497197,), (1401497246,), (1401497459,), (1401497389,), (1401497426,), (1401497899,), (1401497938,), (1401498004,), (1401498048,), (1401498070,), (1401498231,), (1401498235,), (1401498238,), (1401498243,), (1401498248,), (1401498436,), (1401498470,), (1401498505,), (1401498541,), (1401498577,), (1401498872,), (1401498874,), (1401498876,), (1401498879,), (1401499125,), (1401499149,), (1401499153,), (1401499156,), (1401499159,), (1401499162,), (1401499203,), (1401499205,), (1401499208,), (1401499210,), (1401499237,), (1401499240,), (1401499260,), (1401499277,), (1401499283,), (1401499291,), (1401499304,), (1401499307,), (1401499309,), (1401499311,), (1401499314,), (1401499466,), (1401499501,), (1401499534,), (1401499553,), (1401499580,), (1401499583,), (1401499586,), (1401499589,), (1401499594,), (1401499597,), (1401499615,), (1401499617,), (1401499619,), (1401499621,), (1401499678,), (1401499679,), (1401499682,), (1401499686,), (1401499690,), (1401499693,), (1401499707,), (1401499710,), (1401499717,), (1401499730,), (1401499732,), (1401499735,), (1401499739,), (1401499743,), (1401499745,), (1401499817,), (1401499820,), (1401499822,), (1401499824,), (1401499902,), (1401499885,), (1401499893,), (1401499900,), (1401499972,), (1401499975,), (1401499989,), (1401499997,), (1401500000,), (1401500242,), (1401500244,), (1401500245,), (1401500246,), (1401500266,), (1401500290,), (1401500435,), (1401500438,), (1401500440,), (1401500474,), (1401500482,), (1401500485,), (1401500488,), (1401500491,), (1401500494,), (1401500508,), (1401500510,), (1401500512,), (1401500514,), (1401500560,), (1401500561,), (1401500562,), (1401500564,), (1401500568,), (1401500584,), (1401500586,), (1401500588,), (1401500591,), (1401500595,), (1401500598,), (1401500636,), (1401500639,), (1401500641,), (1401500683,), (1401500686,), (1401500687,), (1401500688,), (1401500725,), (1401500727,), (1401500729,), (1401500732,), (1401500765,), (1401500768,), (1401500771,), (1401500776,), (1401500780,), (1401500821,), (1401500822,), (1401500823,), (1401500824,), (1401500826,), (1401500856,), (1401500857,), (1401500859,), (1401500862,), (1401500866,), (1401500902,), (1401500909,), (1401500968,), (1401500964,), (1401500966,), (1401500988,), (1401500991,), (1401500992,), (1401500994,), (1401501013,), (1401501015,), (1401501017,), (1401501019,), (1401501058,), (1401501059,), (1401501060,), (1401501062,), (1401501066,), (1401501083,), (1401501084,), (1401501085,), (1401501130,), (1401501132,), (1401501134,), (1401501138,), (1401501141,), (1401501143,), (1401501161,), (1401501163,), (1401501173,), (1401501175,), (1401501176,), (1401501206,), (1401501208,), (1401501210,), (1401501229,), (1401501232,), (1401501234,), (1401501267,), (1401501304,), (1401501305,), (1401501307,), (1401501309,), (1401501330,), (1401501331,), (1401501332,), (1401501334,), (1401501336,), (1401501374,), (1401501376,), (1401501377,), (1401501379,), (1401501546,), (1401501561,), (1401501593,), (1401501607,), (1401502658,), (1401502648,), (1401502696,), (1401502699,), (1401502701,), (1401502704,), (1401502816,), (1401502830,), (1401502837,), (1401502855,), (1401502858,), (1401502872,), (1401502873,), (1401502874,), (1401502876,), (1401502879,), (1401504644,), (1401504640,), (1401504642,), (1401505158,), (1401505446,), (1401505485,), (1401505516,), (1401505546,), (1401505579,), (1401506008,), (1401506081,), (1401506146,), (1401506183,), (1401506240,), (1401506443,), (1401506447,), (1401506473,), (1401506675,), (1401506676,), (1401506701,), (1401506703,), (1401506704,), (1401506725,), (1401506727,), (1401506729,), (1401506732,), (1401506736,), (1401506739,), (1401506781,), (1401506783,), (1401506785,), (1401506787,), (1401506790,), (1401506801,), (1401506853,), (1401506883,), (1401506912,), (1401506944,), (1401506954,), (1401506955,), (1401506962,), (1401506964,), (1401506966,), (1401506972,), (1401506973,), (1401506974,), (1401506977,), (1401506979,), (1401507003,), (1401507006,), (1401507010,), (1401507015,), (1401507019,), (1401507024,), (1401507033,), (1401507034,), (1401507035,), (1401507037,), (1401507039,), (1401507043,), (1401507047,), (1401507054,), (1401507057,), (1401507060,), (1401507070,), (1401507072,), (1401507073,), (1401507074,), (1401507078,), (1401507079,), (1401507163,), (1401507118,), (1401507125,), (1401507126,), (1401507132,), (1401507153,), (1401507358,), (1401507361,), (1401507362,), (1401507364,), (1401507493,), (1401507496,), (1401507498,), (1401507499,), (1401507531,), (1401507546,), (1401507589,), (1401507590,), (1401507592,), (1401507596,), (1401507600,), (1401507603,), (1401507627,), (1401507658,), (1401507692,), (1401507943,), (1401507944,), (1401507947,), (1401507948,), (1401507952,), (1401508007,), (1401508009,), (1401508010,), (1401508026,), (1401508030,), (1401508032,), (1401508036,), (1401508041,), (1401508047,), (1401508073,), (1401508079,), (1401508083,), (1401508084,), (1401508153,), (1401508155,), (1401508156,), (1401508189,), (1401508190,), (1401508191,), (1401508193,), (1401508197,), (1401508201,), (1401508213,), (1401508215,), (1401508218,), (1401508271,), (1401508273,), (1401508277,), (1401508304,), (1401508305,), (1401508306,), (1401508308,), (1401508312,), (1401508349,), (1401508350,), (1401508351,), (1401508361,), (1401508398,), (1401508416,), (1401508506,), (1401508504,), (1401508560,), (1401508562,), (1401508563,), (1401508564,), (1401508567,), (1401508584,), (1401508585,), (1401508586,), (1401508588,), (1401508592,), (1401508643,), (1401508645,), (1401508648,), (1401508652,), (1401508721,), (1401508765,), (1401508768,), (1401508772,), (1401508815,), (1401508817,), (1401508819,), (1401508821,), (1401508824,), (1401508827,), (1401508854,), (1401508857,), (1401508860,), (1401508922,), (1401509018,), (1401509085,), (1401509104,), (1401509106,), (1401509252,), (1401509263,), (1401509345,), (1401509348,), (1401509350,), (1401509354,), (1401509357,), (1401509390,), (1401509406,), (1401509411,), (1401509414,), (1401509418,), (1401509433,), (1401509435,), (1401509437,), (1401509439,), (1401509478,), (1401509474,), (1401509476,), (1401509504,), (1401509506,), (1401509508,), (1401509512,), (1401509516,), (1401509541,), (1401509542,), (1401509544,), (1401509546,), (1401509550,), (1401509553,), (1401509579,), (1401509580,), (1401509581,), (1401509582,), (1401509585,), (1401509586,), (1401509611,), (1401509612,), (1401509613,), (1401509637,), (1401509640,), (1401509644,), (1401509647,), (1401509650,), (1401509653,), (1401509681,), (1401509683,), (1401509684,), (1401509703,), (1401509706,), (1401509739,), (1401509740,), (1401509742,), (1401509772,), (1401509812,), (1401509847,), (1401509954,), (1401509956,), (1401509957,), (1401510004,), (1401510006,), (1401510028,), (1401510033,), (1401510035,), (1401510038,), (1401510133,), (1401510135,), (1401510138,), (1401510140,), (1401510143,), (1401510146,), (1401510179,), (1401510182,), (1401510184,), (1401510187,), (1401510190,), (1401510192,), (1401510198,), (1401510199,), (1401510202,), (1401510205,), (1401510207,), (1401510210,), (1401510219,), (1401510220,), (1401510225,), (1401510226,), (1401510233,), (1401510235,), (1401510266,), (1401510268,), (1401510309,), (1401510314,), (1401510342,), (1401510346,), (1401510400,), (1401510418,), (1401510426,), (1401510428,), (1401510432,), (1401510719,), (1401510757,), (1401510793,), (1401510830,), (1401510866,), (1401510900,), (1401511535,), (1401511353,), (1401511421,), (1401511487,), (1401511666,), (1401511693,), (1401511737,), (1401511758,), (1401511762,), (1401511796,), (1401511902,), (1401511905,), (1401511909,), (1401511913,), (1401511916,), (1401511917,), (1401511931,), (1401511933,), (1401511936,), (1401511940,), (1401511943,), (1401511949,), (1401511952,), (1401511954,), (1401511957,), (1401511969,), (1401511971,), (1401511973,), (1401511975,), (1401511979,), (1401511983,), (1401512194,), (1401512197,), (1401512235,), (1401512268,), (1401512314,), (1401512317,), (1401512319,), (1401512321,), (1401512324,), (1401512326,), (1401512372,), (1401512379,), (1401512381,), (1401512398,), (1401512432,), (1401512469,), (1401512543,), (1401512545,), (1401512547,), (1401512573,), (1401512576,), (1401512578,), (1401512585,), (1401512596,), (1401512607,), (1401512633,), (1401512668,), (1401512701,), (1401512738,), (1401512762,), (1401512965,), (1401513055,), (1401513273,), (1401513277,), (1401513309,), (1401513524,), (1401513559,), (1401513593,), (1401513618,), (1401513624,), (1401513628,), (1401513836,), (1401513869,), (1401513963,), (1401513974,), (1401514050,), (1401514082,), (1401514117,), (1401513769,), (1401513782,), (1401514177,), (1401514242,), (1401514245,), (1401514247,), (1401514266,), (1401514268,), (1401514270,), (1401514273,), (1401514293,), (1401514297,), (1401514301,), (1401514305,), (1401514309,), (1401514547,), (1401514582,), (1401514594,), (1401514598,), (1401514622,), (1401514625,), (1401514682,), (1401514768,), (1401514854,), (1401515032,), (1401515034,), (1401515037,), (1401515040,), (1401515270,), (1401515303,), (1401515334,), (1401515346,), (1401515491,), (1401515513,), (1401515515,), (1401515518,), (1401515521,), (1401515546,), (1401515550,), (1401515554,), (1401515558,), (1401515561,), (1401515564,), (1401515580,), (1401515589,), (1401515592,), (1401515595,), (1401515626,), (1401515628,), (1401515630,), (1401515632,), (1401515635,), (1401515657,), (1401515659,), (1401515661,), (1401515662,), (1401515665,), (1401515688,), (1401515690,), (1401515693,), (1401515722,), (1401515717,), (1401515718,), (1401515720,), (1401515748,), (1401515752,), (1401515755,), (1401515758,), (1401515761,), (1401515778,), (1401515780,), (1401515783,), (1401515786,), (1401515789,), (1401515816,), (1401515826,), (1401515827,), (1401515849,), (1401515851,), (1401515917,), (1401515921,), (1401515924,), (1401515929,), (1401515943,), (1401515967,), (1401515970,), (1401515972,), (1401515997,), (1401515999,), (1401516001,), (1401516004,), (1401516023,), (1401516026,), (1401516029,), (1401516119,), (1401516122,), (1401516124,), (1401516126,), (1401516368,), (1401517762,), (1401517609,), (1401518001,), (1401518004,), (1401518007,), (1401518010,), (1401518017,), (1401518068,), (1401518071,), (1401518082,), (1401518087,), (1401518242,), (1401518306,), (1401518549,), (1401518581,), (1401518611,), (1401518628,), (1401518745,), (1401518763,), (1401518768,), (1401519006,), (1401518912,), (1401518946,), (1401518984,), (1401519129,), (1401519161,), (1401519192,), (1401519245,), (1401519296,), (1401519334,), (1401519410,), (1401519412,), (1401519415,), (1401519418,), (1401519473,), (1401519476,), (1401519518,), (1401519611,), (1401520064,), (1401520091,), (1401520093,), (1401520095,), (1401520138,), (1401520141,), (1401520144,), (1401520147,), (1401520150,), (1401520173,), (1401520176,), (1401520179,), (1401520204,), (1401520207,), (1401520210,), (1401520257,), (1401520259,), (1401520261,), (1401520279,), (1401520288,), (1401520290,), (1401520469,), (1401520467,), (1401520510,), (1401520512,), (1401520514,), (1401520517,), (1401520521,), (1401520537,), (1401520540,), (1401520563,), (1401520564,), (1401520566,), (1401520568,), (1401520571,), (1401520597,), (1401520599,), (1401520601,), (1401520604,), (1401520608,), (1401520642,), (1401520651,), (1401520671,), (1401520677,), (1401520702,), (1401520706,), (1401520709,), (1401520712,), (1401520754,), (1401520758,), (1401520761,), (1401520763,), (1401520767,), (1401520770,), (1401520788,), (1401520789,), (1401520791,), (1401520794,), (1401520823,), (1401520826,), (1401520830,), (1401520832,), (1401520863,), (1401520864,), (1401520866,), (1401520868,), (1401520872,), (1401520875,), (1401520903,), (1401520909,), (1401520911,), (1401520914,), (1401520939,), (1401520941,), (1401520944,), (1401520947,), (1401520951,), (1401520955,), (1401521005,), (1401520995,), (1401520998,), (1401521000,), (1401521002,), (1401521026,), (1401521030,), (1401521034,), (1401521040,), (1401521062,), (1401521064,), (1401521066,), (1401521068,), (1401521072,), (1401521100,), (1401521101,), (1401521102,), (1401521103,), (1401521105,), (1401521137,), (1401521138,), (1401521139,), (1401521141,), (1401521145,), (1401521163,), (1401521166,), (1401521169,), (1401521172,), (1401521177,), (1401521216,), (1401521219,), (1401521222,), (1401521225,), (1401521244,), (1401521247,), (1401521249,), (1401521251,), (1401521254,), (1401521257,), (1401521352,), (1401521354,), (1401521360,), (1401521363,), (1401521391,), (1401521393,), (1401521395,), (1401521398,), (1401521402,), (1401521433,), (1401521436,), (1401521439,), (1401521442,), (1401521446,), (1401521462,), (1401521465,), (1401521506,), (1401521508,), (1401521510,), (1401521599,), (1401522104,), (1401522106,), (1401522108,), (1401522110,), (1401522129,), (1401522131,), (1401522132,), (1401522133,), (1401522136,), (1401522139,), (1401522172,), (1401522176,), (1401522177,), (1401522179,), (1401522223,), (1401522225,), (1401522228,), (1401522233,), (1401522238,), (1401522242,), (1401522273,), (1401522275,), (1401522277,), (1401522279,), (1401522309,), (1401522314,), (1401522316,), (1401522317,), (1401522331,), (1401522348,), (1401522399,), (1401522385,), (1401522387,), (1401522390,), (1401522396,), (1401522421,), (1401522424,), (1401522427,), (1401522430,), (1401522454,), (1401522486,), (1401522611,), (1401522614,), (1401522617,), (1401522620,), (1401522624,), (1401522810,), (1401522828,), (1401522829,), (1401522831,), (1401522834,), (1401522837,), (1401522949,), (1401522985,), (1401523022,), (1401523056,), (1401523184,), (1401523187,), (1401523189,), (1401523192,), (1401523254,), (1401523256,), (1401523264,), (1401523286,), (1401523293,), (1401523310,), (1401523312,), (1401523315,), (1401523318,), (1401523337,), (1401523352,), (1401523353,), (1401523355,), (1401523357,), (1401523360,), (1401523493,), (1401523525,), (1401523557,), (1401523721,), (1401523724,), (1401523726,), (1401523729,), (1401523733,), (1401523737,), (1401523763,), (1401523771,), (1401523772,), (1401523809,), (1401523810,), (1401523811,), (1401523813,), (1401523817,), (1401523829,), (1401523831,), (1401523833,), (1401523835,), (1401523853,), (1401523912,), (1401523915,), (1401523917,), (1401523919,), (1401523927,), (1401523961,), (1401523958,), (1401523959,), (1401523960,), (1401523985,), (1401523986,), (1401523987,), (1401523997,), (1401524044,), (1401524113,), (1401524117,), (1401524121,), (1401524125,), (1401524132,), (1401524153,), (1401524155,), (1401524160,), (1401524256,), (1401524331,), (1401524345,), (1401524346,), (1401524347,), (1401524349,), (1401524353,), (1401524390,), (1401524393,), (1401524405,), (1401524424,), (1401524433,), (1401524436,), (1401524459,), (1401524461,), (1401524462,), (1401524463,), (1401524483,), (1401524487,), (1401524488,), (1401524490,), (1401524494,), (1401524540,), (1401524572,), (1401524576,), (1401524584,), (1401524588,), (1401524593,), (1401524690,), (1401524692,), (1401524694,), (1401524696,), (1401524794,), (1401524803,), (1401524811,), (1401524813,), (1401524816,), (1401524819,), (1401524877,), (1401524878,), (1401524879,), (1401524898,), (1401524961,), (1401525480,), (1401525503,), (1401525506,), (1401525508,), (1401525511,), (1401525513,), (1401525730,), (1401525773,), (1401525789,), (1401525826,), (1401525831,), (1401525842,), (1401525844,), (1401525862,), (1401525873,), (1401526108,), (1401526135,), (1401526180,), (1401526213,), (1401526327,), (1401526362,), (1401526395,), (1401526070,), (1401526097,), (1401526548,), (1401526556,), (1401526586,), (1401526592,), (1401526599,), (1401526608,), (1401526692,), (1401526693,), (1401526694,), (1401526696,), (1401526753,), (1401526755,), (1401526757,), (1401526761,), (1401526766,), (1401526793,), (1401526795,), (1401526796,), (1401526799,), (1401526813,), (1401526817,), (1401526821,), (1401526826,), (1401526831,), (1401526881,), (1401526883,), (1401527130,), (1401527150,), (1401527152,), (1401527153,), (1401527154,), (1401527157,), (1401527219,), (1401527220,), (1401527221,), (1401527223,), (1401527227,), (1401527843,), (1401527903,), (1401527941,), (1401527979,), (1401528011,), (1401528070,), (1401528278,), (1401528312,), (1401528367,), (1401528424,), (1401528551,), (1401528448,), (1401528462,), (1401528497,), (1401528531,), (1401528734,), (1401528767,), (1401528820,), (1401528945,), (1401529060,), (1401529107,), (1401529542,), (1401529606,), (1401529653,), (1401530113,), (1401530115,), (1401530116,), (1401530117,), (1401530119,), (1401530302,), (1401530335,), (1401530370,), (1401530385,), (1401530662,), (1401530703,), (1401530739,), (1401530777,), (1401530814,), (1401530850,), (1401531193,), (1401531225,), (1401531261,), (1401531312,), (1401531876,), (1401531995,), (1401532116,), (1401532170,), (1401532235,), (1401532302,), (1401532897,), (1401532958,), (1401532974,), (1401532976,), (1401532980,), (1401533390,), (1401533423,), (1401533454,), (1401533510,), (1401533581,), (1401533645,), (1401534888,), (1401539157,), (1401539496,), (1401539497,), (1401539498,), (1401539500,), (1401539503,), (1401539569,), (1401539572,), (1401539605,), (1401539623,), (1401539637,), (1401539642,), (1401539690,), (1401539714,), (1401539722,), (1401539729,), (1401539888,), (1401539924,), (1401539954,), (1401539985,), (1401540062,), (1401540163,), (1401540170,), (1401540173,), (1401540175,), (1401540179,), (1401540191,), (1401540328,), (1401540348,), (1401540353,), (1401540580,), (1401540582,), (1401540585,), (1401540587,), (1401540591,), (1401540592,), (1401540647,), (1401540637,), (1401540645,), (1401540646,), (1401540667,), (1401540668,), (1401540669,), (1401540671,), (1401540675,), (1401540705,), (1401540713,), (1401540715,), (1401540717,), (1401540721,), (1401540757,), (1401540759,), (1401540760,), (1401540761,), (1401540840,), (1401540874,), (1401540907,), (1401540943,), (1401540983,), (1401541021,), (1401541129,), (1401541131,), (1401541134,), (1401541139,), (1401541178,), (1401541181,), (1401541184,), (1401541189,), (1401541193,), (1401541206,), (1401541208,), (1401541210,), (1401541213,), (1401541217,), (1401541221,), (1401541240,), (1401541244,), (1401541247,), (1401541249,), (1401541251,), (1401541262,), (1401541263,), (1401541267,), (1401541268,), (1401541272,), (1401541273,), (1401541277,), (1401541278,), (1401541299,), (1401541302,), (1401541305,), (1401541308,), (1401541312,), (1401541314,), (1401541328,), (1401541341,), (1401541349,), (1401541352,), (1401541356,), (1401541371,), (1401541374,), (1401541376,), (1401541378,), (1401541380,), (1401541382,), (1401541440,), (1401541442,), (1401541445,), (1401541461,), (1401541512,), (1401541516,), (1401541518,), (1401541520,), (1401541523,), (1401541527,), (1401541556,), (1401541560,), (1401541561,), (1401541563,), (1401541567,), (1401541571,), (1401541604,), (1401541600,), (1401541601,), (1401541602,), (1401541644,), (1401541646,), (1401541648,), (1401541650,), (1401541654,), (1401541657,), (1401541672,), (1401541674,), (1401541675,), (1401541676,), (1401541709,), (1401541715,), (1401541724,), (1401541727,), (1401541731,), (1401541733,), (1401541750,), (1401541756,), (1401541760,), (1401541774,), (1401541816,), (1401541817,), (1401541819,), (1401541821,), (1401541824,), (1401541826,), (1401541845,), (1401541847,), (1401541848,), (1401541849,), (1401541851,), (1401541854,), (1401541857,), (1401541861,), (1401541865,), (1401541880,), (1401541881,), (1401541882,), (1401541904,), (1401541906,), (1401541908,), (1401541911,), (1401541914,), (1401541918,), (1401541953,), (1401541964,), (1401541966,), (1401541968,), (1401541971,), (1401541974,), (1401541993,), (1401541995,), (1401541997,), (1401541998,), (1401542051,), (1401542059,), (1401542060,), (1401542103,), (1401542105,), (1401542136,), (1401542177,), (1401542179,), (1401542212,), (1401542204,), (1401542206,), (1401542208,), (1401542254,), (1401542256,), (1401542282,), (1401542411,), (1401542412,), (1401542413,), (1401542450,), (1401542452,), (1401542454,), (1401542456,), (1401542459,), (1401542475,), (1401542477,), (1401542478,), (1401542479,), (1401542500,), (1401542501,), (1401542502,), (1401542504,), (1401542549,), (1401542551,), (1401542553,), (1401542555,), (1401542558,), (1401542559,), (1401542573,), (1401542574,), (1401542575,), (1401542576,), (1401542578,), (1401542609,), (1401542610,), (1401542611,), (1401542613,), (1401542661,), (1401542663,), (1401542665,), (1401542667,), (1401542670,), (1401542720,), (1401542722,), (1401542723,), (1401542724,), (1401542727,), (1401542895,), (1401542896,), (1401542897,), (1401542899,), (1401542965,), (1401542967,), (1401542969,), (1401542971,), (1401542975,), (1401543014,), (1401543017,), (1401543020,), (1401543023,), (1401543026,), (1401543189,), (1401543242,), (1401544172,), (1401545265,), (1401545351,), (1401545440,), (1401543924,), (1401543962,), (1401544004,), (1401544057,), (1401544127,), (1401544520,), (1401544521,), (1401544524,), (1401544527,), (1401544529,), (1401544532,), (1401544648,), (1401544649,), (1401544660,), (1401544661,), (1401544667,), (1401544668,), (1401544677,), (1401544679,), (1401544681,), (1401544682,), (1401544694,), (1401544697,), (1401544793,), (1401544825,), (1401544839,), (1401544840,), (1401544842,), (1401544859,), (1401545067,), (1401545159,), (1401545545,), (1401545546,), (1401545548,), (1401545552,), (1401545556,), (1401545770,), (1401545772,), (1401545774,), (1401545849,), (1401545851,), (1401545852,), (1401545853,), (1401545856,), (1401545888,), (1401545889,), (1401545890,), (1401545896,), (1401545900,), (1401545911,), (1401545964,), (1401545969,), (1401546015,), (1401546059,), (1401546082,), (1401546143,), (1401546146,), (1401546147,), (1401546148,), (1401546151,), (1401546152,), (1401546174,), (1401546175,), (1401546176,), (1401546178,), (1401546216,), (1401546218,), (1401546220,), (1401546222,), (1401546370,), (1401546389,), (1401546390,), (1401546391,), (1401546393,), (1401546396,), (1401546437,), (1401546446,), (1401546454,), (1401546456,), (1401546605,), (1401546639,), (1401546667,), (1401546701,), (1401546740,), (1401546756,), (1401546884,), (1401546913,), (1401546917,), (1401546923,), (1401546924,), (1401546925,), (1401546926,), (1401546872,), (1401546876,), (1401546878,), (1401546931,), (1401546933,), (1401546937,), (1401546940,), (1401546943,), (1401546946,), (1401546970,), (1401546978,), (1401546983,), (1401546984,), (1401547012,), (1401547013,), (1401547560,), (1401547942,), (1401548094,), (1401548090,), (1401548092,), (1401548093,), (1401548122,), (1401548132,), (1401548133,), (1401548276,), (1401548304,), (1401548305,), (1401548306,), (1401548326,), (1401548328,), (1401548330,), (1401548332,), (1401548355,), (1401548357,), (1401548409,), (1401548411,), (1401548412,), (1401548511,), (1401548507,), (1401548509,), (1401548529,), (1401548548,), (1401548549,), (1401548566,), (1401548568,), (1401548592,), (1401548594,), (1401548846,), (1401549451,), (1401552046,), (1401552049,), (1401552070,), (1401552073,), (1401552075,), (1401552100,), (1401552102,), (1401552104,), (1401552107,), (1401552129,), (1401552135,), (1401552137,), (1401552149,), (1401552157,), (1401552161,), (1401552260,), (1401552263,), (1401552266,), (1401552269,), (1401552298,), (1401552301,), (1401552303,), (1401552305,), (1401552308,), (1401552311,), (1401552325,), (1401552327,), (1401552329,), (1401552332,), (1401552336,), (1401552356,), (1401552358,), (1401552361,), (1401552384,), (1401552423,), (1401552467,), (1401552507,), (1401552546,), (1401552588,), (1401552620,), (1401552640,), (1401552642,), (1401552644,), (1401552679,), (1401552680,), (1401554680,), (1401554545,), (1401554615,), (1401555157,), (1401555535,), (1401555561,), (1401555585,), (1401555587,), (1401555611,), (1401555636,), (1401555658,), (1401555661,), (1401555663,), (1401555703,), (1401555727,), (1401555729,), (1401555732,), (1401555734,), (1401555763,), (1401555750,), (1401555754,), (1401555757,), (1401555760,), (1401555775,), (1401555777,), (1401555780,), (1401555782,), (1401555786,), (1401555806,), (1401555809,), (1401555811,), (1401555828,), (1401555831,), (1401555834,), (1401555839,), (1401555844,), (1401555848,), (1401555858,), (1401555860,), (1401555862,), (1401555864,), (1401555868,), (1401555885,), (1401555888,), (1401555890,), (1401555892,), (1401555919,), (1401555921,), (1401555922,), (1401555923,), (1401555926,), (1401555946,), (1401555948,), (1401555949,), (1401555951,), (1401555953,), (1401555956,), (1401555984,), (1401555986,), (1401555990,), (1401555994,), (1401555997,), (1401555999,), (1401556006,), (1401556007,), (1401556008,), (1401556011,), (1401556014,), (1401556017,), (1401556027,), (1401556030,), (1401556033,), (1401556040,), (1401556043,), (1401556046,), (1401556059,), (1401556061,), (1401556064,), (1401556066,), (1401556069,), (1401556071,), (1401556075,), (1401556085,), (1401556088,), (1401556090,), (1401556092,), (1401556095,), (1401556097,), (1401556132,), (1401556134,), (1401556136,), (1401556139,), (1401556156,), (1401556159,), (1401556162,), (1401556165,), (1401556169,), (1401556173,), (1401556192,), (1401556193,), (1401556194,), (1401556195,), (1401556233,), (1401556217,), (1401556219,), (1401556221,), (1401556226,), (1401556230,), (1401556268,), (1401556270,), (1401556272,), (1401556274,), (1401556289,), (1401556292,), (1401556295,), (1401556298,), (1401556302,), (1401556328,), (1401556334,), (1401556336,), (1401556339,), (1401556341,), (1401556354,), (1401556356,), (1401556358,), (1401556361,), (1401556365,), (1401556369,), (1401556403,), (1401556407,), (1401556410,), (1401556413,), (1401556417,), (1401556433,), (1401556435,), (1401556438,), (1401556441,), (1401556445,), (1401556448,), (1401556475,), (1401556477,), (1401556479,), (1401556481,), (1401556484,), (1401556486,), (1401556524,), (1401556526,), (1401556528,), (1401556531,), (1401556682,), (1401556684,), (1401556686,), (1401556689,), (1401556693,), (1401556707,), (1401556708,), (1401556711,), (1401556714,), (1401556718,), (1401556758,), (1401556761,), (1401556763,), (1401556765,), (1401556768,), (1401556769,), (1401556785,), (1401556787,), (1401556790,), (1401556794,), (1401556798,), (1401556801,), (1401556818,), (1401556824,), (1401556825,), (1401556830,), (1401556838,), (1401556845,), (1401556848,), (1401556851,), (1401556853,), (1401556855,), (1401556868,), (1401556872,), (1401556875,), (1401556879,), (1401556946,), (1401556910,), (1401556911,), (1401556913,), (1401556925,), (1401556935,), (1401556961,), (1401556964,), (1401556967,), (1401556970,), (1401556996,), (1401556999,), (1401557002,), (1401557003,), (1401557005,), (1401557007,), (1401557025,), (1401557027,), (1401557029,), (1401557061,), (1401557064,), (1401557067,), (1401557069,), (1401557072,), (1401557168,), (1401557170,), (1401557172,), (1401557174,), (1401557177,), (1401557179,), (1401557305,), (1401557307,), (1401557309,), (1401557544,), (1401557579,), (1401557613,), (1401557655,), (1401557658,), (1401557665,), (1401557673,), (1401557679,), (1401557689,), (1401557696,), (1401557697,), (1401557698,), (1401557701,), (1401557721,), (1401557723,), (1401557726,), (1401557731,), (1401557736,), (1401557741,), (1401557762,), (1401557765,), (1401557767,), (1401557769,), (1401557773,), (1401557786,), (1401557787,), (1401557788,), (1401557789,), (1401557792,), (1401557795,), (1401557816,), (1401557818,), (1401557820,), (1401557823,), (1401558329,), (1401558411,), (1401558481,), (1401558548,), (1401558614,), (1401558679,), (1401559131,), (1401558958,), (1401558994,), (1401559030,), (1401559065,), (1401559389,), (1401559520,), (1401559558,), (1401559597,), (1401559632,), (1401560181,), (1401560216,), (1401560266,), (1401560325,), (1401560362,), (1401560412,), (1401560699,), (1401560702,), (1401560707,), (1401560715,), (1401560725,), (1401560900,), (1401560936,), (1401560970,), (1401560984,), (1401560988,), (1401561002,), (1401561073,), (1401561076,), (1401561077,), (1401561079,), (1401561081,), (1401561084,), (1401561093,), (1401561094,), (1401561096,), (1401561097,), (1401561112,), (1401561117,), (1401561121,), (1401561126,), (1401561129,), (1401561133,), (1401561144,), (1401561147,), (1401561150,), (1401561157,), (1401561170,), (1401561199,), (1401561201,), (1401561203,), (1401561205,), (1401561208,), (1401561211,), (1401561229,), (1401561242,), (1401561248,), (1401561251,), (1401561304,), (1401561314,), (1401561317,), (1401561319,), (1401561321,), (1401561323,), (1401561357,), (1401561376,), (1401561378,), (1401561380,), (1401561415,), (1401561446,), (1401561477,), (1401561513,), (1401561554,), (1401561589,), (1401561620,), (1401561623,), (1401561626,), (1401561662,), (1401561664,), (1401561667,), (1401561669,), (1401561672,), (1401561739,), (1401561750,), (1401561752,), (1401561753,), (1401561756,), (1401561766,), (1401561700,), (1401561702,), (1401561717,), (1401561721,), (1401561736,), (1401561886,), (1401561923,), (1401561940,), (1401561941,), (1401562021,), (1401562043,), (1401562047,), (1401562049,), (1401562052,), (1401562054,), (1401562149,), (1401562152,), (1401562156,), (1401562172,), (1401562174,), (1401562176,), (1401562178,), (1401562182,), (1401562185,), (1401562203,), (1401562205,), (1401562206,), (1401562207,), (1401562257,), (1401562261,), (1401562263,), (1401562265,), (1401562268,), (1401562271,), (1401562304,), (1401562307,), (1401562310,), (1401562320,), (1401562354,), (1401562388,), (1401562474,), (1401562477,), (1401562480,), (1401562483,), (1401562503,), (1401562505,), (1401562507,), (1401562510,), (1401562513,), (1401562516,), (1401562525,), (1401562530,), (1401562534,), (1401562538,), (1401562554,), (1401562557,), (1401562560,), (1401562563,), (1401562576,), (1401562579,), (1401562581,), (1401562583,), (1401562587,), (1401562589,), (1401562627,), (1401562629,), (1401562659,), (1401562747,), (1401562840,), (1401562925,), (1401562933,), (1401562934,), (1401562936,), (1401562940,), (1401562944,), (1401562992,), (1401563001,), (1401563003,), (1401563013,), (1401563048,), (1401563087,), (1401563123,), (1401563119,), (1401563121,), (1401563122,), (1401563164,), (1401563165,), (1401563166,), (1401563168,), (1401563172,), (1401563175,), (1401563197,), (1401563200,), (1401563201,), (1401563203,), (1401563207,), (1401563229,), (1401563230,), (1401563231,), (1401563232,), (1401563235,), (1401563238,), (1401563253,), (1401563254,), (1401563255,), (1401563257,), (1401563298,), (1401563299,), (1401563300,), (1401563302,), (1401563306,), (1401563310,), (1401563334,), (1401563336,), (1401563338,), (1401563372,), (1401563378,), (1401563379,), (1401563380,), (1401563382,), (1401563385,), (1401563422,), (1401563423,), (1401563424,), (1401563426,), (1401563656,), (1401563658,), (1401563660,), (1401563662,), (1401563666,), (1401563670,), (1401563682,), (1401563684,), (1401563685,), (1401566640,), (1401567524,), (1401567525,), (1401567526,), (1401567528,), (1401567534,), (1401567721,), (1401568119,), (1401568315,), (1401568316,), (1401568318,), (1401568346,), (1401568396,), (1401568403,), (1401568408,), (1401568410,), (1401568413,), (1401568415,), (1401568509,), (1401568547,), (1401568586,), (1401568622,), (1401568793,), (1401568796,), (1401568798,), (1401568801,), (1401568805,), (1401568965,), (1401568967,), (1401568968,), (1401568970,), (1401568971,), (1401568973,), (1401568987,), (1401568990,), (1401568992,), (1401569056,), (1401569057,), (1401569059,), (1401569091,), (1401569129,), (1401569131,), (1401569134,), (1401569135,), (1401569139,), (1401569174,), (1401569176,), (1401569177,), (1401569192,), (1401569204,), (1401569205,), (1401569211,), (1401569256,), (1401569257,), (1401569258,), (1401569260,), (1401569263,), (1401569266,), (1401569291,), (1401569293,), (1401569294,), (1401569296,), (1401569321,), (1401569323,), (1401569329,), (1401569330,), (1401569332,), (1401569457,), (1401569452,), (1401569453,), (1401569454,), (1401569455,), (1401569617,), (1401569619,), (1401569642,), (1401569643,), (1401569644,), (1401569646,), (1401569650,), (1401569653,), (1401569686,), (1401569688,), (1401569691,), (1401569693,), (1401569697,), (1401569713,), (1401569715,), (1401569716,), (1401569717,), (1401569738,), (1401569739,), (1401569741,), (1401569744,), (1401569748,), (1401569752,), (1401569762,), (1401569763,), (1401569764,), (1401569765,), (1401569769,), (1401569772,), (1401569882,), (1401569884,), (1401569885,), (1401569886,), (1401569909,), (1401569910,), (1401569911,), (1401569938,), (1401569941,), (1401569945,), (1401569948,), (1401570016,), (1401570019,), (1401570021,), (1401570024,), (1401570027,), (1401570173,), (1401570177,), (1401570208,), (1401570245,), (1401570280,), (1401570304,), (1401570307,), (1401570309,), (1401570311,), (1401570336,), (1401570343,), (1401570748,), (1401570742,), (1401570918,), (1401570919,), (1401570920,), (1401570922,), (1401570926,), (1401570948,), (1401570950,), (1401570952,), (1401570971,), (1401570973,), (1401570974,), (1401570975,), (1401571009,), (1401571010,), (1401571011,), (1401571033,), (1401571054,), (1401571055,), (1401571058,), (1401571060,), (1401571064,), (1401571094,), (1401571096,), (1401571097,), (1401571098,), (1401571101,), (1401571117,), (1401571118,), (1401571119,), (1401571197,), (1401571199,), (1401571201,), (1401571203,), (1401571206,), (1401571209,), (1401571224,), (1401571226,), (1401571227,), (1401571228,), (1401571231,), (1401571233,), (1401571264,), (1401571266,), (1401571284,), (1401571287,), (1401571288,), (1401571290,), (1401571294,), (1401571310,), (1401571312,), (1401571313,), (1401571314,), (1401571317,), (1401571320,), (1401571661,), (1401571751,), (1401571817,), (1401571882,), (1401572835,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29122025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29766117]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] map_info['map_portfolio_photo'] : {29766117: [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501]} final : True mtd_id 4302 list_pids : [1401490580, 1401490161, 1401490159, 1401490112, 1401490109, 1401490105, 1401490101, 1401490099, 1401490097, 1401490083, 1401490079, 1401490075, 1401490073, 1401490072, 1401490071, 1401490045, 1401490044, 1401490043, 1401489904, 1401489900, 1401489898, 1401489896, 1401489893, 1401489851, 1401489848, 1401489846, 1401489843, 1401489822, 1401489820, 1401489792, 1401489791, 1401489789, 1401489786, 1401489750, 1401489715, 1401489606, 1401489505, 1401489501] Looping around the photos to save general results len do output : 1 /29766117Didn'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, '4286609') ('4302', '29766117', '1401490580', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609') ('4302', None, None, None, None, None, None, None, '4286609') ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '29766117', 'None', None, None, None, None, '4286609'), ('4302', '29766117', '1401490580', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490161', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490159', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490112', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490109', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490105', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490101', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490099', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490097', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490083', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490079', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490075', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490073', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490072', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490071', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490045', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490044', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401490043', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489904', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489900', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489898', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489896', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489893', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489851', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489848', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489846', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489843', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489822', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489820', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489792', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489791', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489789', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489786', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489750', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489715', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489606', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489505', None, None, None, None, None, '4286609'), ('4302', '29766117', '1401489501', None, None, None, None, None, '4286609')] time used for this insertion : 0.02022576332092285 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.353132724761963 time spend to save output : 0.020596981048583984 total time spend for step 5 : 6.373729705810547 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 (4286609) 3.27user 2.35system 0:23.69elapsed 23%CPU (0avgtext+0avgdata 170032maxresident)k 936inputs+35928outputs (7major+92533minor)pagefaults 0swaps